[Geomoose-users] [Geomoose-developers] Searching Issue
Nelson Soto
NSoto at plotplans.com
Fri Jan 2 13:05:03 EST 2009
Take a look at the way you are naming your HTML files. It is possible
that you are using invalid characters that get through in FF but not IE.
Not likely, but possible.
Also, yes I have used the multiple search boxes with IE with success.
Unfortunately, GeoMoose hasn't reached a level of consistent usability
for the projects we desire so we have had to move away from it for now,
but I am anxiously waiting to see what the future has in store for it.
________________________________
From: Jay Kapalczynski [mailto:jkapalczynski at ci.maple-grove.mn.us]
Sent: Friday, January 02, 2009 11:05 AM
To: Jay Kapalczynski; geomoose-developers at lists.sourceforge.net;
geomoose-users at lists.sourceforge.net
Subject: Re: [Geomoose-developers] Searching Issue
EVEN more weird....
I tested this in Firefox and it worked perfect. I then created another
user and went in and deleted all the Cookies, Temp Files etc on my
computer.....( I had to do this last time when I had an image not
refreshing.) and went back into IE and it Still dosent work...went back
into Firefox and it worked great...
Could this be IE hanging up on something? Has anyone used the Multi
Search successfully in IE with multiple searches...
It appears that the specific search is trying to use the incorrect html
file....although in Firefox it works fine....
ANY thoughts...
THanks
From: Jay Kapalczynski
Sent: Friday, January 02, 2009 8:42 AM
To: Jay Kapalczynski; geomoose-developers at lists.sourceforge.net;
geomoose-users at lists.sourceforge.net
Subject: RE: Searching Issue
The weird thing is.....if I eliminate the code for the Address Search it
works fine. I add the code for Address Search and when I do A PID
Search it points to the ItemQuery_parcel_points.html ( the Address
Search) instead of the itemquery_parcels.html (the PID Search).
The code is not changing rather just adding code for another search...
The code is in two different folders and itemquery map files clearly
show the pointing to two different folders...
Any thoughts?
From: Jay Kapalczynski
Sent: Wednesday, December 31, 2008 3:50 PM
To: geomoose-developers at lists.sourceforge.net;
geomoose-users at lists.sourceforge.net
Subject: [Geomoose-developers] Searching Issue
I had this working at one point and then tried to add another search
(owner). Something got messed up so I am trying to start from the
beginning.
I have two searches (PID, Building Number) the PID is NOT working while
the Building Number is. My problem is that the code seems to be the
same to me...I cannot see the problem...
Maybe thinking that another pair of eyes can see the issue..
When I do a search for the Address is comes right up....when I do a
search for the PID it takes for EVER to run and then returns a ton of
results....it doesn't seem like it is looking at the PID number on the
search.
Any thoughts
Thanks
THIS IS FROM THE MG_demo.xml
<service title="Search for PID"
selectable="false" default="true" locked="true" div="PIDsearch">
<url>/cgi-bin/mapserv.exe</url>
<input type="hidden"
name="map"
value="/ms4w/apps/GeoMOOSE/Maple_Grove_GeoMoose/itemquery_PID.map"/>
<input type="hidden"
name="mode" value="nquery"/>
<input type="hidden"
name="layer" value="Parcels"/>
<input type="user"
name="id" title="Zoom to PID#:"/>
</service>
<service title="Search for Address"
selectable="false" default="true" locked="true" div="ADDRESSsearch">
<url>/cgi-bin/mapserv.exe</url>
<input type="hidden"
name="map"
value="/ms4w/apps/GeoMOOSE/Maple_Grove_GeoMoose/itemquery_ADDRESS.map"/>
<input type="hidden"
name="mode" value="nquery"/>
<input type="hidden"
name="layer" value="parcel_points"/>
<input type="user"
name="id" title="Zoom to Address:"/>
</service>
<service title="Search"
selectable="false" default="true" locked="true" type='multiform'
icon="shared/images/toolbar/MapleGrove_Buttons/spam.jpg"
highlight="shared/images/toolbar/MapleGrove_Buttons/spam.jpg">
<subform title="Search for PID"/>
<subform title="Search for Address"/>
</service>
THIS IS FROM MG_Demo.html
<div id="CustomForms">
<div id="PIDsearch">
<br></br>
<font
color="black"><b>Search for PID:</b></font><br/>
<input name="id"/><input
type="submit" value="Search"/>
<input type="hidden"
name="map"
value="/ms4w/apps/GeoMOOSE/Maple_Grove_GeoMoose/itemquery_PID.map"/>
<input type="hidden"
name="mode" value="nquery"/>
<br><i>Enter PID
number.<i/>
<br></br>
</div>
<div id="ADDRESSsearch">
<font
color="black"><b>Search for Address:</b></font><br/>
<input name="id"/><input
type="submit" value="Search"/>
<input type="hidden"
name="map"
value="/ms4w/apps/GeoMOOSE/Maple_Grove_GeoMoose/itemquery_ADDRESS.map"/>
<input type="hidden"
name="mode" value="nquery"/>
<br><i>Enter ADDRESS
number.<i/>
</div>
</div>
<div id="WaitingMessage">
<b>Retrieving Information...</b>
</div>
THIS IS THE itemquery_PID.map
LAYER # Parcels Polygon Layer
NAME 'Parcels'
DATA 'parcels/parcels.shp'
STATUS DEFAULT
TYPE POLYGON
METADATA
qstring_validation_pattern '.'
END
TEMPLATE 'parcels/itemquery_parcels.html'
FILTERITEM 'PID'
FILTER /^%id%/
END
THIS IS THE itemquery_ADDRESS.map
LAYER # Parcels Polygon Points Layer
NAME 'Parcel_Points'
DATA 'parcel_points/parcel_points.shp'
STATUS DEFAULT
TYPE POINT
METADATA
qstring_validation_pattern '.'
END
TEMPLATE
'parcel_points/itemquery_parcel_points.html'
FILTERITEM 'BLDG_NUM'
FILTER /^%id%/
END
THIS IS THE itemquery_parcels.html
<tr>
<td>[PID]</td>
<td>[ADDRESS]</td>
<td><a href="javascript:Map.itemQueryLayer('Highlight', 'Parcels',
'PID', '[PID]', '/ms4w/apps/GeoMOOSE/Maple_Grove_GeoMoose/select.map');
Map.zoomToViewString(([shpminx]-500)+','+([shpminy]-500)+','+([shpmaxx]+
500)+','+([shpmaxy]+500))"><img src="shared/images/view.png" border="0"
title="Click to Zoom Map to PID"></a></td>
</tr>
THIS IS THE itemquery_parcel_points.html
<tr>
<td>[PID_NO]</td>
<td>[BLDG_NUM]</td>
<td>[STREETNAME]</td>
<td><a href="javascript:Map.itemQueryLayer('Highlight', 'Parcel_Points',
'BLDG_NUM', '[BLDG_NUM]',
'/ms4w/apps/GeoMOOSE/Maple_Grove_GeoMoose/select.map');
Map.zoomToViewString(([shpminx]-500)+','+([shpminy]-500)+','+([shpmaxx]+
500)+','+([shpmaxy]+500))"><img src="shared/images/view.png" border="0"
title="Click to Zoom Map to PID"></a></td>
</tr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090102/5c80fce7/attachment.html
More information about the Geomoose-users
mailing list