[mapserver-users] Re: high quality print from external wms

Michael Schulz mschulz at webgis.de
Thu Feb 4 05:56:23 EST 2010


Hi Bastian,

set MAXSIZE to 10000, that's all you need. SIZE is not relevant in
this context. Maxsize defines the maximum pixel count off the bigger
edge of an image mapserver will create. If one edge is requested
bigger (in your case maxsize is set to 2048, but your getmap has
height=2496) you will get the error.

Cheers, Michael


2010/2/4 Basti2025 <bastian2025 at gmx.de>:
>
> Hi,
> thanks for all the answers.
>
> I've checked out the following request:
>
> http://????????????????????????????????????????????/Mapfiles/wms_client_4.map&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=grenzen_50000,grenzen_200000,grenzen_400000,grenzen_100000000,flaechen_5000,flaechen_20000,flaechen_100000,flaechen_200000,flaechen_2000000,flaechen_100000000,gebaeude_flaechen_01,adressen,wasser_50000,wasser_100000,wasser_200000,wasser_500000,wasser_1000000,wasser_100000000,strassen_br,strassen_20000,strassen_50000,strassen_200000,strassen_400000,strassen_1000000,strassen_100000000,strassen_x,orte&STYLES=,,,,,,,,,,,,,,,,,,,,,,,,,,&SRS=EPSG:31467&BBOX=3299936.509179781,5598000,3568000,5973563.328189&WIDTH=1780&HEIGHT=2496&FORMAT=image/png&BGCOLOR=0xffffff&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inimage
>
> I tried to set my MAXSIZE in the Mapfile to 2048 and SIZE to 2048 2048, but
> the request always said WIDTH=1780&HEIGHT=2496
>
> Is there any other option in the MAPFILE that i have to activate?
>
> regards
> Bastian
>
>
>
> --
> View this message in context: http://n2.nabble.com/high-quality-print-from-external-wms-tp4500369p4512284.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Aufwind durch Wissen!

Qualifizierte Open Source Schulungen bei der
http://www.foss-akademie.de/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-----------------------------------------------------------
Michael Schulz
mschulz at webgis.de

in medias res
Gesellschaft für Informationstechnologie mbH

+++ Bitte beachten Sie unsere neue Adresse und Durchwahl +++

Schwimmbadstraße 2
D-79100  Freiburg i. Br.

Tel:  +49 (0)761 705798-102
Tel:  +49 (0)761 705798-0
Fax: +49 (0)761 705798-09

+++ Bitte beachten Sie unsere neue Adresse und Durchwahl +++

http://www.webgis.de / http://www.zopecms.de
--------------------------------------------------------------
Geschäftsführer: Stefan Giese, Dr. Christof Lindenbeck
Eingetragen im Handelsregister HRB 5930 beim Amtsgericht Freiburg


More information about the mapserver-users mailing list