broken query

Steve Lime Steve.Lime at DNR.STATE.MN.US
Wed Jan 17 16:29:57 EST 2007


Hi John, so in the busted app you see the []'s in the output? If that's
the case then
there's likely a mismatch between tag and attribute names. The names
are case
sensitive, that is you access attribute FOO through the tag [FOO].

Let me know if that doesn't help and I'll try to help more.

Steve

>>> "John B. Churchill" <jchurchill at AL.UMCES.EDU> 1/12/2007 9:19:28 AM
>>>
I'm still working on modifying the basic ITASCA DEMO.  I got some 
queries to work in one application (returns data from the dbf table)
but 
they aren't working correctly in another (returns a table that looks 
like the static template file without any data).

In both I have followed these steps:
1.  Created Templates in the "templates" folder named after the layer 
and with the appropriate fields in square brackets [].
2.  put a statement in the MAP file at the end of the layer block that

refer to the html file in step 1 like so ...
TEMPLATE "templates/anti_bnd.html"

Are there other steps that I need to follow.  If so I must have done 
them in the first case but forgot about them in the 2nd case.  Any help

on this is appreciated.

J.B.

-- 
---------------------------------------------
John B. Churchill,
M.S.			http://alx.al.umces.edu/~jchurch/ 
GIS Specialist				(301) 689-7109

University of Maryland Center for Environmental Science
Appalachian Laboratory			http://www.al.umces.edu/ 
Environmental Science
Education		http://alese.al.umces.edu/ 

301 Braddock Road			
Frostburg, MD 21532			
FAX - (301) 689-7200			



More information about the mapserver-users mailing list