-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Polygon not returned as Search Result #259
Comments
The polygon seems not to be saved in ES, according to https://github.com/komoot/photon/blob/master/src/main/java/de/komoot/photon/PhotonDoc.java. Is this not done for a special reason, or did just no one needed the feature? |
Photon only exports the centroid and the bounding box of the geometry from Nominatim. Any polygon or way geometries are lost. Adding full geometries would increase the database size quite a bit. |
is it possible to config Photon to load geometries in ES too? |
Perhaps it'd make sense for an option to exist during importation so the user can decide on whether to import it or not. |
I sent the geocoded coordinate to nominatim to get the polygon. This combo worked quite well for me (since the nominatim is very picky for the input address format) |
Whenever I search a query it always returns as point but not polygon or linestring. I can see the osm_type="R", but in geometry field always shows type="point". how can I get these polygon as geometry?
The text was updated successfully, but these errors were encountered: