Hi,
From within the GeoServer App Welcome page, the GetCapabilities link of
wms returns a page with timeout error like below:
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and
then click the Refresh button, or try again later.
------------------------------------------------------------------------
--------
The operation was timed out. Error processing resource
'http://www.digitalearth.gov/wmt/xml/capabilities_1_1_1.dtd’.
1) Why is it referring to a resource from igitalearth.gov and timed
out? Pl. note that from the Demo section of GeoServer App, all the
dropdown request works well except the getMapSvg.url
(http://localhost:8080/geoserver/wms?request=GetMap&layers=bc_roads&bbox
=489153,5433000,529000,5460816&width=800&height=400&srs=EPSG:27354&style
s=normal&Format=image/svg+xml). This tries to download a file from the
geoserver without processing the script/code. 2) Why does this request
fails to execute?
I ll appreciate any response in this regard.
Regards,
Swapan Mazumdar
Hi,
Swapan Mazumdar wrote:
Hi,
From within the GeoServer App Welcome page, the GetCapabilities link of wms returns a page with timeout error like below:
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
The operation was timed out. Error processing resource 'http://www.digitalearth.gov/wmt/xml/capabilities_1_1_1.dtd’.
digitalearth.gov is the mandatory repository for the WMS dtd's. It seems that your browser (IE?) couldn't access that resource at the time when you made the query. Anyway, I suppose we should be allowed to reference a local copy of the WMS DTD's just as it is done with WFS schemas.
What geoserver people think?
1) Why is it referring to a resource from igitalearth.gov and timed out? Pl. note that from the Demo section of GeoServer App, all the dropdown request works well except the getMapSvg.url
(http://localhost:8080/geoserver/wms?request=GetMap&layers=bc_roads&bbox=489153,5433000,529000,5460816&width=800&height=400&srs=EPSG:27354&styles=normal&Format=image/svg+xml). This tries to download a file from the geoserver without processing the script/code. 2) Why does this request fails to execute?
I ll appreciate any response in this regard.
Svg is an XML image format developed by W3C. Currently no browsers except some versions of mozilla have native support for it, although they will in the short term since SVG is a w3c recomendation (== standard). So, in order to be able to load SVG images, your browser must have a plugin instaled. The most widely used is the Adobe SVG Viewer, wich you can download and install from Adobe's web site (http://www.adobe.com/svg/viewer/install/main.html)
Hope this helps. If not, please tell me, perhaps I missunderstand your problem/question.
Regards,
Gabriel Roldán.
Regards,
Swapan Mazumdar
Hi,
Gabriel Roldán a écrit:
>> The operation was timed out. Error processing resource
>> 'http://www.digitalearth.gov/wmt/xml/capabilities_1_1_1.dtd’.
>>
> digitalearth.gov is the mandatory repository for the WMS dtd's. It seems
> that your browser (IE?) couldn't access that resource at the time when
> you made the query.
Not a question of browser IMHO : rather a question of proxy server. As a workaround, one can try to run the JVM with http.proxyHost/proxyPort system properties (see http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html). However, this external resolution has a cost.
> Anyway, I suppose we should be allowed to reference
> a local copy of the WMS DTD's just as it is done with WFS schemas.
> What geoserver people think?
The best solution would be to use XML catalogs IMHO : see http://www.oasis-open.org/committees/entity/spec-2001-08-06.html. JAXP now fully supports those catalogs : see http://www.xml.com/pub/a/2004/03/03/catalogs.html.
Cheers,
--
Pierrick Brihaye, informaticien
Service régional de l'Inventaire
DRAC Bretagne
mailto:pierrick.brihaye@anonymised.com
+33 (0)2 99 29 67 78