[postgis-devel] Nice diagrams

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Tue Jul 22 01:37:22 PDT 2008


Obe, Regina wrote:

>>   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.

Sounds good to me.

> 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.

Yeah, I suspect that automatically generating the results from a 
shapefile will still require extra fiddling, although it could be a good 
starting point. My feeling is that it is more likely to be the styling 
of the images that will change rather than the contents, and it's 
probably just as easy to make the content changes using a program such 
as Inkscape.


ATB,

Mark.

-- 
Mark Cave-Ayland
Sirius Corporation - The Open Source Experts
http://www.siriusit.co.uk
T: +44 870 608 0063



More information about the postgis-devel mailing list