This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

[closed] Extratags not being returned in reverse geocoding request

0

I have a private Nominatim installation. If I pass extratags=1 as a part of my reverse geocoding query nothing is returned. I have checked that the values exist in the placex table and they are being returned on the details.php page. Any further troubleshooting suggestions would be much appreciated. Thanks.

I'm running postgres v9.3 and Nominatim v2.5.1

asked 15 Oct '16, 00:54

cswrsinc's gravatar image

cswrsinc
61224
accept rate: 50%

closed 15 Oct '16, 12:31

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

The question has been closed for the following reason “Question is off-topic (unrelated problem of non-GIS software further down in the stack)” by aseerel4c26 15 Oct ‘16, 12:31


2 Answers:

1

I figured it out, it was a problem with the Apache VirtualHost actually pointing to the old site. After enabling NameVirtualHost all is well, thanks.

answered 15 Oct '16, 04:15

cswrsinc's gravatar image

cswrsinc
61224
accept rate: 50%

Thanks for the feedback. So it was not a Nominatim-related problem at all, right? Is it like this: You were essentially querying the wrong Nominatim instance?

(15 Oct '16, 12:27) aseerel4c26 ♦

No it wasn't...correct, I was still hitting 2.4.0.

(18 Oct '16, 20:26) cswrsinc

for the interested people some background: Ah, I see, "extratags" is a new (2.4 to current version 2.5) feature ("new namedetails and extratags parameters that expose the name and extratags fields of the placex table") of Nominatim.

(18 Oct '16, 21:15) aseerel4c26 ♦

0

Hmm, it should work like this http://nominatim.openstreetmap.org/reverse.php?format=json&lat=51&lon=11&extratags=1

Can you share the request URL and the response you get returned? Of course strip your domain name or any other personal information.

answered 15 Oct '16, 01:19

mtmail's gravatar image

mtmail
4.8k1574
accept rate: 27%

Source code available on GitHub .