[GRASS-user] Dsn error in Window$

Markus Metz markus.metz.giswork at googlemail.com
Thu Sep 17 12:28:07 EDT 2009


Since this is windows, would

v.out.ogr -e input=hidro3D at PERMANENT dsn="C:\tmp\hidro3D" olayer=hidro3D

work? Note \ instead of / in the path name.

Markus M



Vincent Blanqué wrote:
> @emmanuel:
> v.out.ogr -e input=hidro3D at PERMANENT dsn=C:/tmp/hidro3D
> (Thu Sep 17 11:48:08 2009) Command finished (1 sec)
> But I get a Window$ bug: "v.out.ogr.exe" has stopped to work.
>
> @kapo:
> v.out.ogr -e input=hidro3D at PERMANENT dsn=C:/tmp/ olayer=hidro3D
> ERROR 1: Failed to create directory C:/tmp/
> for shapefile datastore.
>
> Thanks, both solutions does not work, I will get rid of Window$ !!!
>
>
>
> kapo coulibaly a écrit :
>   
>> Or you can add a name for the output file this way:
>>  v.out.ogr -e input=hidro3D at PERMANENT dsn=C:/tmp/ olayer=hidro3D
>>
>> 2009/9/17 maning sambale <emmanuel.sambale at gmail.com>
>>
>>     
>>> afaik,
>>>
>>> it should be:
>>>  v.out.ogr -e input=hidro3D at PERMANENT dsn=C:/tmp/hidro3D
>>>
>>> On 9/17/09, Vincent Blanqué <vincent.blanque at oriondata.cl> wrote:
>>>       
>>>> Hi,
>>>>
>>>> It's my first post here. I am quite happy to join the powerful world of
>>>> GRASS. My first good impression is with the 'v.drape' process.
>>>>
>>>> With the 'v.out.ogr' command, I get an issue with the dsn parameter.
>>>> I tried various syntax for dsn "path & filename" but none works fine.
>>>>
>>>> v.out.ogr -e --verbose input=hidro3D at PERMANENT dsn=C:/tmp/hidro3D.shp
>>>>
>>>>
>>>> v.out.ogr -e --verbose input=hidro3D at PERMANENT dsn="C:/tmp/hidro3D.shp"
>>>>
>>>> ERROR 1: Failed to create directory "C:/tmp/hidro3D.shp"
>>>> for shapefile datastore.
>>>>
>>>> v.out.ogr -e input=hidro3D at PERMANENT dsn=/c/tmp/hidro3D.shp
>>>>
>>>> I am using GRASS 6.4.0svn (2009) - Revision: 37101 in Windows Vista
>>>> (very bad choice).
>>>>
>>>> Do you know what happens ?
>>>>
>>>> In Linux Ubuntu, everything is great.
>>>>
>>>> see U,
>>>>
>>>> Vincent
>>>>
>>>>
>>>>
>>>>
>>>>         
>>> --
>>> cheers,
>>> maning
>>> ------------------------------------------------------
>>> "Freedom is still the most radical idea of all" -N.Branden
>>> wiki: http://esambale.wikispaces.com/
>>> blog: http://epsg4253.wordpress.com/
>>> ------------------------------------------------------
>>> _______________________________________________
>>> grass-user mailing list
>>> grass-user at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>>
>>>       
>
>   
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>   


More information about the grass-user mailing list