[Mapserver-users] Mouse Over

Charlton Purvis cpurvis at asg.sc.edu
Tue Mar 2 08:02:51 EST 2004


OK.  Thanks, Steve.
 
I've got a litlle of both working in my favor:  dashing a bit of CGI + a wallop of PHP for the final image + imagemap product.  It's working well.
 
But I've got another question that might start to bug me if it turns out to be true.  Let's take your example of Minn. and the county names.  (Consider using SC data and counties -- we've got great backwards county names.)  How many passes is that making through the data?  2?  1 for the image + 1 for the imagemap?  Does any kind of caching go on behind the scenes for that 2nd request if there is one?
 
I'm not too worried about it right now since I know that the database is caching my 1st request (if there is a 2nd).  But I'm about to unload a bucket load of raster data into the mix of shapefiles in the db, and I know that the system ain't caching squat for those (perhaps some OS-level file caching but that's it) -- tiling, yes, but caching, no?
 
If it is making 2 requests, is there a way I the code could be made more parallel?  I.e. one pass produces two or an arbitrary # of outputs.  I have negative interest in coding it myself at this point -- I'm more curious than anything.  But I think there would be great value in that.  At least I know from my own experience on a given screen, the same source data is being shown in about 3 different ways at a given time.  So why traverse it more than once?
 
Thanks,
 
Charlton

	-----Original Message----- 
	From: Steve Lime [mailto:steve.lime at dnr.state.mn.us] 
	Sent: Mon 3/1/2004 6:47 PM 
	To: Charlton Purvis; pucher at atlas.gis.univie.ac.at; Michael.Smith at erdc.usace.army.mil; mapserver-users at lists.gis.umn.edu; bartvde at xs4all.nl 
	Cc: 
	Subject: RE: [Mapserver-users] Mouse Over
	
	

	The searchmap stuff is inherently CGI. Since with MapScript you're
	essentially writing your own custom CGI you'd have to code it yourself.
	It's not hard, you just compute the extent of next image BEFORE doing
	the query. I thought templates can be accessed via MapScript but I may
	be wrong. If not, then they should be.





More information about the mapserver-users mailing list