[postgis-devel] [PostGIS] #1170: North Pole Intersection fails with "Coordinate values out of range"
PostGIS
trac at osgeo.org
Thu Aug 25 09:55:10 PDT 2011
#1170: North Pole Intersection fails with "Coordinate values out of range"
----------------------+-----------------------------------------------------
Reporter: jgilman | Owner: pramsey
Type: defect | Status: new
Priority: critical | Milestone: PostGIS 1.5.4
Component: postgis | Version: 1.5.X
Keywords: |
----------------------+-----------------------------------------------------
The following sql correctly results in "POINT(0 90)".
select ST_AsText( ST_Intersection( ST_GeomFromText( 'POINT(0 90)'),
ST_GeomFromText( 'POINT(0 90)' ) ) );
If I change the geometry to geography it fails:
select ST_Intersection( ST_GeogFromText( 'POINT(0 90)'), ST_GeogFromText(
'POINT(0 90)' ) ) ;
ERROR: Coordinate values are out of range [-180 -90, 180 90] for
GEOGRAPHY type
CONTEXT: SQL function "st_intersection" statement 1
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1170>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list