[postgis-tickets] [PostGIS] #2825: ST_Intersection broken with Z coordinates

PostGIS trac at osgeo.org
Mon Jul 7 10:20:26 PDT 2014


#2825: ST_Intersection broken with Z coordinates
---------------------+------------------------------------------------------
 Reporter:  TBL      |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.1.4
Component:  postgis  |     Version:  2.1.x        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by pramsey):

 Since I don't have your exact input line, I cannot duplicate, but building
 a regular line programmatically, I'm not seeing the same result:
 {{{
 with linestring as (
 select
 st_setsrid(st_makeline(st_makepoint((a-5000)/1000.0,(a-5000)/1000.0,a)),4326)
 as geom from generate_series(0,10000) as a
 ),
 polygon as (
 select ST_GeomFromText('POLYGON((0 0, 0 1, 1 1, 1 0, 0 0))', 4326) as
 geom)
 select st_astext(st_intersection(linestring.geom, polygon.geom)) from
 linestring, polygon
 }}}

 {{{
  POSTGIS="2.1.4dev r12671" GEOS="3.4.2-CAPI-1.8.2 r3921" PROJ="Rel. 4.8.0,
 6 March 2012" LIBXML="2.9.0" LIBJSON="UNKNOWN"
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2825#comment:3>
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