logo separator

[mkgmap-dev] Address & city country name assignment.

From Dermot McNally dermotm at gmail.com on Wed Feb 16 14:52:11 GMT 2011

On 16 February 2011 14:40, Robert Vollmert <rvollmert-lists at gmx.net> wrote:

> So instead of writing is_in tags, write the actual data as relations? One relation per street,  one relation per city, etc., with all streets as members in the corresponding city relation?

I wasn't thinking of trying to force the address data into OSM format
at all, but rather to store it away in a crude but persistent hash of
a sort that mkgmap could learn to consult. Part of my reason for this
is that I think the actual lookup of address data will be expensive,
so you won't want to refresh these data as often as you will your
planet extract - or at least, you'll want to confine you lookups to
places that either aren't in your cache because they are new or that
you have reason to suspect that a refresh is needed.

If the hash is keyed on a combination of OSM ID and version, that
could be the trigger for a fresh lookup from Nominatim or whatever
service proves most useful.

Dermot

-- 
--------------------------------------
Igaühel on siin oma laul
ja ma oma ei leiagi üles



More information about the mkgmap-dev mailing list