/*
dummy_cam_0.2.c
■環境設定を行います。
sudo apt-get update
sudo apt-get install libgstrtspserver-1.0-dev
export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:$PKG_CONFIG_PATH
"192.168.1.11.mp4"というmp4ファイルを用意しておいて下さい。
■プログラムをコンパイルして実行するには、以下のコマンドを使用します:
gcc -o dummy_cam_0.2 dummy_cam_0.2.c `pkg-config --cflags --libs gstreamer-1.0 gstreamer-rtsp-server-1.0`
./dummy_cam_0.2 -r rtsp://127.0.0.1:8554/test -f 192.168.1.11.mp4
■また、ヘルプメッセージを表示するには、以下のコマンドを使用します:
./dummy_cam_0.2 -h
■稼動確認環境
(車上) 192.168.101.30
cam@cam-desktop:~/cpp/src$ ./dummy_cam_0.2
cam@cam-desktop:~/cpp/src$ ./abc_vtp_0.1 -i 192.168.101.10 -p 38089 -r rtsp://127.0.0.1:8554/test
(地上) 192.168.101.10
pt@pt-desktop:~/go/src$ more srt_rtsp_server_38089.sh
#!/bin/bash
gst-launch-1.0 srtsrc uri=srt://:38089 keep-listening=true ! decodebin ! autovid
eosink
*/
#include <gst/gst.h>
#include <gst/rtsp-server/rtsp-server.h>
#include <stdio.h>
#include <string.h>
void print_usage(const char *prog_name) {
g_print("Usage: %s -r [RTSP_URL] -f [MP4_FILE]\n", prog_name);
g_print("Default RTSP_URL: rtsp://127.0.0.1:8554/test\n");
g_print("Default MP4_FILE: 192.168.1.11.mp4\n");
g_print("Example: %s -r rtsp://127.0.0.1:8554/test -f 192.168.1.11.mp4\n", prog_name);
}
int main(int argc, char *argv[]) {
GMainLoop *loop;
GstRTSPServer *server;
GstRTSPMountPoints *mounts;
GstRTSPMediaFactory *factory;
const char *default_url = "rtsp://127.0.0.1:8554/test";
const char *default_mp4 = "192.168.1.11.mp4";
const char *rtsp_url = default_url;
const char *mp4_file = default_mp4;
char path[256] = "/test";
char service[6] = "8554"; // ポート番号のデフォルト値
for (int i = 1; i < argc; i++) {
if (strcmp(argv[i], "-h") == 0) {
print_usage(argv[0]);
return 0;
} else if (strcmp(argv[i], "-r") == 0 && i + 1 < argc) {
rtsp_url = argv[++i];
// RTSP URLのポート番号とパス部分を抽出
const char *url_port = strchr(rtsp_url + strlen("rtsp://"), ':');
if (url_port != NULL) {
url_port++;
const char *url_path = strchr(url_port, '/');
if (url_path != NULL) {
strncpy(path, url_path, sizeof(path) - 1);
path[sizeof(path) - 1] = '\0'; // Null terminatorを追加
int port_length = url_path - url_port;
if (port_length < sizeof(service)) {
strncpy(service, url_port, port_length);
service[port_length] = '\0'; // Null terminatorを追加
}
}
}
} else if (strcmp(argv[i], "-f") == 0 && i + 1 < argc) {
mp4_file = argv[++i];
}
}
gst_init(&argc, &argv);
loop = g_main_loop_new(NULL, FALSE);
server = gst_rtsp_server_new();
gst_rtsp_server_set_service(server, service);
mounts = gst_rtsp_server_get_mount_points(server);
factory = gst_rtsp_media_factory_new();
char launch_string[512];
snprintf(launch_string, sizeof(launch_string),
"( filesrc location=%s ! qtdemux name=d d.video_0 ! queue ! rtph264pay pt=96 name=pay0 )",
mp4_file);
gst_rtsp_media_factory_set_launch(factory, launch_string);
// ループ設定を追加
//g_object_set(factory, "loop", TRUE, NULL);
gst_rtsp_mount_points_add_factory(mounts, path, factory);
g_object_unref(mounts);
gst_rtsp_server_attach(server, NULL);
g_print("Stream ready at %s with file %s\n", rtsp_url, mp4_file);
g_main_loop_run(loop);
return 0;
}
仮想RTSPカメラの作り方
私、「体臭」については、これまで色々論じてきたのですが、仮説ですら解決法を思いついていません ―― それくらい、この問題は難しい。
私、これまで「ぎっくり腰」は何度もやっていたのですが、今朝、人生最初の「こむら返り」というのを体験しました。
I have had many “hiccups” in my life, but I experienced the first “cramp this morning.”
この夏季休暇中の、外出時間は合計10分間を切っており、ほぼ24時間クーラー(設定温度29度か30度)の部屋で、ずっとコーディングしていました。
During my summer vacation, I was out of the house for less than 10 minutes, coding almost 24 hours a day in an air-conditioned room (temperature set at 29 or 30 degrees Celsius).
そういう運動不足を見込んで、踏み台昇降用のバスチェアを購入して、一日30分の踏み台運動に、懸垂、腹筋を続けていたのですが ―― なんか、これが逆にオーバーロード(過負荷)になっていたような気がします。
In anticipation of this lack of exercise, I bought a stepladder bath chair. I continued to do 30 minutes of stepladder exercises, pull-ups, and sit-ups a day -- but I think this was conversely overloading my body.
あと、クーラー漬けも問題だったかもしれません。例え、30度の設定温度でも、体を冷やし続けるのは良くなかったように思います。
Also, air-conditioning might have been a problem. Even if the temperature was set at 30 degrees Celsius, I don't think keeping the body cool was a good idea.
-----
そういえば、夏季休暇中に、「男性の体臭」についてSNSに投稿していた人が、事務所との契約を解除された、というニュースを読みました。
By the way, I read in the news that someone who posted on a social networking site about “male body odor” during the summer vacation was terminated from his contract with the firm.
私、「体臭」については、これまで色々論じてきたのですが、仮説ですら解決法を思いついていません ―― それくらい、この問題は難しい。
I have discussed body odor a lot, but I have not come up with a hypothetical solution- that's how complex this problem is.
「こむら返り」は、まあ自分自身の問題としても 、「体臭」「加齢臭」は、自分では制御できません。
While “cramps” may be my problem, I cannot control “body odor” and “age-related odor” by myself.
もちろん、これらの問題を回避する為に、私自身、最大限の努力を続ける必要はあるでしょう。
Of course, I must do my utmost to avoid these problems.
しかし、その努力を評価されることなく、それどころか、非難され続ける ―― そういう、
However, no one appreciates any of my efforts and continues to criticize my “body odor” and “aging.”
次の人生のステージが始まるのです(『響けユーフォニアム』風に)。
The next stage of my life has already begun (in the style of “Hibike Euphonium”).
ですから、年齢を経て発生する臭いは、「加齢臭」ではなく「腐敗臭」といっても良いものです。
(Continuation from yesterday)
勿論、愉快ではありませんが、
Of course, it is not pleasant for me; however, I think,
―― どんな上司の叱責よりも、必要なチェッカー
"She is a necessary checker than any boss's reproof."
とは思っています。
今の、この私に、正面向って警告できる人間を思い受かべてみたのですが ―― もう部長クラスでも無理なんじゃないかな ―― とすら思います。
I tried to think about who could warn me in front of my face; I was afraid that "It seems impossible for the director class anymore."
それでも、次女は、
Still, the second daughter said,
『電車で通学していると、想像を絶するくらい臭いオッサンがいる。パパが、いかに『マシ』であるかは、よく分っている』
"When I go to school by train, there is an unimaginable stink, old man. I know well how you are better."
との、コメントを残しています。
-----
さて、以前も申し上げましたが、
I wrote it before,
"In the first place, humans are not manufactured on the premise that they survive 40 to 50 years and over."
です。
人間の平均寿命は200年前では40歳でした(200万年前ではなく、200年です)。
Human life expectancy was 40 years old 200 years ago (not 200 million years ago, 200 years).
それ以上の年齢で、私達が生きていられるのは、病原体の撲滅や、(以前は治療法0だった)ウイルス性の病気(インフルエンザ)などへの特効薬の開発、など、高度な医療の発達に因るためです。
We can live with our age "due to advanced medical development," such as the eradication of pathogens and the development of silver bullets for viral diseases (influenza), etc. (previously, there was no method).
40歳以上の人間が生きていることは、
Why human beings over the age of 40 are alive, is
腐敗が完了していて良いはずの肉体に、強制的に体液(血液とかリンパ液とか)を循環させることで、その腐敗の進行を遅らせている ――
"To our body that should be corrupted soon, the forcibly circulating bodily fluid (blood or lymph) make it slow the progress of corruption."
という解釈が正しい。
This is the correct answer.
ですから、年齢を経て発生する臭いは、「加齢臭」ではなく「腐敗臭」といっても良いものです。
So, the smell that occurs after over 40 years should be called "rotten smell" rather than "age-old smell."
(To be continued)
―― 全身に、「米酢」をぶちまけたのか ?
夏になってくると「ニオイ」が酷くなってきます。
The problem of "smell" gets worse when it comes to summer.
特に、若いニーチャンや、太ったおっさんの、
Especially for a young man and a fat older man,
―― 全身に、「米酢」をぶちまけたのか ?
"Did you take a shower of "rice vinegar"?"
と思うような、凄まじい臭(くさ)さは、一体何なのでしょうか。
I wonder how they can produce the violent smell.
嫌悪感とか、そういう次元を、超越する破壊力があります。
It has a destructive power beyond of the feeling of "disgust".
-----
先日、
The other day,
(Step 1)若いニーチャンの横を通り過ぎたとき、その背中から発せられる臭さに、レバーにボディーブローを一発喰らったかのような衝撃を受け、思わず足がもつれ、、
(Step 1) when I passed by a young man, I received a shock as if I had a body blow of the lever, and unintentionally, my legs tangled because of the smell emitted from his back,
(Step 2)さらに、その2秒後に、3メートル先の太ったのオッサンの横を通り過ぎた時に、(本当に、どこからその異臭を製造しているのか不明なまま)「クッ(サー)!」と大声が出そうになるのをかろうじて抑えつつ、2秒ほど記憶がなくなりました(本当)。
Furthermore, two seconds later, when I passed by the fat man 3 meters away (indeed, I didn't know where the stink was produced), I nearly shouted, "He stinks!" After that, I lost my memory for about 2 seconds (it is true).
もう、これは、超限定的な兵器として、実戦投入可能なレベルにある、と断言できます。
They are already at the installation level on any battlefield, as they are limited standard weapons.
-----
江端家には、長女と次女の、人間知能(×人工知能)臭いチェッカーが、遠慮のない言葉で、私の臭いをチェックしています。
In the Ebata's, I have devices of "Human intelligence (× artificial intelligence) smell checker" of 19 years old (eldest daughter) and 15 years old (second daughter), that work well with unreserved words.
特に<次女>の方は、
Especially for the second daughter,
■一緒に車に乗っていると、これ見よがしに、パワーウィンドウを開け、
- When we are riding a car together, she opens the car window ostentatiously,
■私の部屋の前を通ると、顔の前で掌を左右に振り回す、
- When she passed in front of my room, she mimics "stink".
という辛辣なインターフェースで、私の臭いをチェックしています。
She is checking my smell with a bitter interface.
(To be continued)
夏になれば、仕方がないことですが、―― 男性の体臭が凄い。
夏になれば、仕方がないことですが、―― 男性の体臭が凄い。
It cannot be helped that the body odor (BO) of men becomes terrible.
私は都心部の逆方向の電車に乗っているので、混雑はあまり酷くはないので、それほど酷い目にもあっていないと思うのですが、
I ride on a crowded train in the opposite direction of the city center daily, so I don't think I feel so hard.
ラッシュの電車で、体臭の凄い人の近くになった人の悲劇は、想像に難くありません。
But I am very sorry for the person who cannot escape from the tragedy in a packed train and is close to the terrible BO.
被害者サイドとしては勿論ですが、私のような「加齢臭」持ちは、加害者サイドとしても、夏はツラい。
Summer is a hard season for me because I am not only a victim but also a victimizer with age smell.
歩行喫煙なんぞやる奴は、殴ってもいいと思うけど、体臭は不可抗力ですから。
Though I can give a walking smoker a blow, I think that the BO is an inevitable force.
(万一、悪意で体臭発生している奴がいたら(いないと思うけど)、首を締めてもいいと思う)
Even if I find a person who make his BO on purpose (I don't know whether it is possible) I think I may tighten his neck.
(To be continued)
断酒してから、娘たちが、私の体臭のことをピタリと言わなくなりました。
断酒してから、娘たちが、私の体臭のことをピタリと言わなくなりました。
After having stopped drinking, my daughters no longer talk about my body odor.
アルコールと体臭には何か関係があるのかなと、ちょっと調べてみたら、
When I tried to research about the relationship between alcohol and body odor, I can know
「アルコールは、体臭の原因そのもの」
"Alcohol is the cause of body odor."
ということが分かりました。
-----
高校(か中学?)の時に習ったかと思いますが、基本的に、アルコールは、アセトアルデヒドという有害物質に変換された後、安全な物質である酢酸になります。
When we were in high school (or junior high school?), We learned that alcohol is converted into a safe substance, acetic acid, after being transformed into a harmful substance called acetaldehyde.
アセトアルデヒドは、強烈な臭気を発生しますし、酢酸は「酢」ですので、こちらも強い臭気が出ます。
Acetaldehyde generates a strong odor, and acetic acid, which is "vinegar," also has a strong odor.
つまり、アルコールを摂取することで、アセトアルデヒドや酢酸が、汗に入って体外に排出され、体臭が激しくなる、ということのようです。
In other words, acetaldehyde and acetic acid seem to be sweated and discharged outside the body, and the body odor becomes intense.
もっとも、肝機能が完全であれば、最終的には、無臭の水と二酸化炭素に分解されるはずです。
However, if liver function is complete, it should eventually be broken down into odorless water and carbon dioxide.
つまり、アルコールに起因する体臭の原因は、
After all, I know that the cause of body odor caused by alcohol is
■肝機能の能力を越える大量のアルコールを摂取している
- Taking a large amount of alcohol that exceeds the ability of the liver to function
か、
or
■肝機能が低下している
- Liver function is reduced
ということのようです。
-----
娘から、口臭の指摘も受けていました。
I have also received bad breath from my daughters.
最近は「リステリン」という口内殺菌消臭用の液体で、歯をすすぎ、うがいするようにしています。
Recently, a liquid for sterilization and deodorization called “listerin” has been used to rinse and gargle teeth.
リステリンは、初心者には、かなりキツい液体で、最初のうちは、口の中が燃えるような刺激があります ―― が、そのうち、慣れます。
Listerine is a reasonably complex liquid for beginners. At first, there is a stimulus that burns in your mouth. However, I can get used to it soon.
このように、断酒とリステリンで、現時点では、娘たちの指摘は発生しなくなりました。
In this way, with the cessation of alcohol and listerin, the daughters no longer point out my body odor and bad breath.
-----
ともあれ、JKやJDの娘は、高性能の「体臭用リトマス試験紙」と機能しています。
Anyway, my daughters work as a function of high-performance "Litmus test paper for body odor."
■ 在席中に、平気で放屁する人がいて、その臭いが物凄くて嘔吐しそうになる
(Continuation from yesterday)
そういう意味において、「加齢臭」を批判することは、不当な差別であるとも言えます。
In that sense, it can be said that criticizing the "age of odor" is unfair discrimination.
とは言え、「加齢臭」の発生主体が、その発生を防ぐ為の努力を怠っていれば、それは批判されるべきでしょう。
Nonetheless, if the subject of "age-old smell" neglects efforts to prevent the stink, they should be criticized.
-----
その一方、夏だけに発生し、ボディブローや記憶喪失を発生させるほどの、あの「激臭」は、「加齢臭」という範疇では、括ることはできないと思います。
On the other hand, I think that it can not be included in the category of "age-old smell," which occurs only in the summer and gives me body blowing and loss of memory—it is a burning stink.
だって「夏」だけに発生しているんですから。
Because it occurs only in "summer".
もちろん、当人の体質、気候、働き方(外回りの営業や肉体労働)、そしてその労働の時間によって、そのレベルは大きく変わると思います。
Of course, I think that the level will change significantly depending on the constitution, climate, how to work (outside sales and physical labor), and the time of that labor.
だからといって、それを無条件に認容しなければならない、とも思えません。
However, I do not think that it must be accepted unconditionally.
あの「激臭」は、「暴力」といっても良いほど、他人に激烈な苦痛を与えるものだからです。
That "burning stink" is as good as I can say "violence," and it gives strange pain to others.
-----
この問題の面倒くささは、
The troublesomeness of this problem, is
「自分では、まったく意思も自覚もできない悪臭を、『悪気ゼロ』で撒き散らす」
"Stink that we can not recognize and be aware of on your own will scatter with" zero badness."
という点もあります。
実際、この体臭の問題では、私、会社で「安全衛生委員」を担当している時に、随分悩んだことがあります。
Because of this body stink problem, I am apprehensive about being in charge of "safety and health committee members" at the company.
一度、会社で、薬品異臭(?)の問題に対して部内のアンケートを取ったら、「異臭」の言葉に反応したメールが、私にわんさか届いて、青くなったことがありました。
Once I took the questionnaire from the company about the problem of chemical odor at the office, I looked pale. Because many e-mails that responded to the word "strange smell" came to me.
■ 隣の席の人の体臭が物凄く凄くて、仕事にならない。
- The body stink of the person next to me is terrible, so I don't work.
■ その人間が通り過ぎるだけで、煙草の臭いが物凄く凄くて辛い。
- Just the person passing in the office, and the smell of tobacco is terrible and painful.
■ 在席中に、平気で放屁する人がいて、その臭いが物凄くて嘔吐しそうになる
- There is a person who is flat with flavor, and its smell is terrible, and I am likely to vomit
そのメールには『江端さん! お願いだから助けて!!』という、悲痛な声がありました(まあ、私も含まれていたかもしれませんが)。
In that mail, there was a sorrowful voice called "Ebata-san! Please help me, please !!"
で、そこからの先の話は、プライバシーと社内コンプライアンスに関わるので開示することができませんが、
Sorry, but I cannot open the after-story because of privacy and company compliance.
いずれにしても、「事態を炎上させることで、その事態の収拾を測る」ことを得意とする、自称「マッチポンプ型リゾルバー 江端」をもってしても、この問題に手を出すことができず、私は任期を終えました。
In any case, even I, self-called "Matchpump type resolver "Ebata"" who is good at "measuring the collection of the situation by making the situation flame up", could not handle this problem, and I had finished my term.
(To be continued)
(1)毎日早く帰宅して、みんなと一緒に夕食を食べることができるパパと、(2)毎日遅く帰宅するけど、年に2回、東京ディズニーランドに連れていくことができるパパ。(1)と(2)のどっちのパパがいい?
【その1】
(Part 1.)
次女の友人で、私が勤務している会社で内定が取れなかった友人に、次女がかけた言葉です。
My second daughter said the following to a friend who did not get a job offer at my company.
『私の父の働き方を見ている限り、あの会社は、"ブラック"だから、落ちてよかったんだよ』
"As far as the way my father works, that company is “black,” so you are lucky."
-----
いや、それは違う(と思う)。
No, it's not (I think).
私が四六時中働いているように見えるのは、私にとって業務の内容が難しくて、時間がかかりすぎていることが主要因です ―― 会社が"ブラック"であるかどうかは、私には分かりません。
The main reason I seem to work around the clock is that the work is too difficult and time-consuming for me -- I don't know if the company is “black” or not.
『できません』と言えない自分の気質に問題がある、というのは分かっています。
I know that my temperament is a problem. I can't say, 'I can't do it. '
ただ、私としては本当に精一杯でやっているつもりなんだけど、『あまり褒められたことがないなぁ』とは思います。
However, I think I am doing the best I can, but I don't think I have received much praise.
自分の努力の方向が間違っているのかもしれませんが。
Maybe my efforts are going in the wrong direction.
ともあれ、私の場合は、自分で自分を褒めるしかないです。
Anyway, in my case, I can only pat myself on the back.
【その2】
(Part 2.)
娘たちが小さいころに、以下の質問をしたことがあります。
When my daughters were young, I asked them the following questions:
=====
(1)毎日早く帰宅して、みんなと一緒に夕食を食べることができるパパと、
(1) A dad who comes home early every day and can have dinner with everyone,
(2)毎日遅く帰宅するけど、年に2回、東京ディズニーランドに連れていくことができるパパ
(2) A dad who comes home late daily but can take his children to Tokyo Disneyland twice a year.
(1)と(2)のどっちのパパがいい?
Which do you prefer, (1) or (2)?
-----
二人の娘たちは、質問には答えずに、口を合わせて
My two daughters didn't answer the question, and they just mouthed it to each other.
―― パパ、無理して早く帰宅しなくていいよ
“Dad, you don't have to come home early."
と答えました。
They replied.
内向きで、GO!
昨日の日記「二刀流リモコン剣舞」をご覧頂いた読者の方から、メールを頂きました。
幼稚園児のお子さんが、リモコンを自由自在に操っているとのことです。
人間、自分の好きなことは、年齢や才能を越えてやるものだ、ということだということを、証明する事実の一つになるのでしょう。
ただ、この現象が真である、とするのは、ちょっと困るのです。
-----
命題「AならばB」の対偶は「BでないならAでない」である。つまり、命題「A ⇒ B」の対偶は「¬B⇒ ¬A」(¬A は命題 A の否定)となりますよね。
「好きなこと」は「できる」の対偶は、「できないこと」は「好きでない」となります。
これは困る。絶対的に困る。
例えば、私は「英語が好きでない」という訳ではなく、「英語ができないだけ」なのです。
英語は毎日楽しく聞いています。毎日、通勤途中の歩行の時間は、ビジネス英会話と、ABCニュースシャワーを聞いています。英語が分からなくても、内容は、十分に面白いです。
しかし、私が英語を楽しんでいることと、私の英語の能力との関係は、全く関係がないようです。
例えば、TOEICと私の関係は絶望的に悪いです。
前世で、TOEICと私は、魔王と勇者の関係にあったに違いありません。
-----
「好き」なんだけど「できない」ことって、世の中たくさんあります。
そのような、「好き」なんだけど「できない」ことは、かなり自分を苦しめます。
特に、優れた能力を持っている人が、易々と「好き」を「できる」につなげてしまうのを見ると、本当にやる気がなくなってしまいます。
例えば、嫁さんの友人で、絵が大好きで美術大学に入学した方がいるのですが、「美大に入ったら、絵を嫌いになってしまった」のだそうです。
自分の「上手い」のレベルを、思い知らされるのだそうです。相当な絶望と孤独に苛まされたとのことです。
-----
だからといって、他人との比較で、「好き」をやめてしまうのも、なんだかなー、とも思います。
なんとか「『好き』だけ」で行きたいものです。
ツイッターのコメントに、いちいち腹を立てることもなく、また、ツイッター数が少ないことに凹むこともなく、
■文章を書いていることが「好き」で、
■その文章を自分で読むことが「好き」で、
■それで、「なんて上手い文章なんだろう」と自分で自分を褒めるのが「好き」で、
そういう、他人の評価から数万光年離れた、内向きに自分の中だけに閉じた世界の中で、生きられるようになりたいのです。
-----
しかし、この「閉じた世界」は、そう簡単には構築できないのです。
私の場合、「私の、私による、私の為だけの文章(エッセイ・コラム)」というコンセプトに至るだけの為に、実に20年もかかっています。
そして、今の私が目指している最大の目標は、
「外向きに自分の作品を発表しつつ、内向きに完全に閉じた世界で安住する方法」
を確立することにあります。
京急富岡駅からの京急線を使った場合の所要時間の可視化
以前、京急富岡駅からの京急線を使った場合の所要時間を、時刻表などを見ながら概算していたのですが、それを可視化してみました。
[data.csv]
name,y,x,z
日暮里, 35.72810551475649, 139.77065214505967, 73
鶯谷, 35.72147285483459, 139.77803484630024, 63
上野, 35.71419330617392, 139.7774413019538, 57
御徒町, 35.70752513412557, 139.7748544863164, 67
秋葉原, 35.6983999333567, 139.77290571388025, 65
お茶の水, 35.69977763102643, 139.76447338219248, 61
水道橋, 35.7020483726974, 139.75337286940393, 66
神田, 35.691843953947895, 139.77075286750426, 63
東京, 35.68127103173912, 139.76691023873528, 57
有楽町, 35.67504451109795, 139.7629009441794, 59
新橋, 35.6663876890884, 139.7580715945385, 55
浜松町, 35.65538959029243, 139.75707527127187, 54
田町, 35.64573607270807, 139.7475731442898, 54
品川, 35.628479993237924, 139.73869534241823, 43
北品川, 35.62204337901307, 139.73929378869565, 50
青物横丁, 35.616530476669595, 139.74147241132803, 49
青物横丁, 35.6089113073848, 139.74314516357873, 45
鮫洲, 35.60505014227371, 139.74226998316405, 50
立会川, 35.598565208786674, 139.73893538884946, 50
大森海岸, 35.58770513004266, 139.73546417819148, 51
平和島, 35.578786612348516, 139.7348957122944, 40
大森町, 35.572470928220454, 139.73209389290315, 53
梅屋敷, 35.56680589146817, 139.7282405712228, 53
京急蒲田, 35.561346378009084, 139.72413782845052, 33
雑色, 35.549501628543595, 139.71492252305998, 38
六郷土手, 35.540534565682265, 139.70758227692838, 34
糀谷, 35.55475500818507, 139.72947450479222, 40
大鳥居, 35.55230710920823, 139.74016209480337, 45
穴守稲荷, 35.550433498630504, 139.7467475129522, 46
天空橋, 35.549323611239814, 139.75367380680967, 46
京急川崎, 35.5330130222155, 139.70085261643172, 30
小島新田, 35.53497952289224, 139.74753015189842, 42
八丁畷, 35.523294588264044, 139.69182471487903, 41
鶴見市場, 35.51795110131048, 139.68654897642313, 40
京急鶴見, 35.507313116366205, 139.67793452856546, 34
花月総持寺, 35.50045335293103, 139.67299835084395, 31
生麦, 35.49532037586162, 139.66697084291033, 30
京急新子安, 35.48709301222138, 139.6554644900453, 29
子安, 35.484595747125226, 139.64499414507037, 32
神奈川新町, 35.48089584236831, 139.63961808116608, 26
京急東神奈川, 35.47728484644749, 139.63437152522133, 30
神奈川, 35.471042823081326, 139.62708525622278, 32
京急横浜, 35.465974566273886, 139.6218737093478, 20
戸部, 35.45669353999209, 139.61954391949988, 27
日ノ出町, 35.445535830399635, 139.62677764713118, 25
黄金町, 35.4398051861557, 139.6228192707623, 24
南太田, 35.43704871593425, 139.61413963595152, 18
井土ヶ谷, 35.434049908914936, 139.6013697675809, 16
弘明寺, 35.424392517088215, 139.59679056178064, 17
上大岡, 35.409119230795824, 139.59658257505384, 14
屏風浦, 35.394628914972444, 139.61025512796533, 10
杉田, 35.38359625400674, 139.6158614781421, 3
京急富岡, 35.36713079862617, 139.6298755067998, 0
能見台, 35.36088096572114, 139.62943901110575, 1
京急金沢文庫, 35.34283976967888, 139.62161382892742, 3
金沢八景, 35.33143644664979, 139.62019186432977, 6
野島公園, 35.33057520638215, 139.63154448609114, 17
海の公園南口, 35.337221851530074, 139.63203843792144, 18
海の公園芝口, 35.34207978297347, 139.6357948657779, 18
八景島, 35.34081263381398, 139.64082413734104, 20
六浦, 35.32276335943298, 139.61123194142903, 13
神武寺, 35.306362422782364, 139.59316695868543, 19
逗子・葉山, 35.29593435944306, 139.5811992373588, 31
追浜, 35.3158514243523, 139.62481670534095, 15
京急田浦, 35.30091271311823, 139.62553483073157, 16
安針塚, 35.28681218160922, 139.64296751736376, 17
逸見, 35.28064334099864, 139.6528184088048, 21
汐入, 35.280307747849356, 139.6624959442711, 19
横須賀中央, 35.27868971431925, 139.6700294865965, 20
県立大学, 35.27046934794596, 139.6765472421848, 26
堀ノ内, 35.263578813428, 139.68674190193195, 23
新大津, 35.25692239324099, 139.69014415109714, 23
北久里浜, 35.2497686048071, 139.68628696286345, 25
浦賀, 35.250938172839675, 139.71498764424754, 30
京急久里浜, 35.231585086558596, 139.7022284815838, 29
YRP野比, 35.21207247285571, 139.68500815775707, 33
京急長沢, 35.20555570645748, 139.67414472893097, 44
津久井浜, 35.19868000571067, 139.66570472891374, 37
三浦海岸, 35.188117336673066, 139.65328211521543, 39
三崎口, 35.17752001890131, 139.633171976671, 42
[Gnuplotスクリプト]
# データファイルの読み込み
set datafile separator ","
# 3Dプロットの設定
set title "3D Plot of Locations with Vertical Projection Lines"
set xlabel "Longitude (x)"
set ylabel "Latitude (y)"
set zlabel "Elevation (z)"
set ticslevel 0
set grid
# ラベル表示の設定
set label font ",10"
# 3Dプロット
splot "data.csv" using 3:2:4 with points pointtype 7 pointsize 2 lc rgb "blue" title "Locations", \
"" using 3:2:4:(0):(0):(0-$4) with vectors nohead lc rgb "red" title "Projection Lines", \
"" using 3:2:(0):(sprintf(" %s", stringcolumn(1))) with labels offset char 1,1 notitle
pause -1