[gdal-dev] Fwd: Question on valid shapefiles

Tim Keitt tkeitt at gmail.com
Wed Aug 25 09:44:23 EDT 2010


Maybe someone over here knows the answer?

THK


---------- Forwarded message ----------
From: Tim Keitt <tkeitt at gmail.com>
Date: Tue, Aug 24, 2010 at 7:41 PM
Subject: Question on valid shapefiles
To: qgis-developer <qgis-developer at lists.osgeo.org>


I am using OGR to write output from an application. The first few
lines from 'ogrinfo -al' is shown below. QGIS will not load it,
however I can display the line strings in R using rgdal. Is the
problem that the FID is type REAL? Can QGIS handle the "Line String"
type? I am not yet assigning an SRS either.

THK

INFO: Open of `test_mesh.shp'
     using driver `ESRI Shapefile' successful.

Layer name: test_mesh
Geometry: Line String
Feature Count: 32
Extent: (-2.606171, -0.077198) - (-1.017908, 1.051899)
Layer SRS WKT:
(unknown)
FID: Real (11.0)
OGRFeature(test_mesh):0
 FID (Real) =           0
 LINESTRING (-2.187155438493099 0.038231550177175,-1.944544004528339
0.53448727172605)



--
Timothy H. Keitt
http://www.keittlab.org/



-- 
Timothy H. Keitt
http://www.keittlab.org/


More information about the gdal-dev mailing list