[postgis-users] Re: How do you use PostGIS? (Carlos Fernando =?iso-8859-1?q?Gon=E7alves/CEM?=)

Darren Houston dhouston at beyondcompliance.ca
Mon May 2 13:34:19 PDT 2005


Hi Carlos,

SVG in PostGIS does have relative coordinates, and a precision modifier.
SELECT AsSvg(geometry,[rel],[precision]) FROM <table>

assvg(the_geom,1,0) gives relative coordinates with no decimal places. It 
greatly reduces file size.

Hope this helps,

Darren H. 

On May 2, 2005 01:46 pm, Carlos Gonçalves wrote:
> Hi Paul Ramsey.
>
> >>> - Name of the organization
>
> Center for Metropolitan Studies of the Metropolitan Region of São
> Paulo(Brasil) http://www.centrodametropole.org.br/ENGLISH/home.html
>
> >>> - Data being managed in the database
>
> Models data schools, health, elections and formal companies.
>
> >>> - How the data is being accessed / manipulated
>
> Java, Servlet, JSP for for management of maps SVG for dissemination
>
> >>> - Why you chose to use PostGIS for the application
>
> 1. It works.
> 2. It is a good alternative for paid products
> 3. One open source well mature and robust.
> 4. I like to work in projects with open source
>
> >>> - And also for our edification and strategic planning:
> >>>
> >>> - What PostGIS feature or PostGIS-related software (not necessarily
>
> internal to PostGIS) would make your life much easier/better?
>
> Relative coordinates in SVG to diminish size of archives



More information about the postgis-users mailing list