[OSM-talk] Import populated places from vmap0

D Tucny d at tucny.com
Thu Jan 22 03:47:49 GMT 2009


2009/1/22 Upliner Mikhalych <upliner at gmail.com>

> 2009/1/21 20:48 Hakan Tandogan wrote:
> > Maybe you could do a comparision to geonames.org, and add only places
> that
> > have a similiar spelling in their russian name?
> Geonames is rejected datasource for OSM according to wiki. So I'm not
> sure that it is good idea to use their data for import.
>

GNS however is a valid source...
http://earth-info.nga.mil/gns/html/index.html

The country file for russia is 28MB zipped (83MB unzipped) with 547909
records...

It's supposed to include a PC field for importance level, but, it doesn't
seem to be populated in the Russia data, also, supposed to include
population, but, that's also missing...

I modified my GNS extract script to interpret the data and merge the russian
cyrillic and local latin names into a single record... about 99% of records
have a latin format name, about 50% have cyrillic (judged by eye)...

I'm just looking at mapping the correct feature types and looking at the
possibility of matching administrative records to populated place records in
an attempt to calculate place size...

e.g.
Place with no indication of type of place
4       -3003991        6879674 56.851944       41.362222       565107
412144  37VFD4405303392 NO37-12 P       PPL             RS
21                                      NS rus                      ШУЯ
Шуя     Шуя     2007-02-12
4       -3003991        -4209549        56.851944       41.362222
565107  412144  37VFD4405303392 NO37-12 P       PPL             RS
21                                 NSHUYA   Shuya   Shuya   2007-02-12

and
Admin level 2 object mentioning it's a city...
4       210856  263607  56.85   41.366667       565100  412200
37VFD4433103185 NO37-12 A       ADM2            RS
21                                      N                  Gorod
GORODSHUYA      Gorod Shuya     Gorod Shuya     2007-02-12
4       210856  6678714 56.85   41.366667       565100  412200
37VFD4433103185 NO37-12 A       ADM2            RS
21                                      NS      rus        Город
ГОРОДШУЯ        Город Шуя       Город Шуя       2007-02-12
4       210856  6877547 56.85   41.366667       565100  412200
37VFD4433103185 NO37-12 A       ADM2            RS
21                                      NS      rus        Город
ГОРОДШУЯ        Город Шуя       Город Шуя       2007-02-12

Perhaps it might be best to just use the ADM objects rather than the PPL
objects, but, you can't get smaller places then and the ADM objects tend to
be placed further from the center of a place than the PPL objects...

d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20090122/4b544e62/attachment.html>


More information about the talk mailing list