[postgis-devel] [PostGIS] #834: lw_collection_construct error

PostGIS trac at osgeo.org
Wed Feb 16 01:32:24 PST 2011


#834: lw_collection_construct error
-----------------------+----------------------------------------------------
 Reporter:  aperi2007  |       Owner:  pramsey      
     Type:  defect     |      Status:  new          
 Priority:  medium     |   Milestone:  PostGIS 2.0.0
Component:  postgis    |     Version:  1.5.X        
 Keywords:             |  
-----------------------+----------------------------------------------------
 On a postgres 9.0.3, postgis 2.0.0 trunk on a windows machine,
 executing this query:

 {{{
  select
   id,
   st_intersection(b.geom,st_exteriorring(a.geom)),
   b.geom
  from
   table_polygons as a,
   table_linestrings as b
  where
   a.id = b.id
   and
   st_containsproperly(a.geom,b.geom)=false
   and
   st_crosses(b.geom,a.geom)=true
  ;
 }}}

 I'm having these error:

 ERROR: lwcollection_construct: mixed dimension geometries: 2/0

 I see the geometries of the two tables "table_polygons", and
 "table_linestrings" are both valid for ST_IsValid().

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/834>
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