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
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to