OracleSpatial and polygons crossing the antimeridian

Frank Warmerdam warmerdam at POBOX.COM
Tue Feb 7 08:13:25 PST 2006


On 2/7/06, John Cartwright <John.C.Cartwright at noaa.gov> wrote:
> Hello All,
>
> I have a single polygon in oracle spatial (10.1) which crosses the
> antimeridian.  Displaying this polygon in an unprojected map (WGS84),
> shows the polygon incorrectly stretching across the globe in the
> longitude coordinate.  This is not entirely unexpected.  However, when I
> switch to an orthographic projection, I don't see the polygon displayed
> at all which suprises me.
>
> This looks like a symptom of bug 411 which was marked as resolved.
> Oracle itself seems to be treating the poly correctly since the geometry
> validates and a SDO_FILTER query returns the correct results.
>
> Should mapserver be able to handle polygons which cross the
> antimeridian?  I'm using mapserver 4.8.1 and the oraclespatial
> connection type.

John,

If you could prepare an example reproducing this
problem with the geometry as an inline feature, and
submit that through bugzilla, I am willing to take a look.

In theory this should work, but there are a number of points
at which things might be getting screwed up.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the MapServer-users mailing list