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

Hi all!

I was checking out this map creator page that uses OSM - http://developer.skobbler.de/mapcreator and I noticed there was an option to use transliteration. I was just wondering, is it possible to do this with reverse geocoding in Open Street Maps? It would just be super handy for me at the moment to specify the language results were coming back as.

Thanks Pete

asked 31 Oct '14, 23:10

Peteskiii's gravatar image

accept rate: 0%

There's even a URL parameter accept_language available in case you want to override your browser's default language. This might come in handy, if you call this stuff from your own web application.




permanent link

answered 01 Nov '14, 12:33

mmd's gravatar image

accept rate: 37%

Awesome! Thanks, that's perfect!

(01 Nov '14, 21:43) Peteskiii

The Nominatim geocoder honours the Accept-Language HTTP header and will return results in the requested language - only if it has been mapped of course. This has nothing to do with transliteration though, but instead just influences which name:xx tag will be used.

To see the difference, compare the output of

curl -H Accept-Language:de 'http://nominatim.openstreetmap.org/reverse?format=xml&lat=52.5487429714954&lon=-1.81602098644987'


curl -H Accept-Language:en 'http://nominatim.openstreetmap.org/reverse?format=xml&lat=52.5487429714954&lon=-1.81602098644987'
permanent link

answered 01 Nov '14, 00:34

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: 31 Oct '14, 23:10

question was seen: 16,126 times

last updated: 01 Nov '14, 21:45

powered by OSQA