Re: [pmapper-users] RES: Attribute search
Brought to you by:
arminburger
From: Thomas R. <tr...@si...> - 2014-07-17 19:38:24
|
Hi, I think I've got this code. I will check it tomorrow. Le 17/07/2014 19:39, Juliano C. P. Agostinho a écrit : > Thank you. > > I will try implement one search to groups if I have success I will send to > you. > > -----Mensagem original----- > De: Armin Burger [mailto:arm...@gm...] > Enviada em: quinta-feira, 17 de julho de 2014 14:16 > Para: Juliano C. P. Agostinho; pma...@li... >> > "pma...@li..." > Assunto: Re: [pmapper-users] Attribute search > > Attribute searches just work on layers, not groups. So in your case you have > to decide which of the grouped layers to use for the search. In principal it > would be possible to use the same mechanism as for identify (collecting > results for layers of a group) but that was never implemented. > > /a > > On 07/17/2014 06:37 PM, Juliano C. P. Agostinho wrote: >> Hi, >> >> >> >> I have one problem, I have 2 SHAPEfiles (point and polygon) and I want >> search in both. >> >> >> >> Exemple: >> >> I want search Topdown's city in all SHP's (point and polygon) in same > time. >> >> >> Is there one way? >> >> >> >> >> >> >> >> MAPFILE: >> >> >> >> LAYER >> >> NAME "City" >> >> GROUP CITY >> >> MAXSCALE 7000 >> >> TYPE POLYGON >> >> STATUS OFF >> >> DATA City_polig.shp" >> >> CLASS >> >> NAME " " >> >> STYLE >> >> OUTLINECOLOR 128 128 128 >> >> LINECAP butt >> >> WIDTH 2 >> >> PATTERN 5 5 END >> >> END >> >> TEMPLATE void >> >> END >> >> METADATA >> >> "DESCRIPTION" "city" >> >> "RESULT_FIELDS" "NAME" >> >> "RESULT_HEADERS" "Name" >> >> "LAYER_ENCODING" "ISO-8859-1" >> >> "ows_title" "City" >> >> END >> >> END >> >> >> >> LAYER >> >> NAME "City" >> >> GROUP CITY >> >> MAXSCALE 7000 >> >> TYPE POINT >> >> STATUS OFF >> >> DATA "City_point.shp" >> >> CLASS >> >> NAME " " >> >> STYLE >> >> SYMBOL "circle1" >> >> COLOR 128 128 128 >> >> SIZE 10 >> >> END >> >> TEMPLATE void >> >> END >> >> METADATA >> >> "DESCRIPTION" "city" >> >> "RESULT_FIELDS" "NAME" >> >> "RESULT_HEADERS" "Name" >> >> "LAYER_ENCODING" "ISO-8859-1" >> >> "ows_title" "City" >> >> END >> >> END >> >> >> >> >> >> <searchitem name="City" description="City"> >> >> <layer type="shape" name="City"> >> >> <field type="s" name="NAME" description="Name:" > wildcard="0"> >> </field> >> >> </layer> >> >> </searchitem> >> >> >> >> > ---------------------------------------------------------------------------- > -- >> Want fast and easy access to all the code in your enterprise? Index and >> search up to 200,000 lines of code with a free copy of Black Duck >> Code Sight - the same software that powers the world's largest code >> search on Ohloh, the Black Duck Open Hub! Try it now. >> http://p.sf.net/sfu/bds >> _______________________________________________ >> pmapper-users mailing list >> pma...@li... >> https://lists.sourceforge.net/lists/listinfo/pmapper-users >> > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > pmapper-users mailing list > pma...@li... > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > -- Thomas RAFFIN Chef de Projet Internet tr...@si... <mailto:tr...@si...> Sirap <http://sirap.fr> Tel : 04 75 72 84 10 Fax : 04 75 70 07 98 Rue Paul Louis Héroult - BP 253 26106 Romans cedex |