Simon,
Thanks for your help. The map comes up on the production site if I do:
URL: http://www.metoc.gov.au/wms/wmsconnector/com.esri.wms.Esrimap?ServiceName=dom_xbt_a
Protocol: Open GIS Map Service (ver 1.1.1)
Name: 2 [This is the layer name which gets appended to arguments as 'service=2', this gives the XBT drop points]
Description: XBT location
See record titled "RAN Digital XBT Temperature Profile Data - TESTONLY"
I tried the same on the Beta 4 MEST (Geonetwork v2.2) and as you said its broken (got 'Error on Page' from ie7).
The reason you could not see the service dom_xbt_a in the capabilities was that GetCapabilities just
brings up the default service 'metoc_mcsst_a'. You to need to enter
'REQUEST=GetCapabilities&ServiceName=dom_xbt_a&Service=WMS'
to see the capabilities of dom_xbt_a.
This is fine for showing 1 layer (the XBT locations, Layer name=2) but how could I get GeoNetwork/Intermap
to show the coastline and ocean which are layers 0 and 1 as well? Maybe someone who knows more about
esri's WMS could help.
Thanks,
Andrew
----- Original Message ----- From: "Simon Pigot" <sppigot@anonymised.com>
To: "Andrew Walsh" <awalsh@anonymised.com>
Cc: <geonetwork-devel@lists.sourceforge.net>
Sent: Tuesday, March 11, 2008 11:51 AM
Subject: Re: [GeoNetwork-devel] Getting WMS working with Geonetwork v2.2
Andrew Walsh wrote:
Dear users/developers,
I am using a modified version of Geonetwork v2.2.0 -svn revision 1153 for the BlueNet project in Australia.
! am trying to load a map from esri's web map server (WMS). The map loads OK when I put the
following URL into Internet explorer7 (ie7)
http://www.metoc.gov.au/wms/wmsconnector/com.esri.wms.Esrimap?VERSION=1.1.1&SRS=EPSG:4326&FORMAT=image/png&REQUEST=GetMap&BBOX=-180,-90,180,90&WIDTH=560&HEIGHT=350&LAYERS=0,1,2&ServiceName=dom_xbt_a
Hi Andrew,
gmd:URL should be:
http://www.metoc.gov.au/wms/wmsconnector/com.esri.wms.Esrimap
and gmd:name should be the name of the layer you want to get from the map service but that is not clear to me from your test URL above (maybe dom_xbt_a <http://www.metoc.gov.au/wms/wmsconnector/com.esri.wms.Esrimap?VERSION=1.1.1&SRS=EPSG:4326&FORMAT=image/png&REQUEST=GetMap&BBOX=-180,-90,180,90&WIDTH=560&HEIGHT=350&LAYERS=0,1,2&ServiceName=dom_xbt_a>? but I can't see that in the getcapabilities from that site so it's not likely to work) - the test URL you've given above doesn't use a standard way of specifying the layer name!
I can get your service to work by doing a getcapabilities and looking at the layers it returns and then specifying one of those by name - also works in the old bluenet MEST - search for the record with title ANDREW METOC TEST on http://bluenet.its.utas.edu.au - but as noted above I can't get the XBT lines like those returned in the test URL above because I can't see them in the WMS getcapabilities record(?).
I haven't had much experience with the esri wms stuff so maybe I'm just looking at it from the OGC standard wms point of view....
Cheers,
Simon
However it does not work from Geonetwork. When I click on the Interactive map button or the link
on the metadata form ie7 says 'Error on form' and the Intermap map viewer doesn't start.
FYI the following were entered in the Online resource the metadata form
URL - as above
Protocol: OGC Web Map Service (ver 1.1.1)
Name: I left it blank
Description: XBT location
The following is the XML metadata (sorry its not indented):
<gmd:transferOptions>
<gmd:MD_DigitalTransferOptions>
<gmd:onLine>
<gmd:CI_OnlineResource>
<gmd:linkage>
<gmd:URL>http://www.metoc.gov.au/wms/wmsconnector/com.esri.wms.Esrimap?VERSION=1.1.1&SRS=EPSG:4326&FORMAT=image/png&REQUEST=GetMap&BBOX=-180,-90,180,90&WIDTH=560&HEIGHT=350&LAYERS=0,1,2&ServiceName=dom_xbt_a</gmd:URL>
</gmd:linkage>
<gmd:protocol>
<gco:CharacterString>OGC:WMS-1.1.1-http-get-map</gco:CharacterString>
</gmd:protocol>
<gmd:name gco:nilReason="missing">
<gco:CharacterString/>
</gmd:name>
<gmd:description>
<gco:CharacterString>XBT location</gco:CharacterString>
</gmd:description>
</gmd:CI_OnlineResource>
</gmd:onLine>
</gmd:MD_DigitalTransferOptions>
</gmd:transferOptions>
Anything I should try/change to get this map to display in Geonetwork?
Any help greatly appreciated.
Thanks,
Andrew Walsh
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------------------------------------------------
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork