{ "place", "town", NODE_PLACE_TOWN },
{ "place", "village", NODE_PLACE_VILLAGE },
{ "place", "hamlet", NODE_PLACE_HAMLET },
+ { "place", "locality", NODE_PLACE_LOCALITY },
{ "place", "suburb", NODE_PLACE_SUBURB },
{ "place", "island", NODE_PLACE_ISLAND },
return t->id;
break;
case NODE_PLACE_SUBURB:
+ case NODE_PLACE_LOCALITY:
t=g_hash_table_lookup(osm_place_city, ps);
if (t)
return t->id;
case NODE_PLACE_TOWN:
case NODE_PLACE_VILLAGE:
case NODE_PLACE_HAMLET:
+ case NODE_PLACE_LOCALITY:
t=g_hash_table_lookup(osm_place_city, ps);
if (t)
return t->id;
break;
case NODE_PLACE_VILLAGE:
case NODE_PLACE_HAMLET:
+ case NODE_PLACE_LOCALITY:
g_hash_table_insert(osm_place_village, cnode->data->name, cnode);
break;
case NODE_PLACE_ISLAND:
NODE_POI_END=999,
/* Places */
NODE_PLACE_START=1000,
- NODE_PLACE_SUBURB=1001,
+ NODE_PLACE_SUBURB=1001, /* http://wiki.openstreetmap.org/index.php/Proposed_features/Suburb */
+ NODE_PLACE_LOCALITY=1002, /* http://wiki.openstreetmap.org/index.php/Proposed_features/Locality */
NODE_PLACE_HAMLET=1049,
NODE_PLACE_VILLAGE=1050,
NODE_PLACE_ISLAND=1051,