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

Search Results Description

2

I just got my first nominatim instance up and running! Very exciting. I've written a little PHP script to just return the results from Geocode.lookup(). Could someone explain what some of these parameters mean? I couldn't find a complete explanation on the wiki. In particular, I've noted the ones I'm unsure of with '?'s

osm_type:   ?
osm_id: Surrogate Key?
class:  ?
type:   ?
admin_level:    ?
rank_search:    Hierarchy Rank
rank_address:   Hierarchy Rank
place_id:   Surrogate Key?
country_code:   Country Abbr
langaddress:    Address
placename:  ?
ref:    ?
lon:    Longitude
lat:    Latitude
importance: Based on algorithm
addressimportance:  ?
extra_place ?
aBoundingBox    Bounding Box
label   ?
name    Full name
foundorder  ?

asked 06 Nov '13, 13:15

sbryfcz's gravatar image

sbryfcz
56558
accept rate: 0%

As you also ask for (at least for me) obvious details, I like to ask if you already read: https://wiki.openstreetmap.org/wiki/Nominatim#Parameters ?

(21 Nov '13, 16:05) iii

One Answer:

2

The source code now contains a short description of these fields. I also recommend to have a look at the SOTM'13 Nominatim presentation where a bit more on the background of the database schema is explained.

answered 23 Nov '13, 12:16

lonvia's gravatar image

lonvia
6.2k25789
accept rate: 40%

Source code available on GitHub .