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

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Thu Feb 4 05:49:31 EST 2010


Hi,

Could you explain what request do you mean and where did you capture it?  How are you creating the requests that you send for your own WMS?  Is is some application that has a print option?
The request chain goes this way:

- You send (or your application sends) a WMS request for your own Mapserver with WIDTH and HEIGHT parameters. It is you who decides WIDTH and HEIGHT, not Mapserver.  You can copy and paste the WMS request and send it with web browser and edit WIDTH and HEIGHT parameters as you like if you do not have a control over the application.
- SIZE in mapfile does not have any effect with WMS.
- MAXSIZE of your own WMS may have an effect; if you ask for a bigger image than defined with MAXSIZE you won't get it.
- A request is sent to remote WMS.  It has its own rules and it may refuse to send you an image if the size is bigger than it accepts.


-Jukka-

 

> -----Alkuperäinen viesti-----
> Lähettäjä: mapserver-users-bounces at lists.osgeo.org 
> [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Basti2025
> Lähetetty: 4. helmikuuta 2010 11:23
> Vastaanottaja: mapserver-users at lists.osgeo.org
> Aihe: [mapserver-users] Re: high quality print from external wms
> 
> 
> Hi,
> thanks for all the answers.
> 
> I've checked out the following request:
> 
> http://????????????????????????????????????????????/Mapfiles/w
> ms_client_4.map&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYER
> S=grenzen_50000,grenzen_200000,grenzen_400000,grenzen_10000000
> 0,flaechen_5000,flaechen_20000,flaechen_100000,flaechen_200000
> ,flaechen_2000000,flaechen_100000000,gebaeude_flaechen_01,adre
> ssen,wasser_50000,wasser_100000,wasser_200000,wasser_500000,wa
> sser_1000000,wasser_100000000,strassen_br,strassen_20000,stras
> sen_50000,strassen_200000,strassen_400000,strassen_1000000,str
> assen_100000000,strassen_x,orte&STYLES=,,,,,,,,,,,,,,,,,,,,,,,
> ,,,&SRS=EPSG:31467&BBOX=3299936.509179781,5598000,3568000,5973
> 563.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-tp45
> 00369p4512400.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
> 


More information about the mapserver-users mailing list