[gdal-dev] GRASS vector in a vrt file ?

gene martin.laloux at gmail.com
Wed Mar 14 02:57:06 EDT 2012


Hello,
Is it possible to use Grass  6.4 vector in a vrt file ? (I also posted this
question on the Grass-User list)
I try
<OGRVRTDataSource>
<OGRVRTLayer name="sond">
<SrcDataSource>/home/grassdata/geol/test/vector/sond/head</SrcDataSource>
<SrcLayer>1</SrcLayer>
</OGRVRTLayer>
<OGRVRTDataSource>

following  the specifications of http://www.gdal.org/ogr/drv_grass.html for
the Datasource name and the example of
http://lists.gispython.org/pipermail/community/2006-February/000184.html :
<OGRVRTDataSource>
<OGRVRTLayer name="wil">
<SrcDataSource
relativeToVRT="0">/path/to/grassdata/location/mapset/vector/wil/
head</SrcDataSource>
<SrcLayer>1</SrcLayer>
</OGRVRTLayer>
> OGRVRTDataSource>

without success. (with SrcLayer = 0 or 1, with or without relativeToVRT="0")

Thanks 

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/GRASS-vector-in-a-vrt-file-tp4577181p4577181.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list