[mapserver-users] question about GMAP demo

Ivan Paoluzzi tesimap at hotmail.com
Wed Jul 10 16:52:34 PDT 2002


I have changed the line "RESULT_FIELDS" "NOMEVIA" "COD_VIA" "LENGTH"
in "RESULT_FIELDS" "NOMEVIA COD_VIA LENGTH" but I haven't still result when 
I do a query. This is my problem. Any idea?
Regards
Ivan



>From: Yewondwossen Assefa <assefa at dmsolutions.ca>
>To: Ivan Paoluzzi <tesimap at hotmail.com>
>CC: mapserver-users at lists.gis.umn.edu
>Subject: Re: [mapserver-users] question about GMAP demo
>Date: Wed, 10 Jul 2002 16:23:16 -0400
>
>Hi There,
>
>  What is wrong exactly ? What kind of errors do you recieve ? You should
>give more details on the error or problem.
>
>
>Checking your layer here are the comments I have :
>
>  - The template entry is necessary to do queries, the value is not
>critical here.
>
>  -  One error that I see is the way you defined the RESULT_FIELDS"  tag.
>It should be define like this :
>    "RESULT_FIELDS" "NOMEVIA COD_VIA LENGTH"
>
>    The GMap demo application assumes to find the DB fields names with a
>space between the names.
>
>
>
>Best Regards,
>
>
>
>Ivan Paoluzzi wrote:
>
> > Hi,
> > I have install GMAP demo and it works very well!
> >
> > But I have a question, this is my layer:
> >
> > LAYER
> >   NAME assist
> >   METADATA
> >    "DESCRIPTION"   "Assi Stradali"
> >    "RESULT_FIELDS" "NOMEVIA" "COD_VIA" "LENGTH"
> >   END
> >   TYPE LINE
> >   STATUS ON
> >   DATA assist
> >   TOLERANCE 8
> >   LABELITEM nomevia
> >   LABELMAXSCALE 20000
> >     CLASS
> >       NAME "Assi Stradali"
> >       TEMPLATE "ttt_query.html"
> >         COLOR 0 0 100
> >         LABEL
> >           COLOR 255 0 0
> >             FONT fritqat
> >             TYPE TRUETYPE
> >             SIZE 8
> >             ANTIALIAS TRUE
> >             POSITION AUTO
> >             ANGLE AUTO
> >             MINFEATURESIZE 40
> >             MINDISTANCE 100
> >             PARTIALS FALSE
> >             BUFFER 3
> >           END  #LABEL
> >     END  # CLASS
> >   TOLERANCE 5
> > END  # LAYER
> >
> > Why it doesn't work?
> > I don't understand the line TEMPLATE "ttt_query.html".
> > I don't find this template in application files, where is it?
> >
> > Thanks.
> >
> > _________________________________________________________________
> > Chiacchiera con gli amici online, prova MSN Messenger:
> > http://messenger.msn.it
>
>--
>----------------------------------------------------------------
>Assefa Yewondwossen
>Software Analyst
>
>Email: assefa at dmsolutions.ca
>http://www.dmsolutions.ca/
>
>Phone: (613) 565-5056 (ext 14)
>Fax:   (613) 565-0925
>----------------------------------------------------------------




_________________________________________________________________
Specisci e ricevi le tue email Hotmail dal tuo cellulare con: 
http://mobile.msn.it




More information about the MapServer-users mailing list