[Qgis-developer] storing and reading WKT geom in non spatial Datasource

gene martin.laloux at gmail.com
Wed Sep 18 00:22:05 PDT 2013


I use it often with SQLite and an OGR Virtual format file:

<OGRVRTDataSource>
    <OGRVRTLayer name="test">
        <SrcDataSource>path/testwkt.sqlite</SrcDataSource> 
        <SrcLayer>geom</SrcLayer> 
        <GeometryType>wkbPolygon</GeometryType>
            <LayerSRS>EPSG:31370</LayerSRS>
        <GeometryField encoding="WKT" field="geom"/> 
    </OGRVRTLayer>	
</OGRVRTDataSource>

So, this should be possible with an ODBC connection (Microsoft Access or
Base)




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/storing-and-reading-WKT-geom-in-non-spatial-Datasource-tp5078296p5078399.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list