[mapserver-users] question about GMAP demo
Yewondwossen Assefa
assefa at dmsolutions.ca
Wed Jul 10 13:23:16 PDT 2002
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
----------------------------------------------------------------
More information about the MapServer-users
mailing list