[GRASS-user] importing vmap1 data

Hi list,

Does somebody know how to import vmap1 data in GRASS?

Thanks,

Jaime


Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/

Le Lundi 19 Février 2007 14:10, Jaime Carrera a écrit :

Hi list,

Does somebody know how to import vmap1 data in GRASS?

Thanks,

Jaime

Hi,

First of all, you need to install gdal with the OGDI format support (not build
by default), so you probably need to build your own gdal-ogr command.

Then you can run :
ogr2ogr contourl.shp gltp:/vrf/mnt/data/v0eur/vmaplv0/eurnasia
“contourl@elev(*)_line”

to convert vmap to shapefile. Avoid to mix upper and lower case in your path !

Then you can import them into GRASS.

Regards,

Y.
--
Yves Jacolin
---
http://yjacolin.gloobe.org

On 19/02/07 14:34, Yves Jacolin wrote:

Le Lundi 19 Février 2007 14:10, Jaime Carrera a écrit :

Hi list,

Does somebody know how to import vmap1 data in GRASS?

Thanks,

Jaime

Hi,

First of all, you need to install gdal with the OGDI format support (not build by default), so you probably need to build your own gdal-ogr command.

Then you can run :
ogr2ogr contourl.shp gltp:/vrf/mnt/data/v0eur/vmaplv0/eurnasia “contourl@elev(*)_line”

to convert vmap to shapefile. Avoid to mix upper and lower case in your path !

Then you can import them into GRASS.

Also see Markus' article on VMAP0 in the GRASS newsletter Nr. 3:
http://grass.itc.it/newsletter/grassnews3.html

Moritz

ma, 2007-02-19 kello 15:02 +0100, Moritz Lennert kirjoitti:

On 19/02/07 14:34, Yves Jacolin wrote:
> Le Lundi 19 Février 2007 14:10, Jaime Carrera a écrit :
>> Hi list,
>>
>> Does somebody know how to import vmap1 data in GRASS?
>>
>> Thanks,
>>
>> Jaime
> Hi,
>
> First of all, you need to install gdal with the OGDI format support (not build
> by default), so you probably need to build your own gdal-ogr command.
>
> Then you can run :
> ogr2ogr contourl.shp gltp:/vrf/mnt/data/v0eur/vmaplv0/eurnasia
> “contourl@elev(*)_line”
>
> to convert vmap to shapefile. Avoid to mix upper and lower case in your path !
>
> Then you can import them into GRASS.

Also see Markus' article on VMAP0 in the GRASS newsletter Nr. 3:
http://grass.itc.it/newsletter/grassnews3.html

Moritz

Especially helpful is to notice, that the path name to your vmap0
directories should not contain UPPERCASE letters not any special
characters, \$_ and the like.

Harri K.

Yves Jacolin wrote on 02/19/2007 02:34 PM:

Le Lundi 19 Février 2007 14:10, Jaime Carrera a écrit :
  

Hi list,

Does somebody know how to import vmap1 data in GRASS?

Thanks,

Jaime
    

Hi,

First of all, you need to install gdal with the OGDI format support (not build by default), so you probably need to build your own gdal-ogr command.

Then you can run :
ogr2ogr contourl.shp gltp:/vrf/mnt/data/v0eur/vmaplv0/eurnasia “contourl@elev(*)_line”

to convert vmap to shapefile. Avoid to mix upper and lower case in your path !

Then you can import them into GRASS.
  

An (untested) alternative might be to get the FWtools which ship with OGDI driver
and convert to SHAPE or whatever there. Then v.in.ogr to import.
http://fwtools.maptools.org/

Markus