Using Java with mapserver

Michael Hass mdh20 at axe.humboldt.edu
Tue Oct 26 08:47:53 PDT 1999


I'd be interested to see this posted so that we can try it out on our
project. It brings up another java question, when trying to run Example 5
with the java applet, I get an error that it can't load the applet
mapimage class mapimage. Is this a path problem or do I need the java
code?
Thanks,
Mike Hass
Research Assistant
Klamath River Restoration GIS
Humboldt State University
Arcata, CA

On Mon, 25 Oct 1999, Stephen Lime wrote:

> I've already done this. I have a little LiveConnect applet that 
> is used to do box zooms and/or selects. See the data deli
> (http://deli.dnr.state.mn.us/) for an example. On the deli the
> user pans/zooms using box or point/zoomsize controls and
> can go into a query mode that uses the same mechanism to
> create a query. If this looks like what you're interested in then
> I'll post the java code and instructions for use. Nice thing is that
> the applet is a whopping 6k in size, nice and small.
> 
> Note: the deli uses public methods within the applet to toggle
> box creation on/off. This makes the interface a little cleaner.
> So, for example, when zooming out you don't want to be able
> to drag a box.
> 
> Steve
> 
> Stephen Lime
> Internet Applications Analyst
> MIS Bureau - MN DNR
> 
> (651) 297-2937
> steve.lime at dnr.state.mn.us
> 
> >>> Doug Nebert <ddnebert at usgs.gov> 10/25 1:55 PM >>>
> I have a need to build a lightweight java applet that will permit 
> pan and zoom into a certain extent, then allow the user to drag a 
> rectangle (yes, java can do this!) to set an area of interest. The 
> result of all of this is a bit anticlimactic: I only need the 
> transformed coordinates of the rectangle fed to a containing HTML 
> as shared variables. I have a program that uses LiveConnect to pass 
> the java variables to the hosting form. But I was wondering if 
> someone else has some java stubs for making draw, pan, and zoom 
> requests of a mode=map service...
> 
> -- 
> Douglas D. Nebert
> Clearinghouse Coordinator 
> FGDC Secretariat	Phone: +1 703 648 4151	Fax: +1 703 648-5755	
> Pager Messaging: 	http://fgdclearhs.er.usgs.gov/dougmsg.html
> 
> 




More information about the MapServer-users mailing list