OpenStreetMapデータからレイヤーを作成する
提供: svg2wiki
				
								
				(版間での差分)
				
																
				
				
								
				|  (→ツール) |  (→練習) | ||
| 13行: | 13行: | ||
| ==練習== | ==練習== | ||
| <code><pre> | <code><pre> | ||
| − | osmium  | + | osmium tags-filter jaAllData/japan-20241126.osm.pbf nwr/amenity=restaurant,cafe,fast_food -o eatplace.pbf | 
| osmium export eatplace.pbf -o eatplace.geojson | osmium export eatplace.pbf -o eatplace.geojson | ||
| </pre></code> | </pre></code> | ||
| + | nwrはpointだけならnで良いのかも | ||
2024年11月26日 (火) 11:03時点における版
OpenStreetMapから静的なSVGMapレイヤーを構築する方法をメモします
ツール
参考情報
練習
osmium tags-filter jaAllData/japan-20241126.osm.pbf nwr/amenity=restaurant,cafe,fast_food -o eatplace.pbf
osmium export eatplace.pbf -o eatplace.geojson
nwrはpointだけならnで良いのかも
