Hi Don,
The ArcIMS server has only been setup on our intranet so I can't offer a URL
for you to test against unfortunately.
The following is from the javadoc comments in WMSPlugin.java
/**
* This class asks for an image from an OpenGIS compliant Web Map
* Server (WMS). Make sure that OpenMap is using the LLXY projection,
* because this plugin is only asking for images that are in the
* Spatial Reference System EPS 4326 projection, and anything else
* won't match up. This class will be growing to be more interactive
* with the WMS.
*
* It has some properties that you can set in the openmap.properties file:
* <pre>
* #For the plugin layer
* pluginlayer.class=com.bbn.openmap.plugin.PlugInLayer
* pluginlayer.prettyName=Whatever
* pluginlayer.plugin=com.bbn.openmap.plugin.wms.WMSPlugIn
* pluginlayer.plugin.host=hostname
* pluginlayer.plugin.port=port number
* pluginlayer.plugin.format=image format (JPEG, GIF from WMTConstants.java)
* pluginlayer.plugin.transparent=true or false, depends on imageformat
* pluginlayer.plugin.backgroundColor=RGB hex string (RRGGBB)
* pluginlayer.plugin.wmscgi=part of URL that makes the request
(servlet/wms)
* pluginlayer.plugin.wmsversion=OpenGIS WMS version number (1.0.7)
* </pre>
*/
The "host" and "port" properties are never referenced in the code. "wmscgi"
is also only mentioned in the comments.
"wmsname" is defined and is read (if not null) but doesn't form part of the
URL for the query. I have no idea what it is for.
"wmsserver" seems to be the most important property and seems to replace the
need for host and port and wmscgi (possibly from previous versions) because
it is used in the code as a fully qualified URL of the WMS server without
the ?name=value parameters being appended. eg
http://host.domain.name/servlet/com.esri.wms.Esrimap
"backgroundColor" doesn't work because the capitalisation is wrong. It
should be "backgroundcolor". It is also falsely stated as being an RGB hex
string (RRGGBB) rather than a 0xRRGGBB color string as it needs to be for me
to get it to work.
"layers" is a very important property and the plugin does not work without
it being specified to a list of one or more correct layer names. This isn't
really explained in the javadocs.
I have modified the WMSPlugin layer to work with ArcIMS 3.1. The code is
attached.
-----Original Message-----
From: Donald Dietrick [mailto:dietrick@bbn.com]
Sent: Friday, 31 August 2001 2:39 AM
To: Kohler, Holger
Cc: openmap-users@bbn.com
Subject: Re: WMSPlugin
Hi Holder,
On Thursday, August 30, 2001, at 05:59 AM, Kohler, Holger wrote:
> Hello all,
>
> I've just attempted to get the WMSPlugin to display data from ESRI's
> ArcIMS
> 3.1 and failed. I am getting the following error:
>
> *** ERROR *** <?wms_xml version="1.0" encoding="Cp1252" standalone="yes"
> ?><WMTException version="1.0.0" Severity="Fatal" >Exception in sending
> image.</WMTException> *************
>
> I think this means that I am getting a successful hookup with ArcIMS
> but I
> have no idea why the data isn't coming through.
It does look like you are contacting the server. Is there a URL to use
to contact the server?
> Is there any other documentation on the WMSPlugin? I've found that the
> javadoc comments are inaccurate and miss out the crucial properties that
> need to be defined (eg wmsserver).
There isn't any other documentation on the WMSPlugin. Could you provide
more detail about the javadoc inaccuracies, and what properties you are
finding that need to be defined? It's quite possible that the plugin is
stuck on a certain version of the specification, and it certainly hasn't
been turned into a completely compliant client yet.
Regards,
Don
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Donald F. Dietrick, dietrick@bbn.com
BBN Technologies, 10 Moulton Street, Cambridge, MA 02138
617.873.3031 FAX 2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Mon Sep 3 06:08:00 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT