Hi Phil,
I discussed this with EPSG some years back - with respect to a coordinate system which replicated EPSG:4326 in a 0-360 longitude space (which I think would solve the ongoing 180 issues). They said that EPSG:4326 supported ±180 as well as 0-360 so there was no need for a new code, which I thought then, & still do, was a bit shortsighted - even if technically correct.
While ESRI can accept 0-360 data as EPSG:4326, any coordinate reprojection will always generate values in a ±180 space - a flag to specify which you want & convert accordingly is not available.
We have funded solutions in gdal & Postgis which work for points, & for lines & polygons which are not intersecting the 180 meridian, but have no solutions for such features which do. I have done this for some datasets, but it involves splitting & joining features as you note. This is non-trivial in the data as doing this changes feature ID’s - and I’m not aware of any rendering solution that successfly splits or joins the polygons on the fly. (Though you can “join” polygons that are split by plotting with no border, so the two parts appear as one).
The topological changes as well as reprojection is rquired. The geography datatype in Postgis is one step forward.
If you are looking for a collaborator & possible funder to support initiatives to address this in the OSGEO space, I’m there!!
Cheers,
Brent Wood
From: Phil Scadden <p.scadden@anonymised.com389…>
To: geoserver users geoserver-users@lists.sourceforge.net; geotools-gt2-users@lists.sourceforge.net
Sent: Thursday, February 13, 2014 9:41 AM
Subject: [Geoserver-users] Polygon’s crossing the 180 line. Has anyone got a successful recipe?
My usual experience with polygons that cross the 180 line, is that on
rendering, the polygon gets split on 180 with ugly line down the 180.
Data source is arcSDE. I am unsure whether the problem originates with
the store (ie arcSDE) or within geoserver. Polygons are rendered
correctly across other tile boundaries, but not this one. With line
geometries we have some success by generating the geometry offset
(entirely on one side of the 180) , and then shifting into correct
position, but doesnt work for polygons.
Does anyone have polygons rendering properly, and if so, how are you
doing it? (what data store, what extents/projection, how created).
Thanks
Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience. Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
Geoserver-users mailing list
Geoserver-users@anonymised.coms.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users