probably not easy but we use:

geopy to calculate distances/scales/coordinates
geoserver to publish vector data to and style with an SLD
gdal_translate to retrieve a section of that SLD and other WMS sources
as mosaicked layers based on an xml definition
imagemagick to stitch and blend the layers together with transparency
Inkscape to create templates as svg's with measured sizes for the
scalebar and composite map
geodjango to tie it all together into the spatial database we use
(postgis) and produce the inkscape and gdal xml templates

This setup also allows us to provide a set of georeferenced mosaicked
images (png's for transparent layers, jpgs for imagery layers)
(gdal_translate produces reference files) and the finished map as a
zip for download. For reference an A3 jpg at 300dpi ~ 17MB (40MB zip),
and takes ~60 secs to produce while an A0 takes ~5 mins and is ~ 70MB
for the jpg (200MB zip).

The easy option is PDFit (firefox extension), but given screens have
different DPI's and openlayers assumes 75DPI your scalebars etc will
be wrong.

HTH.

On Aug 26, 12:26 am, rishark <[email protected]> wrote:
> hello all, I have the need to create reports and maps in pdf easily
> with data in a page with OpenLayers, which scripts or libraries,
> recommend.
>
> thanks for your time and help

Reply via email to