Download free for 30 days
Sign in
Upload
Language (EN)
Support
Business
Mobile
Social Media
Marketing
Technology
Art & Photos
Career
Design
Education
Presentations & Public Speaking
Government & Nonprofit
Healthcare
Internet
Law
Leadership & Management
Automotive
Engineering
Software
Recruiting & HR
Retail
Sales
Services
Science
Small Business & Entrepreneurship
Food
Environment
Economy & Finance
Data & Analytics
Investor Relations
Sports
Spiritual
News & Politics
Travel
Self Improvement
Real Estate
Entertainment & Humor
Health & Medicine
Devices & Hardware
Lifestyle
Change Language
Language
English
Español
Português
Français
Deutsche
Cancel
Save
EN
Uploaded by
AyumiShibamoto
492 views
GeoCSVのススメ
FOSS4G 2018 Tokyo ライトニングトーク資料
Software
◦
Read more
1
Save
Share
Embed
Embed presentation
Download
Download to read offline
1
/ 15
2
/ 15
3
/ 15
4
/ 15
5
/ 15
6
/ 15
7
/ 15
8
/ 15
9
/ 15
10
/ 15
11
/ 15
12
/ 15
13
/ 15
14
/ 15
15
/ 15
More Related Content
PDF
QGIS はじめてのラスタ解析
by
Mayumit
PDF
FOSS4G2014Osakaハンズオン:「QGISによるジオリファレンス入門」,大阪市立大学梅田サテライトキャンパス(大阪市),2013年10月27日.
by
和人 青木
PPTX
IoTデバイスデータ収集の難しい点
by
Tetsutaro Watanabe
PDF
深層学習の新しい応用と、 それを支える計算機の進化 - Preferred Networks CEO 西川徹 (SEMICON Japan 2022 Ke...
by
Preferred Networks
ODP
Attention-Guided GANについて
by
yohei okawa
PDF
BLEビーコンを所持する徘徊高齢者のパーティクルフィルタを用いた追跡手法の検討
by
Fukumoto Kanae
PDF
Atividade Filho Pródigo (Lc 15)
by
João Pereira
PDF
【ECCV 2022】NeDDF: Reciprocally Constrained Field for Distance and Density
by
cvpaper. challenge
QGIS はじめてのラスタ解析
by
Mayumit
FOSS4G2014Osakaハンズオン:「QGISによるジオリファレンス入門」,大阪市立大学梅田サテライトキャンパス(大阪市),2013年10月27日.
by
和人 青木
IoTデバイスデータ収集の難しい点
by
Tetsutaro Watanabe
深層学習の新しい応用と、 それを支える計算機の進化 - Preferred Networks CEO 西川徹 (SEMICON Japan 2022 Ke...
by
Preferred Networks
Attention-Guided GANについて
by
yohei okawa
BLEビーコンを所持する徘徊高齢者のパーティクルフィルタを用いた追跡手法の検討
by
Fukumoto Kanae
Atividade Filho Pródigo (Lc 15)
by
João Pereira
【ECCV 2022】NeDDF: Reciprocally Constrained Field for Distance and Density
by
cvpaper. challenge
Featured
PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
by
Search Engine Journal
PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
by
Chiara Aliotta
PDF
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
by
OECD Directorate for Financial and Enterprise Affairs
PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
by
SocialHRCamp
PDF
2024 State of Marketing Report – by Hubspot
by
Marius Sescu
PDF
Everything You Need To Know About ChatGPT
by
Expeed Software
PDF
Product Design Trends in 2024 | Teenage Engineerings
by
Pixeldarts
PDF
How Race, Age and Gender Shape Attitudes Towards Mental Health
by
ThinkNow
PDF
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
by
marketingartwork
PDF
Skeleton Culture Code
by
Skeleton Technologies
PDF
PEPSICO Presentation to CAGNY Conference Feb 2024
by
Neil Kimberley
PDF
Content Methodology: A Best Practices Report (Webinar)
by
contently
PPTX
How to Prepare For a Successful Job Search for 2024
by
Albert Qian
PDF
Social Media Marketing Trends 2024 // The Global Indie Insights
by
Kurio // The Social Media Age(ncy)
PDF
Trends In Paid Search: Navigating The Digital Landscape In 2024
by
Search Engine Journal
PDF
5 Public speaking tips from TED - Visualized summary
by
SpeakerHub
PDF
ChatGPT and the Future of Work - Clark Boyd
by
Clark Boyd
PDF
Getting into the tech field. what next
by
Tessa Mero
PDF
Google's Just Not That Into You: Understanding Core Updates & Search Intent
by
Lily Ray
PDF
How to have difficult conversations
by
Rajiv Jayarajah, MAppComm, ACC
2024 Trend Updates: What Really Works In SEO & Content Marketing
by
Search Engine Journal
Storytelling For The Web: Integrate Storytelling in your Design Process
by
Chiara Aliotta
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
by
OECD Directorate for Financial and Enterprise Affairs
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
by
SocialHRCamp
2024 State of Marketing Report – by Hubspot
by
Marius Sescu
Everything You Need To Know About ChatGPT
by
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
by
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
by
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
by
marketingartwork
Skeleton Culture Code
by
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
by
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
by
contently
How to Prepare For a Successful Job Search for 2024
by
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
by
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
by
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
by
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
by
Clark Boyd
Getting into the tech field. what next
by
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
by
Lily Ray
How to have difficult conversations
by
Rajiv Jayarajah, MAppComm, ACC
GeoCSVのススメ
1.
GeoCSVのススメ 株式会社マップル・オン 柴本歩 FOSS4G 2018
Tokyo ライトニングトーク
2.
GeoCSVとは ➢ 位置情報付きのCSV ➢ 位置情報はWKTで書く WKTとはPostGISのST_GeomFromText(
) で書くあれ ➢ POINTだけなら 緯度カラムと経度カラムでもよい WKT,... POINT (0 0),... LINESTRING (0 0, 1 1),... POLYGON ((0 0, 0 1, 1 1, 1 0, 0 0)),... lon,lat,... 0,0,... 0,1,...
3.
利点 テキストだから ➢ 人間でも読める、書ける ➢ 特定のソフトに依存しない
→ GeoJSONと共通の利点
4.
利点 CSVだから ➢ 一覧性に優れる ➢ 表計算で扱える DBにインポートしやすい ➢属性名で容量を食わない ➢行データなので テキストストリーム系のコマンドと相性がいい →
GeoJSONにはない利点 JSONだと {"属性名1":..., "属性名2":..., "属性名3":...} ,{"属性名1":..., "属性名2":..., "属性名3":...} ,{"属性名1":..., "属性名2":..., "属性名3":...} ,{"属性名1":..., "属性名2":..., "属性名3":...} ,{"属性名1":..., "属性名2":..., "属性名3":...}
5.
欠点 CSVだから ➢ データ型があいまい ➢ 座標系があいまい 無指定のときはEPSG:4326と解釈されま す。
6.
欠点 CSVだから ➢ データ型があいまい ➢ 座標系があいまい 無指定のときはEPSG:4326と解釈されま す。 を補うため ➢
.csvt ファイル 各カラムのデータ型を記述した1行の ファイル ➢ .prj ファイル 座標系を定義したファイル ESRI Shapeの.prjに似ている
7.
欠点 を付属できる。(必須ではない) ➢ それじゃまるでShapeじゃ ないか ➢ ZIPでまとめた
.csvz という 仕様も定義されています あまり出番ないけど .csv .csvt .prj .csvz
8.
話は変わって
9.
タブ区切りのススメ カンマ区切りのジレンマ ➢ WKTでもカンマを使うし ➢ 属性にもカンマはありがち →
クォーテーションの考慮が面倒! LINESTRING (0 0, 1 1) "Hello,World."
10.
タブ区切りのススメ ➢タブで区切ればいいじゃない 表計算に貼り付けやすくなる作用も ➢ ここで注意 タブで区切っても拡張子は .CSV
11.
タブ区切りのススメ CSVは ➢ Camma Separated
Values ではなく ➢ Character Separated Values の略である。 タブ区切りだからって .tsv にしなくていいんです。 後述するGeoCSV対応ツールは タブ区切りでも拡張子.csvを 前提として設計されているので、 .tsvにしない方ことをおすすめします。
12.
対応ツール ➢ QGIS ファイルの読み書きはもちろん、編集中 のベクター地物をCtrl+Cコピーすると、 クリップボード内で保持される形式は タブ区切りGeoCSVそのもの! ➢ ogr2ogr が対応している形式なら自在に相互変換 できます。 →
相性抜群! → ケンカ売らないスタイル
13.
対応ツール ogr2ogrコマンド例 ➢ csvt付き ➢ prj付き ➢
タブ区切り GeoCSVに変換する例 ogr2ogr -lco CREATE_CSVT=YES -a_srs EPSG:4326 -lco SEPARATOR=TAB -lco GEOMETRY=AS_WKT -f csv 出力.csv 入力
14.
対応ツール ogr2ogrコマンド例 ➢ GeoCSVから変換する例 ➢ -oo
KEEP_GEOM_COLUMNS=NO WKTが属性として出力されるのを拒否 ➢ -oo EMPTY_STRING_AS_NULL=YES 空項目をNULLとして扱う ogr2ogr -oo KEEP_GEOM_COLUMNS=NO -oo EMPTY_STRING_AS_NULL=YES -f 出力形式 出力先 入力.csv
15.
仕様の一次資料 https://giswiki.hsr.ch/GeoCSV おわり
Download