[Gdal-dev] C# ExportToWKB support

Tamas Szekeres szekerest at gmail.com
Thu Nov 23 18:05:11 EST 2006


Hi,

I've just added support for C# ExportToWKB. The following prototypes
were added to the Geometry class:

public int ExportToWkb(int bufLen, IntPtr buffer, int byte_order);
public int ExportToWkb( byte[] buffer, int byte_order );
public int ExportToWkb( byte[] buffer );

The latter internally uses ogr.wkbXDR as the byte_order.

I've also added a test sample (wkt2wkb) to test the conversion between
the wkt and the wkb representation.

It would be appreciated is someone confirmed me whether the resulting
wkb is correct.


Thanks,

Tamas Szekeres



More information about the Gdal-dev mailing list