[Geomoose-users] Trouble with highlight on different server
Brian Fischer
bfischer at houstoneng.com
Thu Dec 6 12:17:20 PST 2012
Bob,
We just ran into something that I think might be related. I just had one of our programmers dig into it and here was his response. I need to dive into this a little more to understand it myself and see if we can prepare a patch if there is indeed a bug or something to do with our configuration of GeoMoose. Just seems similar and might be related to what you are experiencing.
"This is a bug with GeoMoose behind password protected sites. The php script didn't have the authentication to access the highlight map file because it is inside the htdocs folder. Inside the local_settings.ini file I added a username/password area and inside the print_util.php getImage function I set the authentication for a username/password. This might be useful to patch into GeoMoose. There also might be related bugs to this throughout GeoMoose."
More on this to come.
Brian Fischer, CFM
Principal | GIS Project Manager
Houston Engineering, Inc.
O 763.493.4522 | D 763.493.6664 | M 763.229.2734
From: geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Bistrais, Bob
Sent: Thursday, December 06, 2012 12:17 PM
To: eadam at co.lincoln.or.us
Cc: geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] Trouble with highlight on different server
Not much information coming from that. Below is what I came up with. Nothing unusual, and it compares exactly with what I get on my own machine on localhost, which shows the highlight. Not sure what's up with the blank map parameter though. But again, this also appears on localhost.
BBOX=343357.40582398,4813623.8438362,344636.53171902,4814126.6561628
COMPARITOR0=eq-str
COMPARITOR1=eq-str
FIELDNAME0=map_bk_lot
FIELDNAME1=town
FORMAT=image/png
HEIGHT=421
HIGHLIGHT=true
LAYER0=parcels/parcels
LAYERS=highlight
MAP=
OPERATOR1=and
SRS=EPSG:26919
TEMPLATE0=itemquery
TRANSPARENT=true
VALUE0=001-003
VALUE1=Acton
WIDTH=1071
format=image/jpeg
request=GetMap
service=WMS
styles=
version=1.1.1
From: Eli Adam [mailto:eadam at co.lincoln.or.us]
Sent: Thursday, December 06, 2012 12:47 PM
To: Bistrais, Bob
Cc: geomoose-users at lists.osgeo.org<mailto:geomoose-users at lists.osgeo.org>
Subject: Re: [Geomoose-users] Trouble with highlight on different server
On Thu, Dec 6, 2012 at 8:59 AM, Bistrais, Bob <Bob.Bistrais at maine.gov<mailto:Bob.Bistrais at maine.gov>> wrote:
My continuing saga of my parcel query... I got my query code set up so I'm happy with the function and performance. Now I'm having issue with the highlighting on a test server. On my own machine (i.e. Localhost), I got the query, zoom to selected parcel, and highlight selected parcel working. I migrated the code to a test server. Here, the query and zoom to the selected parcel work, but the highlight does not. Instead, I get the dreaded pink screen. I tried editing settings.ini and changed server_name to the server's name rather than localhost, but that didn't do the trick.
Go to the url of the pink screen, you will probably get a MapServer error (or mapserver.exe which is just an error written in xml so save it and open it with a text editor).
HTH, Eli
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org<mailto:Geomoose-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20121206/2d01854e/attachment.html>
More information about the Geomoose-users
mailing list