All,

Not sure if this is a postgis or geoerver problem, but I am continuing 
to have an issue with polys that straddle the date line. I have some 
polygon data originally digitized on Google Earth with longitude values 
0 - 360.  I insert these into a geometry-based table in postgis, and 
they display correctly in Geoserver.  A few of these polys return false 
for IsValid due to self-intersection, so I use MakeValid on them, test 
for validity, and they still look good in geoserver.  Now I try to put 
these data into a new postgis geography table. everything the same 
except casting the geom to geog (the_geom::geography).  I get a warning 
on a few of them: "NOTICE: Coordinate values were coerced into range 
[-180 -90, 180 90] for GEOGRAPHY". Then when displaying the new table in 
geoserver the polys now longer straddle the date line, turn inside-out, etc.

Any ideas are greatly appreciated.

Thanks,
Steve



------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to