[postgis-users] AsSVG() and BOX3D related code in lwgeom_svg.c

strk at refractions.net strk at refractions.net
Mon Jan 24 01:36:03 PST 2005

On Sun, Jan 23, 2005 at 04:46:08PM +0100, klaus Förster wrote:
> i've just tested AsSVG() with PostGIS 1.0.0 RC1 and PostgreSQL8.0 and 
> noticed that all the BOX3D related code in lwgeom_svg.c that allowed to 
> deliver SVG-viewBox notation for BOX3D queries has been removed. Is this 
> due to the change to lwgeom as default geometry type? are there any 
> plans to bring it back again? i've tried to provide a patch, but didn't 
> succeed as the code has undergone a "Big layout change" as stated in the 
> cvs-log.

LWGEOM does not have a BOX-only subclass as it was with older representation.
If BOX handling has any special feature you'll need to add a couple
of overridden functions: AsSVG(box3d), AsSVG(box2d).
As an alternative, you could provide an AsSVGbox(geometry) using the
geometry's bounding box.


> thanks,
> klaus
> -- 
>          O-.
>          /_ )
>           | (U
> klaus*   /|
>         / /
>         ~ ~
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users


For standing up against patentability of software,

  Thank You, Poland!

Read the intervention:    http://kwiki.ffii.org/ConsPolon041221En
Send your thanks:         thankyoupoland.info
Read/do more:		  http://www.noepatents.org/

More information about the postgis-users mailing list