Closed jazzzchan closed 6 years ago
When I search for Beijing in Nominatim, i get 2 results
Beijing (city) and represented as an OSM node
: http://www.openstreetmap.org/node/25248662
Beijing (State) and represented as an OSM relation
: http://www.openstreetmap.org/relation/912940
This is important to understand as it involves the Open Street Map Data Model
and is explained in detail here:
@jazzzchan @ywnch @nnhoucheng please ensure you all read these links and lets discuss on next call (OPS
, add to agenda for Jan-6 meeting)
In the case for East Village, there is only an OSM node
and no OSM relation
.
http://nominatim.openstreetmap.org/search.php?q=east+village+new+york&polygon_geojson=1&viewbox=
....that is because no one has actually created an OSM relation
entry for NYC neighborhoods! (great future project!) and that is why you do not get a polygon.
However, someone has created an OSM relation
entry for Manhattan Community Board 3.
So in OSMnx, if you enter "Manhattan Community Board 3", you will get a polygon (please test this @jazzzchan ).
a relationship needs to be created in order for OSMnx to plot the graph.
How to submit an issue?
SOLVERS
read through how your issue was solved and may help them solve their issue quicker.Stackedit.io
, a handy tool to quickly write in markdown?