#327: v.out.ogr does not export features when 'dsn' AND 'layer' options are given
-----------------------+----------------------------------------------------
Reporter: dylan | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: Vector | Version: svn-develbranch6
Keywords: v.out.ogr | Platform: Linux
Cpu: x86-32 |
-----------------------+----------------------------------------------------
# does not export any features,
# complaining that they don't have categories
v.out.ogr -c in=bugsites dsn=some_folder layer=new_shpfile
# exported expected features
v.out.ogr -c in=bugsites dsn=new_shpfile
This must be related to some magic associated with flag/option parsing.
#327: v.out.ogr does not export features when 'dsn' AND 'layer' options are given
-------------------------+--------------------------------------------------
Reporter: dylan | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: closed
Priority: major | Milestone: 6.4.0
Component: Vector | Version: svn-develbranch6
Resolution: worksforme | Keywords: v.out.ogr
Platform: Linux | Cpu: x86-32
-------------------------+--------------------------------------------------
Changes (by mlennert):
* status: new => closed
* resolution: => worksforme
Comment:
As defined in the man page:
{{{
layer=integer
Layer number
A single vector map can be connected to multiple database tables. This
number determines which table to use.
Default: 1
}}}
So your use of layer is incorrect.
Also, note that the default of type= is 'line,boundary', so if you are
trying to export areas, you will have to explicitly set type=area.
#327: v.out.ogr does not export features when 'dsn' AND 'layer' options are
given
-------------------------+-------------------------------------------------
- Reporter: dylan | Owner: grass-dev@lists.osgeo.org Type:
defect | Status: closed
Priority: major | Milestone: 6.4.0
Component: Vector | Version: svn-develbranch6
Resolution: worksforme | Keywords: v.out.ogr
Platform: Linux | Cpu: x86-32
-------------------------+-------------------------------------------------
- Changes (by mlennert):
* status: new => closed
* resolution: => worksforme
Comment:
As defined in the man page:
{{{
layer=integer
Layer number
A single vector map can be connected to multiple database tables. This
number determines which table to use.
Default: 1
}}}
So your use of layer is incorrect.
Also, note that the default of type= is 'line,boundary', so if you are
trying to export areas, you will have to explicitly set type=area.