Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Cannot get valid polygon for California #4668

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Cannot get valid polygon for California #4668

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: kobiave[at]gmail.com
[Submitted to the original trac issue database at 10.30am, Monday, 5th November 2012]

when running the following query...
http://nominatim.openstreetmap.org/search.php?q=california,usa&polygon=1
i do not get the polygon on the map

when running http://nominatim.openstreetmap.org/search.php?q=california,usa&polygon=1&format=xml
i get an invalid polyon

however, when looking into california details
http://nominatim.openstreetmap.org/details.php?place_id=97717543
you do show the valid polygon

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 11.08pm, Tuesday, 13th November 2012]

Geometry output on the website has been fixed, you should see correct multipolygons now in all views.

When asking for xml/json, the polygon option will still not return a correct multipolygon. This won't fix for reason of backward compatibility. Try one of the new polygon options instead: polygon_geojson, polygon_kml, polygon_svg or polygon_text, which will return correct geometries, but be aware that they are still experimental at the moment. That means that the format might still change slightly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant