Antwort: [mapserver-dev] PDF support wrap up...
umn-ms at hydrotec.de
umn-ms at hydrotec.de
Thu Jan 22 03:49:01 EST 2009
> Do you do any labeling with Mapserver? If so, any problems with
> label placement?
Sorry. I don't see your point . Label placement works like always... (?)
> What is the typical size (pixels/lines) of the PNG?
Important point.
* Papersize A4(210mm x 297mm ) and A3(297mm x 420mm)
* Maps cover about 80% of the Paper
* 150DPI
-> Approx 1,700,000 pixels for A4 and 3,400,000 pixels for A3.
We'd like to generate bigger Maps: More dpi, bigger papersizes.
Problem is not Mapserver but the PDF-Generator. (Runs out of memory).
In the case, that the generated pics become to large for mapserver,
one could use tiles. But this would not solve the memory-problem of the
PDF-generator.
> Where is the Mapserver-generated PNG integrated into the
> output document?
This is done by the Apache-FOP.
> How do you ensure the PNG is rendered to a specific scale (e.g.
1:50,000)?
The program controls the extent of the Map (in Meters).
The program controls the size of the image in the PDF (in mm).
-> Control over the scale.
Bye,
Benedikt Rothe
Brent Fraser <bfraser at geoanalytic.com> schrieb am 21.01.2009 17:38:28:
> Benedikt,
>
> I've got a few questions...
>
> umn-ms at hydrotec.de wrote:
> >
> > In some apps we create PDF with Java, XSLT an Apache/FOP.
> > * Spatial and non-spatial Data in relational Database
> > * Mapserver: Creates PNG-Map from Database
>
> Do you do any labeling with Mapserver? If so, any problems with
> label placement?
>
> What is the typical size (pixels/lines) of the PNG?
>
> > * Java: Create XML from Database
> > * XSLT: Create XSL-FO from XML (links to PNG)
>
> Is this where the Mapserver-generated PNG is integrated into the
> output document?
>
> > * Apache-FOP: Create PDF from XML (embedd PNG)
> >
> > Experience:
> > + Can tweak layout
> > + Map with true scale
>
> How do you ensure the PNG is rendered to a specific scale (e.g.
1:50,000)?
>
>
> Thanks!
> Brent Fraser
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20090122/4d0703da/attachment-0001.html
More information about the mapserver-dev
mailing list