[Geocoding] [OpenStreetMap] #5410: Egypt polygon_geojson contains point from Greece

OpenStreetMap trac at noreply.openstreetmap.org
Mon Aug 1 10:10:08 UTC 2016


#5410: Egypt polygon_geojson contains point from Greece
-----------------------------+-------------------------
 Reporter:  a-da             |      Owner:  geocoding@…
     Type:  defect           |     Status:  new
 Priority:  major            |  Milestone:
Component:  nominatim        |    Version:
 Keywords:  polygon_geojson  |
-----------------------------+-------------------------
 Get polygon_geojson for Egypt country

     {{{
     #!bash
     $ curl
 "nominatim.openstreetmap.org/search?q=egypt&format=json&limit=1&polygon_geojson=1"|
 fgrep -o "],[37.1153517,22.0651165]"

     ],[37.1153517,22.0651165]
     }}}


 Get suspected point and check its position
     {{{
     #!bash
     $ curl -s
 "http://nominatim.openstreetmap.org/reverse?lat=37.1153517&lon=22.0651165"
 | grep -o "<country_code>......."

     <country_code>gr</cou
     }}}

 As we can see this is too far from Egypt and it is in Greece

 Do I do something wrong or this is a bug ?

--
Ticket URL: <https://trac.openstreetmap.org/ticket/5410>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the Geocoding mailing list