From: Tom A. <ta...@st...> - 2012-03-21 19:30:53
|
Sorry if this a repost - I sent the first one before I was a member of the group and don't know if it made it through. I really like geowebcache - we keep running into speed issues when accessing imagery and this will greatly improve it. But I have run into a problem with geowebcache reading layers from a WMS server http://data1.commons.psu.edu/arcgis/services/pasda/PAMAP_cycle2/MapServer/WMSServer?request=getcapabilities In the logs I find an error like this: 21 Mar 14:42:16 INFO [config.GetCapabilitiesConfiguration] - Found layer: 4 with LatLon bbox -76.94263,41.387217,-75.904373,42.030085 21 Mar 14:42:16 ERROR [config.GetCapabilitiesConfiguration] - Error creating 4: Can't parse CRS:84 as SRS string. It appears that geowebcache is explicitly looking for LatLon in that order, but the capabilities file from the WMS server returns it LonLat My research shows that CRS:84 is supposed presented in LonLat order, but geowebcache does not like it. As a result it drops the layer and I can't get it at all. Does anyone have some suggestions on how I can get past this problem? I've searched and searched only to get to the info that I presented. I have included a snipped from the WMS capabilities returned Thanks Tom <Layer queryable="1"> <Name>4</Name> <Title> <![CDATA[ PAMAP_Cycle2_PAN05 ]]> </Title> <Abstract> <![CDATA[ PAMAP_Cycle2_PAN05 ]]> </Abstract> <CRS>CRS:84</CRS> <CRS>EPSG:4326</CRS> <CRS>EPSG:2272</CRS> <EX_GeographicBoundingBox> <westBoundLongitude>-76.942630</westBoundLongitude> <eastBoundLongitude>-75.904373</eastBoundLongitude> <southBoundLatitude>41.387217</southBoundLatitude> <northBoundLatitude>42.030085</northBoundLatitude> </EX_GeographicBoundingBox> <BoundingBox CRS="CRS:84" minx="-76.942630" miny="41.387217" maxx="-75.904373" maxy="42.030085"/> <BoundingBox CRS="EPSG:4326" minx="41.387217" miny="-76.942630" maxx="42.030085" maxy="-75.904373"/> <BoundingBox CRS="EPSG:2272" minx="2190031.066044" miny="753451.195773" maxx="2470163.748282" maxy="983586.930671"/> <Style> <Name>default</Name> <Title>4</Title> <LegendURL width="129" height="86"> <Format>image/png</Format> <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"xlink:href=" http://data1.commons.psu.edu/arcgis/services/pasda/PAMAP_cycle2/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=4 " xlink:type="simple"/> </LegendURL> </Style> </Layer> -- Thomas Austin Stine Consulting Corporation 54 Old York Road Dillsburg, PA 17019 (717)432-0716 office (717)712-6557 cell (717)432-0004 fax ta...@st... |