[mapserver-users] Java Applet Development
Kieran J. Ames
kames at keyspanenergy.com
Thu Aug 23 11:43:59 EDT 2001
Thanks to all for the input. However, I must have some kind of MENTAL
BLOCK going on. I can't seem to visualize the link from a Perl generated
MAP file to the ROSA applet.
I usually create my shapefiles and mapfile on the fly based on user
input and deliver the user to a page containing the mapimage applet...
(my mapserver template file).
I can't make the leap over to the Rosa applet. Would I merely build a
page on-the-fly using Perl and point to the image I made with the
Mapserver cgi? If so, how would I define PIXEL_SIZE? And what about
zooming? The ec_species_e.phtml FORM action points to
ec_species_e.phtml and this is a PHP interface. What would I point to to
have Perl/Mapserver get involved to create a new image.
Thanks so much in advance. Sorry if this is basic stuff, but like I
said... I just haven't been able to make the connection between these
Janet Ciavarelli wrote:
> Is the Rosa applet only available in the PHP environment?
> >>> Daniel Morissette <morissette at dmsolutions.ca> 08/13/01 07:29AM >>>
> The ROSA applet can do exactly that... see section "4 - distance
> measurement tool" in the ROSA docs at
> You can see an example of it in use in Environment Canada's species at
> risk application at
> The measured distance is displayed in the status bar of the browser
> window... no need to say that the distance is only approximative due
> the projection issues that you mentioned.
> Best Regards,
> "Kieran J. Ames" wrote:
> > Are there any users/developers who have played with a Java interface
> > MapServer data, other than the wonderful mapimage applet?
> > I'm thinking of a measuring tool that could be used to make a
> > rudimentary ruler, where a user could click from
> > point-to-point-to-point, drawing a line and getting an indication of
> > length of the line that was drawn.
> > The maps I render are typically only in the "town/neighborhood"
> > and I can't speak to great-circles, projections vs decimal degrees,
> > But I would think that a map that has a given extent would have some
> > sort of distance per pixel value that could be calculated and
> applied to
> > a line drawing tool. Specifically, I'd like to be able to offer the
> > the ability to get an Ad-Hoc distance estimate when viewing a
> > neighborhood by "tracing" a line over the streets they're viewing
> > figure out how many linear feet (meters/yards) were traveled: as
> > to "as the crow flies" straight line distances.
> > Any Java-wise users out there that have explored this kind of
> > functionality?
> > Thanks,
> > Kieran
More information about the mapserver-users