Hi list,

I'm trying to get some piece of code working with the csharp package of
gdal. (NuGet GDAL / GDAL.Natve).

Basically, I need to port a geometry to GML3.1.1. According to the
documentation, all I need to do is add an option "FORMAT=GML3", so I tried
that:

using (OSGeo.OGR.Geometry geom = OSGeo.OGR.Ogr.CreateGeometryFromWkt(ref
wkt, null))
{
    GmlString = geom.ExportToGML(new string[] { "FORMAT=GML3" });
}

But it will still return a GML2 (=default when not using any options) text.
It really doesn't matter what I pass as an option, it will always just
return a GML2 string.

Anybody tried this before?

regards,
Casper


-- 

Casper Span
T: @Span_Droid <https://twitter.com/#%21/Span_Droid>
W: http://www.spatially-oriented.com
M: [email protected]
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to