NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi all,

May I ask you a question? I have installed on a server Mapnik (for rendering and serving tiles) and Nominatim (for reverse geocoding). Both of them have imported a complete planet.osm file in PostgreSQL.

I would like to have a call (from Nominatim, maybe?) that tell me, in JSON format, passing a coordinate in lat/long format, if is a body water (Ocean, Sea, Lake or River). I don't need to do a reverse geocode (i.e. knowing what Sea it is). Just if is water or not.

Previous question asked also to recognize the name of the body water. For me, just a boolean would be perfect :)

Is this existing? Or I have to made my query on PostreSQL? Thank you!

asked 28 Jun '16, 17:13

Alby87's gravatar image

Alby87
26112
accept rate: 0%

edited 28 Jun '16, 17:14

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×144
×79
×17
×14
×8

question asked: 28 Jun '16, 17:13

question was seen: 3,443 times

last updated: 01 Jul '16, 15:19

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum