<div dir="ltr">Hi list,<br><div><br>I'm trying to get some piece of code working with the csharp package of gdal. (NuGet GDAL / GDAL.Natve).<br>
<br>
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:<br>
<br>
using (OSGeo.OGR.Geometry geom = OSGeo.OGR.Ogr.CreateGeometryFromWkt(ref wkt, null))<br>{<br>    GmlString = geom.ExportToGML(new string[] { "FORMAT=GML3" });<br>}<br><br>
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.<br>
<br>
</div><div>Anybody tried this before?<br></div><div><br>
regards,<br>
Casper<br clear="all"><br><br>-- <br><br>Casper Span<br>T: <a href="https://twitter.com/#%21/Span_Droid" target="_blank">@Span_Droid</a><br>W: <a href="http://www.spatially-oriented.com" target="_blank">http://www.spatially-oriented.com</a><br>
M: <a href="mailto:info@spatially-oriented.com" target="_blank">info@spatially-oriented.com</a><br><br>
</div></div>