The IsValid function does not exist unless you have JTS/GEOS support. Your geometry has nothing to do with this error message.

On the topic of your geometry, you can insert it, but in a planar interpretation of lon/lat, which is what we have, it will not be handled "right" in every case, and if it self-intersects in planar space (a common situation for pole-covering things) it will be "invalid". It will still be storable, though.

P

On 16-Jul-07, at 4:30 AM, Jørn Vegard Røsnes wrote:

Hi,

is it possible to insert polygons into PostGIS where the polygon "cross" the
north pole?

Example:

select isvalid('POLYGON((152.991022 78.938867,79.710092 68.321799,-50.514656
62.226884,-9.980464 56.376708, 152.991022 78.938867))');
ERROR: isvalid:: operation not implemented - compile PostGIS with JTS or GEOS
support

Will it help to compile PostGIS with GEOS/JTS support?

cheers
Jørn Vegard Røsnes


_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to