Re: [gdal-dev] How robust is OGRSpatialReference::GetAuthorityCode?

2013-06-08 Thread Even Rouault
Le vendredi 07 juin 2013 06:50:26, David Strip a écrit : > How well does OGRSpatialReference::GetAuthorityCode perform in the wild > when handed a WKT? In particular, if I have satellite imagery from > someplace in the world that was ortho-rectified in a "sane" manner to a > national or state proje

[gdal-dev] How to create feature LineString in a Polygon shape file layer ?

2013-06-08 Thread taibc
Hi everyone, I used below codes to create ShapeFile layer OGRDataSource *poDS, *poSHPDS; OGRLayer *poSHPLayer; .. poSHPLayer = poSHPDS->CreateLayer (shpFileName, NULL, wkbPolygon , NULL); And I used below codes to create feature: OGRFeature *poSHPFeature; poSHPFeature = OGRFeature