Re: v.out.ogr not working

Markus Metz <[email protected]>
Newsgroups gmane.comp.gis.grass.user
Message-ID <CAG+h=FELX7DJtkTCa77dvRL=aUUEzf_fuRfJXZNAFUFhxZQA+A@mail.gmail.com>
On Wed, Jan 10, 2018 at 7:24 AM, Markus Neteler <[email protected]> wrote:
>
>
>
> Am 10.01.2018 1:56 vorm. schrieb "alassane toure" <[email protected]>:
>
> Group,
> I have been spending a lot of time on this and I need help.  I am using
grass72/ gdal2.2 and both my python script and grass72 are not producing
the expected output when i run v.out.ogr! v.in.ogr does work though!
>
> v.out.ogr input=parcel type=area output=/home/atourej/Data/prcl.shp
>
>
> GRASS GIS uses its internal vector format, so v.out.ogr just expects a
map name.

No, v.out.ogr expects an OGR datasource and optionally an OGR layer.

Try
v.out.ogr input=parcel type=area output=/home/atourej/Data output_layer=prcl

If this is also not working, please post the messages/warnings/errors of
v.out.ogr.

Markus M

>
> If you want to write out SHP or other formats directly, check
>
> https://grass.osgeo.org/grass72/manuals/v.external.out.html
>
> HTH,
> Markus
>
>
> _______________________________________________
> grass-user mailing list
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/grass-user

_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.