[OSM-newbies] Bulk import of city limits from Brazil

Thomas Wood grand.edgemaster at gmail.com
Sun Jan 11 01:19:37 GMT 2009


2009/1/10 Vitor George <vitor.george at gmail.com>:
> Hi!
>
> I'm from the Project Brazil, and we are trying to import city limits from
> IBGE base to OSM.
>
> Arlindo Pereira has made a test with cities from Rio de Janeiro state.
>
> The original file is in dgn format. Using FWTools, he has generated a kml
> file with the following command:
>
>  ./FWTools-2.0.6/bin_safe/ogr2ogr -f "KML" rio.kml 33mu500g.dgn -nlt point.
>
> We checked this KML file with Google Earth, and it was ok. (screenshot:
> http://img83.imageshack.us/img83/7385/capturadetela1pr7.png)
>
> After that, we used gpsbabel to generate a GPX file, but, when opened in
> JOSM, the file seems to be corrupted. (screenshot:
> http://img296.imageshack.us/img296/8946/capturadetela2mh4.png)
>
> These are the files:
>
> http://rapidshare.com/files/181825250/33mu500g.dgn.html
> http://rapidshare.com/files/181825724/rio.kml.html
> http://rapidshare.com/files/181825895/rio.gpx.html
>
> Any help?
>
> Thanks in advance!
>
> Vitor
>

The problem with converting to GPX is that you lose all metadata that
may be present (if any is originally provided, that is)

GPSBabel does have an OSM XML output, I've not tested it so can't
comment on it. You should ensure that it produces reasonable output by
checking with josm before upload.

-- 
Regards,
Thomas Wood
(Edgemaster)




More information about the newbies mailing list