Hi to all, my request;
And my output kml is; But i wan't without water like this; How can i request a polygon area without water? asked 16 Jan '20, 09:37 roslyncompiler |
Nominatim can't do that. (The /reverse endpoint also doesn't support the answered 16 Jan '20, 13:38 mtmail So just to make sure, are there no way get only land area in nominatim?
(17 Jan '20, 08:45)
roslyncompiler
Yes, no way. Nominatim only returns places from the OSM data, it doesn't change the boundaries/polygons.
(17 Jan '20, 12:46)
mtmail
|
I'm afraid your links haven't worked. Perhaps you could update the question to provide them.
Which links? Screenshots? This is the request;
var request = $"https://nominatim.openstreetmap.org/reverse?q=&polygon_kml=1&format=xml" + $"&place_id={feature.properties.place_id}" + $"&osm_id={feature.properties.osm_id}" + $"&lat={feature.geometry.coordinates[1].ToString(CultureInfo.InvariantCulture).Replace(",", ".")}" + $"&lon={feature.geometry.coordinates[0].ToString(CultureInfo.InvariantCulture).Replace(",", ".")}&class=boundary&type=administrative&osm_type=R";
The image hoster seems to be a bit unreliable. Reloading the images a couple of times made them show up here.
I've changed to host. Sorry about that.