[Qgis-developer] Question on valid shapefiles

Tim Keitt tkeitt at gmail.com
Tue Aug 24 13:41:46 EDT 2010


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/


More information about the Qgis-developer mailing list