[postgis-users] Bug fix for transform() function

Paul Ramsey pramsey at refractions.net
Wed Sep 4 10:29:07 PDT 2002


I am just thinking that an automatic typecast could fix alot of future 
box3d-does-not-work cases with other functions. What is the difference() 
of a box3d and a polygon, for example. Rather than fix all the cases 
individually, define the cast once.

Dave Blasby wrote:
> Paul Ramsey wrote:
> 
>>Would a type-cast which forces box3d into a polygonal envelope clean up
>>such problems? BTW, after transformation, is a box3d still rectangular?
> 
> 
> A BBOX just has the Bottom LL corner and Top UR corner in it. 
> Transform() now just
> transforms these 2 points, so the result is *always* rectangular.
> 
> 'envelope( <bbox-only geometry> )' will return a polygon.
> 
> dave
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
> 


-- 
       __
      /
      | Paul Ramsey
      | Refractions Research
      | Email: pramsey at refractions.net
      | Phone: (250) 885-0632
      \_





More information about the postgis-users mailing list