[Gdal-dev] WKB byte order and SWIG
Frank Warmerdam
warmerdam at pobox.com
Tue Jan 17 16:07:42 EST 2006
On 1/17/06, Charlie Savage <cfis at interserv.com> wrote:
> wkb1 = geom1.export_to_wkb()
>
> And have no idea that the result you just got back is wrong. I think
> that byteOrder should not have a default value - and if it must, it
> really should be wkbNDR.
Charlie,
The returned WKB isn't wrong, it is just slightly suboptimal for your
platform.
> Unless someone says something, I plan on removing the default value and
> making this a required parameter, just like it is in the C OGR API.
If you like, change the default wkbNDR, but please be very careful
about unnecessary changes that could break existing scripts.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the Gdal-dev
mailing list