[GRASS-user] Dsn error in Window$

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@PERMANENT dsn=C:/tmp/hidro3D.shp

v.out.ogr -e --verbose input=hidro3D@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@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

afaik,

it should be:
v.out.ogr -e input=hidro3D@PERMANENT dsn=C:/tmp/hidro3D

On 9/17/09, Vincent Blanqué <vincent.blanque@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@PERMANENT dsn=C:/tmp/hidro3D.shp

v.out.ogr -e --verbose input=hidro3D@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@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/
------------------------------------------------------

Or you can add a name for the output file this way:
v.out.ogr -e input=hidro3D@PERMANENT dsn=C:/tmp/ olayer=hidro3D

2009/9/17 maning sambale <emmanuel.sambale@gmail.com>

afaik,

it should be:
v.out.ogr -e input=hidro3D@PERMANENT dsn=C:/tmp/hidro3D

On 9/17/09, Vincent Blanqué <vincent.blanque@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@PERMANENT dsn=C:/tmp/hidro3D.shp

v.out.ogr -e --verbose input=hidro3D@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@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

@emmanuel:
v.out.ogr -e input=hidro3D@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@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@PERMANENT dsn=C:/tmp/ olayer=hidro3D

2009/9/17 maning sambale <emmanuel.sambale@gmail.com>

afaik,

it should be:
v.out.ogr -e input=hidro3D@PERMANENT dsn=C:/tmp/hidro3D

On 9/17/09, Vincent Blanqué <vincent.blanque@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@PERMANENT dsn=C:/tmp/hidro3D.shp

v.out.ogr -e --verbose input=hidro3D@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@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Since this is windows, would

v.out.ogr -e input=hidro3D@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@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@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@PERMANENT dsn=C:/tmp/ olayer=hidro3D

2009/9/17 maning sambale <emmanuel.sambale@gmail.com>

afaik,

it should be:
v.out.ogr -e input=hidro3D@PERMANENT dsn=C:/tmp/hidro3D

On 9/17/09, Vincent Blanqué <vincent.blanque@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@PERMANENT dsn=C:/tmp/hidro3D.shp

v.out.ogr -e --verbose input=hidro3D@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@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

  _______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
  

Neither works... Windows Vista has always strange behaviour. I hate it
more and more every day. But not all the profesional software works well
in Linux. So I will keep the double boot for a while.

Thx everybody for your help,

Markus Metz a écrit :

Since this is windows, would

v.out.ogr -e input=hidro3D@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@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@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@PERMANENT dsn=C:/tmp/ olayer=hidro3D

2009/9/17 maning sambale <emmanuel.sambale@gmail.com>

afaik,

it should be:
v.out.ogr -e input=hidro3D@PERMANENT dsn=C:/tmp/hidro3D

On 9/17/09, Vincent Blanqué <vincent.blanque@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@PERMANENT dsn=C:/tmp/hidro3D.shp

v.out.ogr -e --verbose input=hidro3D@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@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

  _______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
  

Vincent wrote:

Neither works... Windows Vista has always strange behaviour.

I am using GRASS 6.4.0svn (2009) - Revision: 37101 in Windows Vista

perhaps it is https://trac.osgeo.org/grass/ticket/634 ?
which was fixed in r38583 (Aug 2).

Try downloading a more recent copy of 6.4.0 if the one you had downloaded
is older than about two weeks ago. (the r37101 core library version is
not the GIS build version)

Hamish