[Geomoose-users] GM 2.6 Select Service not working

Eli Adam eadam at co.lincoln.or.us
Thu Oct 25 08:22:14 PDT 2012


On Thu, Oct 25, 2012 at 6:32 AM, Nayna Nayate <nayna.nayate at gis.leg.mn>wrote:

> Hi all,****
>
> ** **
>
> I am trying to get the services in the demo to work. The identify service
> works but none of the others (select, search parcels or print) work. I have
> not changed anything other than make a local setting.ini file.  I think I’m
> missing something very obvious but cannot seem to pinpoint it. ****
>
> Upon a select or print I get the following error****
>
> **
>

What did you put in the local_settings.ini?  There are docs on that here,
http://www.geomoose.org/docs/settings.html


> **
>
> *The service you called did not return valid XML.* If you are the system
> administrator, you should look into this, if you are not the system
> administrator you should tell them about this.****
>
> ** **
>
> For Search parcels when I look for the name “smith” for which there are
> plenty records, I get****
>
> ** **
>
> *GeoMOOSE Item Query Service*
> No results found for your query!****
>
> **
>

You can get more detailed information using firebug with firefox.  For
instance, on the demo, I did a parcel search for smith and on the post got
this:

highlight=true&mode=search&layer0=parcels%2Fparcels&template0=itemquery&fieldname0=OWNER_NAME&comparitor0
=like-icase&value0=smith&fieldname1=FIN_SQ_FT&operator1=or&comparitor1=gt&value1=&dojo.preventCache=
1351177986847

and the response got this:

<results n='83'><script><![CDATA[GeoMOOSE.turnLayerOn('parcels/parcels');GeoMOOSE.changeLayerUrl('highlight',
'./php/query.php');GeoMOOSE.clearLayerParameters('highlight');GeoMOOSE.updateLayerParameters('highlight',
{'highlight' : 'true','layer0' : 'parcels/parcels','template0' :
'itemquery','fieldname0' : 'OWNER_NAME','comparitor0' :
'like-icase','value0' : 'smith','fieldname1' : 'FIN_SQ_FT','operator1'
: 'or','comparitor1' : 'gt','value1' : '','dojo_preventCache' :
'1351177986847','TRANSPARENT' : 'true','FORMAT' : 'image/png','LAYERS'
: 'highlight'});GeoMOOSE.turnLayerOn('highlight/highlight');GeoMOOSE.refreshLayers('highlight/highlight');]]></script><html><![CDATA[<!--
MapServer Template --><b>GeoMOOSE Item Query Results</b><br/><a
id="gm-parcel-350010002101" class='sprite-control
sprite-control-find-selected' style="padding-left: 22px"
parcel-shape="496463,4932245 496788,4932244 496863,4932244
496863,4932234 496867,4931899 496867,4931876 496466,4931877
496466,4931900 496463,4932235 496463,4932245"
href="javascript:GeoMOOSE.zoomToPointsList(dojo.byId('gm-parcel-350010002101').getAttribute('parcel-shape'),
'EPSG:26915');">350010002101</a><br/>Robert Smith<br/><br/><a
id="gm-parcel-350010001201" class='sprite-control
sprite-control-find-selected' style="padding-left: 22px"
parcel-shape="496226,4932236 496227,4932098 496063,4932098
496062,4932236 496062,4932246 496226,4932246 496226,4932236"
href="javascript:GeoMOOSE.zoomToPointsList(dojo.byId('gm-parcel-350010001201').getAttribute('parcel-shape'),
'EPSG:26915');">350010001201</a><br/>

[lots more]

Wilson Smith<br/><br/><a id="gm-parcel-130360001025"
class='sprite-control sprite-control-find-selected'
style="padding-left: 22px" parcel-shape="486724,4933889 486725,4933488
486727,4933086 486325,4933089 486321,4933892 486724,4933889"
href="javascript:GeoMOOSE.zoomToPointsList(dojo.byId('gm-parcel-130360001025').getAttribute('parcel-shape'),
'EPSG:26915');">130360001025</a><br/>Wilton Smith<br/><br/><!--
MapServer Template --><!-- Place Holder -->]]></html></results>


HTH, Eli


>  **
>
> Any help is appreciated!****
>
> ** **
>
> Thanks****
>
> Nayna****
>
> _______________________________________________
> Geomoose-users mailing list
> 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/20121025/aaec5aa6/attachment.html>


More information about the Geomoose-users mailing list