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

Is there help available in internet on how to geocode using nominatim php scripts ? I don't wanna install webserver and query(geocode) using http protocol.

asked 09 Feb '17, 16:33

3yK's gravatar image

accept rate: 0%

edited 09 Feb '17, 16:33


Please don't cross-post on several forums. (https://github.com/twain47/Nominatim/issues/627 )

(09 Feb '17, 22:48) mtmail

This is not really a Nominatim specific question; if you have a little experience with PHP you can come up with generic answers to your question. For example, if you have a working Nominatim installation with the database loaded and all, you could run this from Nominatim's website directory:

php -r '$_GET["q"]="karlsruhe"; $_GET["format"]="jsonv2"; include("search.php");'

to call the standard search script and feed it with the search term "karlsruhe" and request a JSON response. Of course that's just a quick hack, and you would probably take search.php and modify it slightly so that it takes its search string from a file or directly from stdin.

From your other questions it appears that you might hope for a nicely documented, no-programming-required solution that will give you instant satisfaction. I am afraid such a solution does not exist; you will have to at least spend a little time reading up on PHP basics if you want to succeed.

permanent link

answered 09 Feb '17, 17:40

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

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: 09 Feb '17, 16:33

question was seen: 1,697 times

last updated: 10 Feb '17, 01:19

powered by OSQA