我很想知道给定国家的特定类型兴趣点(POI)的数量 - 在我的情况下,特别是印度和印度尼西亚。OpenStreetMaps:如何获得某个国家的PoI数量?
我的理解是osmfilter
就是这个程序,但我对这个数字有多低有点惊讶。
例如:
$ ./osmfilter india.o5m --out-count=tourism | grep hotel
2698 hotel
$ ./osmfilter india.o5m --out-count | grep cuisine
2172 cuisine
1 disused:cuisine
$ ./osmfilter india.o5m --out-count=amenity | grep atm
1978 atm
2 bank;atm
1 atm;pharmacy
低于2500酒店,餐馆,和自动取款机每次似乎是一个国家,比如印度的令人难以置信的低数字 - 或者是它只是OSM的数据集仍然是非常稀少?
非常感谢! /YGA
请注意,对于餐厅,您必须检查[amenity = restaurant](http://wiki.openstreetmap.org/wiki/Tag:amenity%3Drestaurant)键。而对于ATM机,还有[atm = yes](http://wiki.openstreetmap.org/wiki/Tag:atm%3Dyes)标签。 – scai 2014-09-21 08:38:07