[mapserver-users] Join labels and attribute query

Matthias Scholz matthias.scholz at vgem-klostermansfeld.de
Tue Jun 18 04:42:26 PDT 2002


Hello

> Part 1: LABELITEM "ZAEHLER,NENNER" should at least stack the labels so if you
> had a field SLASH you could LABELITEM "ZAEHLER,SLASH,NENNER"

If i try this, then i get an error message: msDBFGetItemIndex(): "DBASE file
error. Item 'ZAEHLER,NENNER' not found." And this logical, if you look in the
source. I use mapserevr 3.6

> 
> Part 2: EXPRESSION ('[GEMARKUNG]' eq 'abc' AND FLUR = 1 AND ZAEHLER = 1000
> AND NENNER = 10)

OK, but i need a dynamic query from a HTML form?


Matthias Scholz

> 
> Lowell F.
> 
> The following message was sent by Matthias Scholz
> <matthias.scholz at vgem-klostermansfeld.de> on Mon, 17 Jun 2002 15:15:49
> +0200.
> 
> > Hello,
> > 
> > how can i join two or more labels and display it at once? I use shape-files
> as
> > data. In the dbf-file i have the following attributes: ID, RECHTSWERT,
> HOCHWERT,
> > DATUM, FOLIE, OBJART, ALIASFOLIE, ALIASART, ALK-NR, GEMARKUNG, FLUR,
> ZAEHLER,
> > NENNER
> > 
> > For this Layer i need an annotation in the form: "ZAEHLER/NENNER" This is
> the
> > notation in german "Flurkarten". In the dbf-file i cannot join this two
> columns,
> > because the converter for the shape-files writes the files and the slash
> between
> > ZAEHLER and NENNER is important. I have try it, but i can only view one
> > annotation :-(
> > 
> > My second problem is how i can make a query with with attributes? In a html
> form
> > i have the fields GEMARKUNG, FLUR, ZAEHLER, NENNER. Together are this
> four
> > attribues uniqe in the dbf-file. Is it possible to make a query with more
> than
> > one attribute?
> > 
> > Thanks for help!!!
> > 
> > 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)
> 
> 






::::::::::::::::::::::::::::::::::::::::::::::::::
:                                                :
:  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