[GRASS-user] osm data in grass

maning sambale emmanuel.sambale at gmail.com
Thu Dec 11 20:57:48 EST 2008


Hi,

AFAIK the v.in.osm is for the old API (0.4) of OSM.  You can't use it
for the current data. There are utilities to import OSM data to
various formats checkout their wiki:
http://wiki.openstreetmap.org/

But if you want GIS ready data derived from OSM, you can download
shapefiles here:
http://download.geofabrik.de/
and here
http://downloads.cloudmade.com/


On Fri, Dec 12, 2008 at 5:18 AM, Torsten Eckart <torecki at arcor.de> wrote:
> Hallo,
> could someone give me a hint how to import osm data in to a grass
> location.
> The module v.in.osm what I download from
> http://kripton.kripserver.net/software/v.in.osm/v.in.osm-2007-07-14-00
> gives not a good result:
> Reading from file /home/torsten/Arbeit/Gis/Daten/osm/heim.osm, writing
> to map heim Reading nodes ... [ OK ] (339 nodes)
> Reading segs ... [ OK ] (0 segments)
> Importing way 1/77 (ID: 3213956) can't read "segcounter": no such
> variable while executing
> "puts -nonewline "($segcounter segments) ...""
>    ("while" body line 58)
>    invoked from within
> "while {![eof $fchan]} {
>  gets $fchan line
>  if {[string match *<way\ id=* $line]} {
>    incr waycount
>    set list [split $line]
>    foreach elem $li..."
>    (file "/usr/lib/grass/scripts/v.in.osm" line 185)
>
> Additional I do not understand what properties the target location has
> to have. Do's v.in.osm transform the data into the right location e.g.:
> projection: 99 (Transverse Mercator)
> zone:       0
> datum:      potsdam
> ellipsoid:  bessel
> north:      5661000
> south:      5660000
> west:       5411000
> east:       5412000
> nsres:      1
> ewres:      1
> rows:       1000
> cols:       1000
> cells:      1000000
>
> Thanks for Your help.
> Torsten
> --
> Chatterreichbarkeit:
> ecki at jabber.chaotic.de
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>



-- 
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------


More information about the grass-user mailing list