[GRASS-dev] [GRASS GIS] #1478: Too many files in destination directory v.out.ogr, write fails

#1478: Too many files in destination directory v.out.ogr, write fails
-----------------------------------+----------------------------------------
Reporter: MarjanM444 | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Vector | Version: 6.4.1
Keywords: Export, vector, write | Platform: All
      Cpu: x86-64 |
-----------------------------------+----------------------------------------
If there are more than 1024(350?) files in destination directory, the
write is not successfull. THis was proven to be problem on Linux as MS
Windows platform. The problem is present for long time, please either
document the behaviour or present a workaround.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1478&gt;
GRASS GIS <http://grass.osgeo.org>

#1478: Too many files in destination directory v.out.ogr, write fails
-----------------------------------+----------------------------------------
Reporter: MarjanM444 | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Vector | Version: 6.4.1
Keywords: Export, vector, write | Platform: All
      Cpu: x86-64 |
-----------------------------------+----------------------------------------

Comment(by neteler):

What command failed (exact command line please)?

What is the file system you are using?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1478#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1478: Too many files in destination directory v.out.ogr, write fails
-----------------------------------+----------------------------------------
Reporter: MarjanM444 | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Vector | Version: 6.4.1
Keywords: Export, vector, write | Platform: All
      Cpu: x86-64 |
-----------------------------------+----------------------------------------

Comment(by MarjanM444):

v.out.ogr -p input=testvect type=area 'dsn=/home/user1' olayer=11 layer=1

Filesystem is ext4 on linux.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1478#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1478: Too many files in destination directory v.out.ogr, write fails
-----------------------------------+----------------------------------------
Reporter: MarjanM444 | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Vector | Version: 6.4.1
Keywords: Export, vector, write | Platform: All
      Cpu: x86-64 |
-----------------------------------+----------------------------------------

Comment(by glynn):

Replying to [ticket:1478 MarjanM444]:
> If there are more than 1024(350?) files in destination directory, the
write is not successfull. THis was proven to be problem on Linux as MS
Windows platform. The problem is present for long time, please either
document the behaviour or present a workaround.

v.out.ogr just passes the dsn= argument to OGR_Dr_CreateDataSource(). If
there's a problem, it's in OGR itself, so I can only suggest reporting
this to the GDAL/OGR maintainers.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1478#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#1478: Too many files in destination directory v.out.ogr, write fails
-------------------------+--------------------------------------------------
  Reporter: MarjanM444 | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone:
Component: Vector | Version: 6.4.1
Resolution: worksforme | Keywords: Export, vector, write
  Platform: All | Cpu: x86-64
-------------------------+--------------------------------------------------
Changes (by MarjanM444):

  * status: new => closed
  * resolution: => worksforme

Comment:

Replying to [comment:3 glynn]:
> Replying to [ticket:1478 MarjanM444]:
> > If there are more than 1024(350?) files in destination directory, the
write is not successfull. THis was proven to be problem on Linux as MS
Windows platform. The problem is present for long time, please either
document the behaviour or present a workaround.
>
> v.out.ogr just passes the dsn= argument to OGR_Dr_CreateDataSource(). If
there's a problem, it's in OGR itself, so I can only suggest reporting
this to the GDAL/OGR maintainers.

Thank you for your fast response. Will forward the problem to GDAL/OGR as
this bug is present for long time.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1478#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>