Why not ask your question on the new OpenStreetMap Community Forum?

I have server with installed Nominatim. I would like to use it without setting up a website. Is it possible to make direct (without using HTTP) request to Nominatim on own server? What I need to do it? Thank you.

asked 12 Jan '15, 14:09

yaahor's gravatar image

accept rate: 0%

edited 12 Jan '15, 14:36

There is a small command line tool ./utils/query.php which you can use to search without using the web interface. It has been written for testing the database, so it is not as powerful as the web API in terms of configuration parameters. It only supports JSON output and no reverse geocoding. But it should provide a good starting point and is easily extendible for your own needs.

permanent link

answered 12 Jan '15, 16:53

lonvia's gravatar image

accept rate: 40%

The Geocoder that extracts information from Nominatim's database is written in PHP, so you could use that library in your code. Alternatively, you could extract the SQL statements the library uses to use in your own library if you want to reimplement it in another language. In either case you would import the OSM data using osm2pgsql in the same way as a full Nominatim installation.

permanent link

answered 12 Jan '15, 16:02

Jonathan%20Bennett's gravatar image

Jonathan Ben...
accept rate: 18%

Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 12 Jan '15, 14:09

question was seen: 3,152 times

last updated: 12 Jan '15, 16:53

powered by OSQA