[Gdal-dev] Geometry.AddPoint_2D() method missing from OGR C# bindings?

Tamas Szekeres szekerest at gmail.com
Wed Jun 27 09:22:49 EDT 2007


2007/6/26, Simon Perkins <sy at perkins.net>:
> I noticed the other day that the OGR C# bindings for the Geometry class
> have the method AddPoint(double x, double y, double z) , but not
> AddPoint_2D(double x, double y). The latter corresponds to the C API
> function OGR_G_AddPoint_2D().
>
> I can use the 3 argument version, with z=0, but I've noticed that this
> results in my Polygon geometries being re-assigned a type of
> wkbPolygon25D, instead of wkbPolygon.
>
> Would it make sense for this method to be added?
>

I think that makes sense. Would you submit a ticket with this issue?

Best regards,

Tamas



More information about the Gdal-dev mailing list