On Thu, Mar 22, 2012 at 7:05 PM, Christian Höhener
<christian.hoehe...@gmail.com> wrote:
>
> Caused by: org.geoserver.platform.ServiceException: java.io.IOException: 
> GetMap failed: 
> http://webmap.sz.ch/kkgeo_gws_sz/Request.aspx?SERVICE=WMS&LAYERS=Grundwasservorkommen&CRS=EPSG:21781&FORMAT=image%2Fpng&HEIGHT=760&TRANSPARENT=TRUE&REQUEST=GetMap&BBOX=695441.0,219962.2,699831.6,222627.4&WIDTH=1252&STYLES=&VERSION=1.3.0
>             at 
> org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:918)
>             at 
> org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:331)
>             ... 88 more
> Caused by: java.io.IOException: GetMap failed: 
> http://webmap.sz.ch/kkgeo_gws_sz/Request.aspx?SERVICE=WMS&LAYERS=Grundwasservorkommen&CRS=EPSG:21781&FORMAT=image%2Fpng&HEIGHT=760&TRANSPARENT=TRUE&REQUEST=GetMap&BBOX=695441.0,219962.2,699831.6,222627.4&WIDTH=1252&STYLES=&VERSION=1.3.0
>             at 
> org.geotools.map.WMSCoverageReader.getMap(WMSCoverageReader.java:301)
>             at 
> org.geotools.map.WMSCoverageReader.read(WMSCoverageReader.java:278)
>             at 
> org.geoserver.wms.map.RenderedImageMapOutputFormat.readBestCoverage(RenderedImageMapOutputFormat.java:1306)
>             at 
> org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:858)
>             ... 89 more


Look at that url, and see what the remote server says about the request:

<ServiceExceptionReport xmlns="http://www.opengis.net/ogc" version="1.3.0";>
<ServiceException code="">Maximum Width exceeded</ServiceException>
</ServiceExceptionReport>

Now, the capabilities of that server actually advertise such limits:

<LayerLimit>50</LayerLimit>
<MaxWidth>1200</MaxWidth>
<MaxHeight>1000</MaxHeight>

Theoretically we could take those into account, make N requests and
stitch them togheter. That requires quite a bit of work though

Cheers
Andrea

--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to