[Mapserver-users] mark many objects with a rubber band

Swaminathan, Gayathri gayathri at ou.edu
Wed Sep 17 10:47:59 EDT 2003


Tobias,
If I am understanding correctly here is what you want to do.

1) Have a mapserver form 

<form name=mapserv method=post action="/cgi-bin/mapserv>

<form method=GET action="[program]">
<Your image>
<Your mode>
<Your zoom settings>

<input type="hidden" name="imgxy" value="299.5 299.5"> --->indicates that
center of image is (299.5,299.5)
<input type="hidden" name="imgext" value="[mapext]">
<input type="hidden" name="map" value="[map]">

<input type="hidden" name="program" value="[program]">
.....
</form>

Basically the form above displays your image. 

2) Now onmouse down do rubber band
3) On mouseup get X,Y position then calculate your centerx, centery and have
this form submit that mapserver..

Under the utilities page of mapserver there is a rubber-band script which
kind of does this. The java-scripting in the rubber-band.zip is not complete
though. It will get you started some. Right now it works only for IE, you
will have to get your hands dirty to make it work for NS.

Also look in the gallery and see how the others are doing this using
javascript/mapplet/rosa. I am sure something might strike a spark.

Let me know if you problems doing the same. Will be more than glad to help.
Cheers,
Gayathri

-----Original Message-----
From: Tobias Macheleid [mailto:tma at archikart.de] 
Sent: Wednesday, September 17, 2003 9:18 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] mark many objects with a rubber band



Hi,

please can anybody tell me, how i mark many objects in an picture (from a
shape) with a "rubber band". The destination picture is to replace with the
new picture. Is there such a thing?

Sorry, for my bad English.
 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

thanks Tobias


_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list