Personal tools
You are here: Home Documentation Errors msQueryByPoint: search returned no results

msQueryByPoint: search returned no results

Document Actions
Error displayed when a feature is known to exist at that location.

The query feature requires a TEMPLATE object in the CLASS object of your LAYER definition. The value points to a html fragment using MapServer template syntax.

Example MapFile fragment:

LAYER
  NAME Parcel9
  TYPE POLYGON
  STATUS OFF
  DATA Parcels/area09_parcels
  CLASS
    STYLE
      OUTLINECOLOR 128 128 128
      COLOR 153 205 255
    END
    TEMPLATE "templates/Parcels/area09_parcels.html"
  END

  HEADER "templates/Parcels/area09_parcels_header.html"
  FOOTER "templates/Parcels/area09_parcels_footer.html"

END

Example Template:

<tr>
  <td>[lrn]</td>
  <td>[PIN]</td>
</tr>

The [lrn] is a special keyword that indicates the resulting line number which starts at 1. [PIN] is the name of a feature attribute.

This Error Reference applies to: MapServer 4.0, MapServer 4.2, MapServer 4.4, MapServer 4.6, MapServer 4.8

by Bart van den Eijnden last modified 2005-12-09 08:35

Powered by Plone