[postgis-devel] [PostGIS] #571: TRIANGLE fails crash me test

PostGIS trac at osgeo.org
Tue Aug 17 11:27:53 PDT 2010


#571: TRIANGLE fails crash me test
----------------------+-----------------------------------------------------
  Reporter:  robe     |       Owner:  colivier     
      Type:  defect   |      Status:  closed       
  Priority:  medium   |   Milestone:  PostGIS 2.0.0
 Component:  postgis  |     Version:  trunk        
Resolution:  fixed    |    Keywords:               
----------------------+-----------------------------------------------------
Changes (by colivier):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Regina,

 Thanks for the report !
 Commited a fix as r5842

 Result look good:

 {{{
 foo=# SELECT ST_AsEWKT(ST_Affine(ST_GeomFromEWKT(
 'TRIANGLE ((
 0 0,
 0 9,
 9 0,
 0 0
 ))') , 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5));
               st_asewkt
 -------------------------------------
  TRIANGLE((0.5 0.5,5 5,5 5,0.5 0.5))
 (1 row)

 foo=# SELECT ST_AsEWKT(ST_Affine(ST_GeomFromEWKT(
 'POLYGON ((
 0 0,
 0 9,
 9 0,
 0 0
 ))') , 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5));
              st_asewkt
 ------------------------------------
  POLYGON((0.5 0.5,5 5,5 5,0.5 0.5))

 }}}

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