|
||||
[maplab-users] Query TemplateRyan Anderson ryan@archwing.comMon, 16 Dec 2002 14:38:35 -0600
|
I'm a new to maplab and need some advice. I trying to run a query against a layer. I've set the template field to point to the html file that contains the db columns I want displayed to the users. This seems to be completely ignored. I went through the archives to get help and saw a post about limiting the result set columns by setting a RESULT_FIELDS keyword/value in a METADATA section of the layer. I tried that but it didn't work. I must be missing something basic but I can't find something to point me in the right direction. Any advice??? Here is the info from the map file: MAP NAME "Anoka" STATUS ON EXTENT 410402 4.92422e+006 550174 5.02917e+006 SIZE 600 450 SHAPEPATH "D:\Program Files\Apache Group\Apache\htdocs\maplab-2.0rc3\Anoka\data" SYMBOLSET "D:\Program Files\Apache Group\Apache\htdocs\maplab-2.0rc3\Anoka\etc\symbols.sym" FONTSET "D:\Program Files\Apache Group\Apache\htdocs\maplab-2.0rc3\Anoka\etc\fonts.txt" IMAGECOLOR 255 255 255 TRANSPARENT OFF UNITS METERS INTERLACE ON IMAGETYPE GIF IMAGEQUALITY 75 WEB IMAGEPATH "d:/program files/apache group/apache/htdocs/tmp/ms_tmp/" IMAGEURL "/tmp/ms_tmp/" END QUERYMAP STATUS OFF SIZE -1 -1 COLOR 128 255 128 STYLE HILITE END LEGEND STATUS ON IMAGECOLOR 255 255 255 TRANSPARENT FALSE INTERLACE TRUE POSITION LL KEYSIZE 18 12 KEYSPACING 5 5 TEMPLATE "d:/program files/apache group/apache/htdocs/maplab-2.0rc3/htdocs/mapbrowser/legend_template.html" LABEL TYPE BITMAP SIZE MEDIUM OFFSET 0 0 BUFFER 0 MINDISTANCE -1 MINFEATURESIZE -1 COLOR 0 0 89 PARTIALS TRUE FORCE FALSE END END SCALEBAR STATUS ON COLOR 255 255 255 OUTLINECOLOR 0 0 0 BACKGROUNDCOLOR 0 0 0 IMAGECOLOR 255 255 255 TRANSPARENT OFF UNITS MILES INTERVALS 5 SIZE 350 5 STYLE 0 POSITION LL INTERLACE ON LABEL TYPE BITMAP SIZE SMALL OFFSET 0 0 BUFFER 0 MINDISTANCE -1 MINFEATURESIZE -1 COLOR 0 0 0 PARTIALS TRUE FORCE FALSE END END LAYER NAME "parcel" STATUS ON DATA "anok_parc" TYPE POLYGON CLASSITEM "PIN" UNITS METERS SIZEUNITS PIXELS MAXSCALE 20000 TOLERANCE 3 TOLERANCEUNITS PIXELS HEADER "D:\Program Files\Apache Group\Apache\htdocs\maplab-2.0rc3\Anoka\parcel_header.html" FOOTER "D:\Program Files\Apache Group\Apache\htdocs\maplab-2.0rc3\Anoka\parcel_footer.html" METADATA "DESCRIPTION" "Parcel Information for Anoka County" "RESULT_FIELDS" "PIN OWN_NAME OWN_ADD_L1 OWN_ADD_L2 OWN_ADD_L3" END CLASS NAME "Parcel" SYMBOL 0 OUTLINECOLOR 0 0 0 SIZE 1 MINSIZE 1 MAXSIZE 100 TEMPLATE "D:\Program Files\Apache Group\Apache\htdocs\maplab-2.0rc3\Anoka\parcel.html" END END END
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |