[postgis-users] Using a buffer with a LineString covering the whole world

Paul Ramsey pramsey at opengeo.org
Wed Feb 11 08:58:16 PST 2009

I find running screaming into the hills helps.

Sorry, that's the use case (really large/long things) where there just
is no proper solution except to start writing code that works on a
sphere. Most things just aren't that long/large.  But a few are. I
would love it if someone/manyones would express their interest in
funding such a development.

Want a hack? Cut your line into 1000 smaller lines. Buffer all those
individually in a planar space. The union them all back together
again, in lon/lat.


On Wed, Feb 11, 2009 at 8:26 AM, Matthes Rieke
<matthes.rieke.01 at gmail.com> wrote:
> Hi all,
> I am currently running into this problem: I have a LineString in lat/long
> coordinates (SRID 4326 - going from USA to france). I now want to create a
> buffer in meters from this. So the normal way to transfrom the coordinates
> to a planar CRS, buffering, then transforming back to 4326 does not work
> (the Line is covering many UTM zones). What would be a reasonable solution
> for this problem?
> Thanks and regards,
> Matthes
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users

More information about the postgis-users mailing list