[gdal-dev] OGR VRT with DMS possible ?
Holger
laebe at geomapping.de
Fri Dec 19 12:26:21 PST 2014
Hi,
I want to setup a VRT source like this
<OGRVRTDataSource>
<OGRVRTLayer name="Marks">
<SrcDataSource relativeToVRT="1">Marks.xlsx</SrcDataSource>
<GeometryType>wkbPoint</GeometryType>
<GeometryField encoding="PointFromColumns" reportSrcColumn="FALSE"
x="Field8" y="Field7"/>
<LayerSRS>EPSG:4326</LayerSRS>
</OGRVRTLayer>
</OGRVRTDataSource>
The problem is that the coordinates are specified like
24d23'23.6" 44d12'23.78
It looks like OGR doesn't interpret this well, because
ogrinfo -al marks.vrt
shows
POINT(240000000000000000000001111, 44.0)
as geometry. I couldn't find a hint whether or how this works.
TIA,
Holger
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/OGR-VRT-with-DMS-possible-tp5178611.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev
mailing list