[gdal-dev] Impossible to read wkbLineString25D geometry extent

aborruso aborruso at gmail.com
Thu Jan 14 14:33:10 PST 2016


Hi,
I have this CSV file:
WKT,id
"LINESTRINGZ (345033.07756361004 4221015.5546970163 50,330734.94084110629
4207332.313714385 50,331946.96878985036 4199477.8127947021
50,344424.26383262046 4197025.7027728558 50,351619.95001382299
4206318.4892121488 50,356988.82880540413 4212298.2940350361
50,354468.15432001976 4216289.6423741328 50,350024.21689256333
4219101.5936986133 50)",1

And this virtual file:
<OGRVRTDataSource>
    <OGRVRTLayer name="toto">
       <SrcDataSource>toto.csv</SrcDataSource>
      <GeometryType>wkbLineString25D</GeometryType>
 <LayerSRS>PROJCS["WGS 84 / UTM zone 33N",GEOGCS["WGS
84",DATUM["WGS_1984",SPHEROID["WGS
84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",15],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","32633"]]</LayerSRS>
 <GeometryField encoding="WKT" field='WKT' > </GeometryField >
     </OGRVRTLayer>
</OGRVRTDataSource>

When I run "ogrinfo myfile.vrt toto", I have no extent in the output. Is it
normal?

Thank you,

andy



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Impossible-to-read-wkbLineString25D-geometry-extent-tp5245452.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list