Hello,

I'm working in C# using the gdal c# wrappers and am trying to write multiple 
gps shape types (waypoints AND tracks AND routes) to a single GPX file.  When 
creating a GPX layer I am required to define an shape type:

layer = ds.CreateLayer(outputLayerName, 
sr,wkbGeometryType.wkbMultiLineString25D, new string[] { });

But if I do that then I can only write a single gps shape type to that file, 
otherwise I get an error:  "ogr_csharp - Features without geometry or with 
non-ponctual geomemetries not supported by GPX writer in waypoints layer."

[cid:image001.png@01CCDA7D.45A462B0]

Does anyone know what I may be doing wrong?

Thanks,

CHris



Chris Pouliot
GIS Application Developer
Minnesota Department of Natural Resources
christopher.poul...@state.mn.us
(651) 259-5491

<<inline: image001.png>>

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to