[postgis-devel] Nice diagrams

Obe, Regina robe.dnd at cityofboston.gov
Mon Jul 21 07:34:54 PDT 2008



> 1. PostGIS returns only the path element, so you'll have to add all
> other elements. I guess a template file and some script language is
the
> way to go.

> 2. I dunno, but I've found a site saying that "SVG is an open standard

> and works well with XSL-FO processors and PDF output." 
>  [http://www.sagehill.net/docbookxsl/SVGimages.html]
 
 
   
>   So, the proposal is to store the basic drawing in a SVG file
> and them use image magick to add effects and create EPS and PNG for
PDF
> and 
> web respectively ?

That was my thought - store in some vector format so all sorts of
resolutions can be accommodated and not worry about shadowing and all
that stuff in the core output format.  Use ImageMagick to do the fancy
fluffy stuff.

It may or may not be desirable to have shadowing in say PDF.  SVG seems
like the easiest candidate to produce that core format and as you said
numerouse editors can output that.

As far as how we produce SVG hadn't thought much about it and not sure
it matters if we use InkScape or whatever.  OpenJump can Save As SVG,
and for me personally that would be my choice since I use it a lot for
ad hoc queries anyway.  I like that I can run my demo query, save as SVG
and be done with it.

For certain cases the raw PostGIS output even using a template would be
a hassle when we need to overlay to show different colors, points etc.
and so forth since it would almost guarantee manual fiddling.

Thanks,
Regina

-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.




More information about the postgis-devel mailing list