[gdal-dev] couldn't create vrt file

ahmet temiz ahmettemiz88 at gmail.com
Sun Jun 27 13:13:32 EDT 2010


hello

I tried to use ogr2ogr for creating polygon vrt file.But I encountered
a problem:
Line 5: Didn't find expected '=' for value of attribute '�'.

polygon1.csv:

"Record_Id","wkb_Polygon"
"1",POLYGON(('501453.34 4800585.97,501576.14 4800590.44,501569.85
4800522,501471.61 4800521.63,501453.34 4800585.97'))

~~~~~~~~~~~

<OGRVRTDataSource>
	     <OGRVRTLayer name="polygon1">
	        <SrcDataSource >polygon1.csv</SrcDataSource>
                <GeometryType>wkbPolygon</GeometryType>
		<FID>Record_Id</FID>
                <GeometryField encoding=”WKT” field=”wkb_Polygon”/>
                <LayerSRS>EPSG:32636</LayerSRS>
            </OGRVRTLayer>
</OGRVRTDataSource>

I couldn't understand the problem.

regards

Ahmet Temiz


More information about the gdal-dev mailing list