[mapserver-users] high quality print from external wms

DeDuikertjes DeDuikertjes at xs4all.nl
Wed Feb 3 09:59:32 EST 2010


Bart,

OK, I stand corrected!
Nice to see that there are actually people who know such things by heart.

Marco


Bart van den Eijnden schreef:
> Marco,
>
> this is not exactly right.
>
> Only WMS 1.3 has elements in the GetCapabilities response to advertize this limit (MaxWidth and MaxHeight). WMS 1.1.X did not have this mechanism.
>
> You are using MS 5.1, and there is no WMS 1.3 support in that version. So it's logical that Mapserver can't advertize those limits in WMS 1.1.X.
>
> Best regards,
> Bart
>
> On Feb 3, 2010, at 3:39 PM, DeDuikertjes wrote:
>
>   
>> Hi,
>>
>> WMS services do often have an upper limit for the output image size.
>>
>> According to WMS specs they should advertise that in response to a getcapabilities request.
>> Despite that, Mapserver doesn't always do that. At least my version (5.1) doesn't.
>>
>> Piecing together an image from smaller pieces isn't that easy when labels are involved (and perhaps also when hatch symbols are involved).
>>
>> Cheers, MArco
>>
>>
>> Rahkonen Jukka schreef:
>>     
>>> Hi,
>>>
>>> WMS servers have often an upper limit for the output image size.  If
>>> that is the case you can not do anything else than capture the print
>>> area in smaller pieces and combine them with your application.  Test the
>>> service by sending WMS calls manually with different HEIGHT and WIDTH
>>> parameters.
>>>
>>> -Jukka Rahkonen-
>>>  Puolesta Basti2025 wrote:
>>>
>>>   
>>>       
>>>> Hi all,
>>>> i got an external wms included in my mapfile, like this:
>>>>
>>>> LAYER
>>>> NAME 'grenzen_50000'
>>>> TYPE RASTER
>>>> STATUS ON
>>>> CONNECTION 'http://....????????????????..........?SERVICE=S&'
>>>> CONNECTIONTYPE WMS
>>>> METADATA
>>>> 'wms_srs' 'EPSG:31467'
>>>> 'wms_title' 'Grenzen 50000'
>>>> 'wms_name' 'grenzen_50000'
>>>> 'wms_format' 'image/png'
>>>> 'wms_server_version' '1.1.1'
>>>> 'wms_onlineresource'
>>>> 'http://....????????????????..........SERVICE=S&version=1.1.
>>>> 1&service=S&request=GetLegendGraphic&layer=grenzen_50000&for
>>>> mat=age/png&STYLEÞfault'
>>>> END
>>>> END
>>>>
>>>> Normaly the wms is not able to print with 288dpi.
>>>>
>>>> My question is, how can i mod my mapfile so that i can use high quality
>>>> print with an external wms.
>>>>
>>>> thx,
>>>> basti -- 
>>>> View this message in context: http://n2.nabble.com/high-quality-print-from-external-wms-tp45
>>>> 00369p4500369.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
>>>>
>>>>    
>>>>         
>>>  
>>>       
>> _______________________________________________
>> 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