[mkgmap-dev] Address & city country name assignment.From Robert Vollmert rvollmert-lists at gmx.net on Wed Feb 16 14:40:45 GMT 2011
On Feb 16, 2011, at 15:20, Dermot McNally wrote: > On 16 February 2011 13:28, Robert Vollmert <rvollmert-lists at gmx.net> wrote: > >> My suggestion would be to move region (country, city) detection into a preprocessing step, outside of mkgmap. That is, some other tool preprocesses and normalizes the osm data and assigns consistent is_in tags. Then mkgmap looks only at the is_in tags. > > That was actually my first thought on how to improve things. But the > problem is that you would potentially be doing this: > > * Obtain hierarchy where the role of each element is known > * Flatten this into an ordered list of elements, still respecting a > hierarchy as best you can, but discarding the knowledge of roles > * Bring this flattened version of the data into mkgmap and attempt to > use the existing hints to extrapolate the knowledge of the roles that > you only just threw away in the last step. 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? Cheers Robert
- Previous message: [mkgmap-dev] Address & city country name assignment.
- Next message: [mkgmap-dev] Address & city country name assignment.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list