[Geomoose-users] [Geomoose-developers] Highlight layer disappearing

Dan Little danlittle at yahoo.com
Wed Nov 19 09:17:25 EST 2008


You're exactly right on the template parsing, the Javascript is actually working as it was designed, it is mapserver's insistence on sending HTML errors that is actually causing a booger in the system.




________________________________
From: Nelson Soto <NSoto at plotplans.com>
To: Dan Little <danlittle at yahoo.com>; Adam Feidt <afeidt at edenprairie.org>; geomoose-developers at lists.sourceforge.net; geomoose-users at lists.sourceforge.net
Sent: Wednesday, November 19, 2008 8:15:28 AM
Subject: RE: [Geomoose-users] [Geomoose-developers] Highlight layer disappearing

 
Perhaps I’ll look into this and send
it along your way.
 
I know it’s hard to say, but do you
think the highlight.php could work as a link in place of the current javascript
highlight function that executes when clicking the magnifying glass? So, still
using the Mapserver CGI for the search, but highlighting and zooming specifically
with PHP.
 
I wonder if it really would work because
it seems the javascript function for highlighting isn’t what is broken,
it is the extents for the features being passed through during the template
parsing, I think.
 
None-the-less, if you think the above
mentioned approach in theory would supplement the javascript function, I’d
be happy to work on it.
 

________________________________
 
From:Dan Little [mailto:danlittle at yahoo.com] 
Sent: Wednesday, November 19, 2008
9:06 AM
To: Nelson Soto; Adam Feidt;
geomoose-developers at lists.sourceforge.net; geomoose-users at lists.sourceforge.net
Subject: Re: [Geomoose-users]
[Geomoose-developers] Highlight layer disappearing
 
This is definitely
getting looked at, but I'll be honest, I've got a new baby at home and we're
trying to get a beta of GeoMOOSE2 ready for everyone.

The "highlight" functionality is using a mapserver nquerymap. 
When mapserver finds something it shows the map, if the extents are away from
the highlighted image mapserver will return HTML saying, "nothing was
found here."  GeoMOOSE has built-in error detection.  If a
non-image is returned, it will put that layer on the "ignore" list
until it's given a different URL.  So there are two potential solutions:
1) Write a "highlight.php" which would work as a stand-in to
mapserver.  When nothing is found, instead of returning an error, it would
return a blank image of the request size.  This isn't terribly difficult
to write as it would be used in a limited context.
2) Try to increase the "smarts" in the error checking.  I would
like to avoid this as a solution as it requires changing code that is actually
working as it is intended.
 

________________________________
 
From:Nelson
Soto <NSoto at plotplans.com>
To: Adam Feidt
<afeidt at edenprairie.org>; geomoose-developers at lists.sourceforge.net;
geomoose-users at lists.sourceforge.net
Sent: Wednesday, November 19, 2008
6:31:20 AM
Subject: Re: [Geomoose-users]
[Geomoose-developers] Highlight layer disappearing


Sorry to hear that. To my knowledge
possibly could be fixed in the next version but I don’t think there is an ETA
on that. I have not come up with a work around but I think that if more people
experience this then it will get looked at more as well.
 

________________________________
 
From:Adam Feidt [mailto:afeidt at edenprairie.org] 
Sent: Tuesday, November 18, 2008
4:37 PM
To: geomoose-developers at lists.sourceforge.net; geomoose-users at lists.sourceforge.net
Subject: [Geomoose-developers]
Highlight layer disappearing
 
Did the bug for the highlight layer
disappearing get resolved yet?  I believe Neil Soto was having issues and now
I think I’m having
the same issues.  Any news would be appreciated.
 
Adam M. Feidt
GIS Coordinator
City of Eden Prairie
8080 Mitchell Rd
Eden Prairie, MN 55344
phone# 952-949-8443
fax# 952-949-8334


      
-------------- next part --------------
Skipped content of type multipart/related


More information about the Geomoose-users mailing list