Re: [OpenMap Users] WMSPlugin newbie, question

From: Don Dietrick <dietrick_at_bbn.com>
Date: Fri, 28 Jul 2006 13:12:35 -0400

Hi Tim,

PlugIns are used by the PlugInLayer. It was an early design attempt
to separate data retrieval/OMGraphic creation from the Layer
superclass. The idea was that the plugin could also be used by a
server. We never got around to writing the server part.

You can use the WMSPlugIn in a standalone manner, I guess, but we've
never done that.

- Don

On Jul 28, 2006, at 10:47 AM, Tim Schreiner wrote:

> Don,
>
> Do you have an example of a Java app that uses a WMSPlugIn?
>
> All of the code I have wants to deal with OpenMap "Layers" and I
> don't think
> WMSPlugin is such a beast.
>
> Tim Schreiner
>
>
> -----Original Message-----
> From: Don Dietrick [mailto:dietrick_at_bbn.com]
> Sent: Thursday, July 27, 2006 4:21 PM
> To: Tim Schreiner
> Cc: openmap-users_at_bbn.com
> Subject: Re: [OpenMap Users] WMSPlugin newbie, question
>
> Hi Tim,
>
> Those settings worked for me in an application (except for the layer
> part - the server doesn't have a Coastline layer, but it sent back an
> error message).
>
> I don't think an applet can contact a different machine other than
> the one it was loaded from. It's part of the applet sandbox. You
> can set up a service on the applet host machine to relay queries for
> the applet, but the applet can't go there directly. I'm not sure why
> you are getting the error you are, though.
>
> Do you get the same problem if you run with your settings in an
> application?
>
> - Don
>
>
> On Jul 27, 2006, at 3:19 PM, Tim Schreiner wrote:
>
>> I have the Openmap sample java applet that I am using to display
>> various layers of data.
>>
>> One of the layers is data coming from a WMserver.
>>
>>
>>
>> I am using Openmap's WMSPlugin and have created these entries in my
>> openmap.properties file:
>>
>>
>>
>>
>>
>> wmspi_NHD.class=com.bbn.openmap.plugin.wms.WMSPlugIn
>>
>> wmspi_NHD.prettyName=Cubewerx WMS Server
>>
>> wmspi_NHD.wmsserver=http://demo.cubewerx.com/demo/cubeserv/
>> cubeserv.cgi
>>
>> wmspi_NHD.wmsversion=1.0.0
>>
>> wmspi_NHD.format=JPEG
>>
>> wmspi_NHD.transparent=true
>>
>> wmspi_NHD.backgroundcolor=0xbdde83
>>
>> wmspi_NHD.layers=Coastlines
>>
>>
>>
>> ..
>>
>> openmap.layers=date dtlayer distlayer quake daynight cities test
>> graticule demo shapePolitical wmspi_NHD
>>
>>
>>
>>
>>
>>
>>
>> I do see the wmspi_NHD layer in the list of layers within the
>> applet's gui, but when I toggle it on I don't see any of the data
>> from the wmspi_NHD object and I see this debugging msg in my
>> console window:
>>
>>
>>
>> Cubewerx WMS Server .addToBeanContext is true
>>
>> Cubewerx WMS Server |PlugInLayer.prepare()
>>
>> Cubewerx WMS Server |PlugInLayer.prepare(): No plugin in layer.
>>
>>
>>
>>
>>
>> What else do I need to do (perhaps programmatically) to see this
>> layer?
>>
>>
>>
>> TimS
>>
>>
>>
>
>
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Don Dietrick, dietrick_at_bbn.com
> BBN Technologies, Cambridge, MA
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>
>
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Jul 28 2006 - 13:13:24 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT