[postgis-devel] longitudeWrap

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Wed Feb 24 02:29:30 PST 2010


strk wrote:

> If anyone wants to test the interface, here's the code:
> http://foo.keybit.net/~strk/tmp/longitudeWrap.sql
> 
> If you agree I'd put this in as ST_LongitudeWrap.
> 
> ST_shiftLongitude I don't like the automagic-symmetric
> hardcoded behaviour and the fact it acts point-by-point
> rather than geometry-by-geometry (the latter can produce
> badly invalid geometries, with lines spanning the whole world).

Any reason why it's not written in C? We really want to move to putting 
all functionality in liblwgeom for unit testing purposes...


ATB,

Mark.

-- 
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs



More information about the postgis-devel mailing list