[mapserver-users] Itemquery in unknown area

Matthias Scholz matthias.scholz at vgem-klostermansfeld.de
Fri Sep 20 10:38:54 EDT 2002


Hi to all,

i use the itemquery mode. If the object who i search in the displayed map, then
the itemquery is successfull. But how can i make an (item)query for an object
who is not in the displayed map? If the object was found in the shapefile, the
new map should then display the object with the same scale as the previous or
scale for view the full object.

Example: 
The attributes are: gemarkung, flur, zaehler and nenner <--- this together are
uniqe.

The actual part of my mapfile:
LAYER
    NAME flurst_itemquery
    TYPE POLYGON 
    STATUS ON 
    DATA flurstuecke
    FILTER ("[GEMARKUNG]" = "%gemarkung%" AND "[FLUR]" = "%flur%" AND "[ZAEHLER]
" = "%zaehler%" AND "[NENNER]" = "%nenner%")
    class
         color 255 255 255
         outlinecolor 0 0 0
    end 
    TEMPLATE "flurstuecke.html"
    TOLERANCE 3
    HEADER "flurstuecke_header.html"
    FOOTER "flurstuecke_footer.html"
END


Suggestions???

Thanks Matthias Scholz



::::::::::::::::::::::::::::::::::::::::::::::::::
:                                                :
:  Verwaltungsgemeinschaft Klostermansfeld       :
:  Kirchstr. 1                                   :
:                                                :
:  06308 Klostermansfeld                         :
:                                                :
:  Telefon: (+49) 034772/800                     :
:  Telefax: (+49) 034772/80200                   :
:                                                :
:  eMail: info at vgem-klostermansfeld.de           :
:  WWW: http://www.vgem-klostermansfeld.de       :
:                                                :
::::::::::::::::::::::::::::::::::::::::::::::::::

--------------------------------------------------

Diese eMail wurde mit IMP 3.0 gesendet (http://www.horde.org)




More information about the mapserver-users mailing list