[postgis-tickets] [PostGIS] #2987: ERROR: BOOM! Could not generate outside point!

PostGIS trac at osgeo.org
Fri Nov 7 12:19:37 PST 2014


#2987: ERROR:  BOOM! Could not generate outside point!
-------------------------+--------------------------------------------------
 Reporter:  jczaplewski  |       Owner:  pramsey      
     Type:  defect       |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.1.5
Component:  postgis      |     Version:  2.1.x        
 Keywords:               |  
-------------------------+--------------------------------------------------
 I keep seeing this error when using the geography data type in an
 ST_Intersects() in a WHERE clause. For example, my query currently looks
 like this:


 {{{
 SELECT gid, state FROM geologic_units WHERE
 ST_Intersects(the_geom::geography, (SELECT ST_Buffer('LINESTRING(-93
 44,-104 39)'::geography, 35000))
 }}}

 If I use geometry instead of geography, it works perfectly:


 {{{
 SELECT gid, state FROM .geologic_units WHERE ST_Intersects(the_geom,
 (SELECT ST_Buffer('SRID=4326;LINESTRING(-93 44,-104 39)', 1))) is true
 }}}

 Using PostGIS 2.1.0 with GEOS 3.3.8-CAPI-1.7.8 and GDAL 1.10.0. Any help
 would be greatly appreciated. Thanks!

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2987>
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-tickets mailing list