[postgis-devel] ST_ShiftLongitude
strk
strk at keybit.net
Tue Feb 23 07:02:12 PST 2010
On Tue, Feb 23, 2010 at 06:43:50AM -0800, Paul Ramsey wrote:
> How about this?
>
> insert into spatial_ref_sys (srid, proj4text) values
> (444444,'+proj=longlat +pm=40 +ellps=WGS84 +no_defs');
> select asewkt(transform('SRID=4326;POINT(0 0)',444444));
>
> asewkt
> --------------------------
> SRID=444444;POINT(-40 0)
> (1 row)
That doesn't really help, just moves the whole map.
What I need is to take westmost features and move *only them*
to the east side.
I don't even need to change the projection, long-lat is good
enough, just want it represented from -30 to 330 rather than
from -180 to 180.
--strk;
() Free GIS & Flash consultant/developer
/\ http://foo.keybit.net/~strk/services.html
More information about the postgis-devel
mailing list