[Geomoose-users] multiple layer search using query.php

Luis Calisto luis.calisto at hotmail.com
Mon Mar 11 09:20:29 PDT 2013


hi
I'm using the last  geomoose version (version 2.6.1). I'm working with postgis layers and i have configured the search service with that layers and everything is working.
Now i need to make a search service with multiple layers, i'm trying to use the query.php just like the documentation says but it does not work, when i try only searches the layer0 not the layer1, the mapbook.conf code i'm using is below.
anyone can help? anyone did configure the search service with multiple layers and can give me a hand?
ThanksLuís

	<service name="search_multi" title="query">		<url>php/query.php</url>		<step type="input">			<input type="hidden" name="highlight" value="true"/>			<input type="hidden" name="mode" value="search"/>			<input type="hidden" name="layer0" value="parcel0/parcel0"/>			<input type="hidden" name="template0" value="itemquery"/>			<input type="hidden" name="fieldname0" value="field0"/>			<input type="select" name="comparitor0" title="Procurar:"> 			     <option value="like-icase">Contains</option>                      	     <option value="right-like-icase">Begins With</option>                   	     <option value="eq-str">Matches Exactly</option>			</input>			<input type="user" name="value0" title=""/>

			<input type="hidden" name="layer1" value="parcel1/parcel1"/>   	                <input type="hidden" name="fieldname1" value="field1"/>                   	        <input type="select" name="operator1">                            <option value="or">OR</option>                            <option value="and">AND</option>                        </input>                        <input type="select" name="comparitor1" title="title ">			     <option value="like-icase">Contains</option>                      	     <option value="right-like-icase">Begins With</option>                   	     <option value="eq-str">Matches Exactly</option>                      </input>                <input type="user" name="value1" title=""/>
		</step>	</service> 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20130311/9b3ee70e/attachment.html>


More information about the Geomoose-users mailing list