0
votes
1answer
156 views

How to create feature LineString in a Polygon shape file layer (OGR/GDAL)?

I used below codes to create ShapeFile layer OGRDataSource *poDS, *poSHPDS; OGRLayer *poSHPLayer; ...... poSHPLayer = poSHPDS->CreateLayer (shpFileName, NULL, wkbPolygon , NULL); And I ...
0
votes
0answers
56 views

Asking about Convert Dgn to Shp and OGRLayer::SetSpatialFilter

I used the this function: ConvertDgnToShp to convert my dgn file to shp file. But, after converting, I can't select(chose) the small polygon (that is contained in another polygon, I used ArcMap to ...
0
votes
1answer
129 views

Can't convert geometry from Dgn file to Shape file?

I am using below codes to try convert geometry from a Dgn file to Shape file. But, I can't exit the Feature reading loop. Are there anyone know why and how to fix it ? Please download the dgn file ...
2
votes
0answers
116 views

Ogr: How to add layer description to dgn?

I have created a dgn-file using Ogr, but can't find a way to fill out the description for this layer programatically. (something like _dgnLayer.Description = "Highways") opts.Add("SEED=" + ...