[Geomoose-users] Identify Tolerance

Clinton Olsen clintono at emery.utah.gov
Fri Aug 29 13:44:57 PDT 2014


When I try to identify a line or a point I get coordinates on the left side
of the template.  Is there a way to troubleshoot the identify tool?  I know
I might not have the tolerance set right but how can I figure out what the
tolerance should be.  I have tolerance numbers I have used range from 0 -
100.  I have tried meters, feet, pixels.  I referenced the how to setup
identify on the geomoose.org site and I got one of my polygon layers to
work.  My template and mapfile are listed below.  How can I troubleshoot
what is wrong with these files?

<!-- MapServer Template -->
<tr><td colspan="2"><b>Boulder Areas</b></td></tr>

<tr><td>Boulder Area: [SECTION]</td></tr>

<tr><td>Boulder: [BOULDER]</td></tr>

<tr><td>LAT: [LAT]</td></tr>

<tr><td>LONG: [LONG]</td></tr>

<tr><hr></td></tr>

MAP
NAME 'BOULDERS'
SIZE 800 650
STATUS ON
EXTENT  -12381838.298411 4760938.642311 -12327375.283263 4806362.074758
UNITS METERS
INCLUDE "../../geomoose_globals.map"

WEB
METADATA
'ows_title' 'Boulders'
'ows_srs' 'EPSG:3857'
'ows_enable_request' '*'
'ows_onlineresource' 'http://www.geomoose.org'
END
END

PROJECTION
'init=EPSG:3857'
END

LEGEND
      STATUS ON
      LABEL
TYPE TRUETYPE
FONT vera_sans
SIZE 8
COLOR 0 0 0
      END
END

LAYER
        NAME "boulders"
        DATA "boulders.shp"
        STATUS DEFAULT
        TYPE POINT
        TOLERANCE 0
        TOLERANCEUNITS meters
          LABELITEM 'BOULDER'
        LABELCACHE ON
        LABELMAXSCALE 100000

            CLASS
              NAME 'Boulders'
           STYLE
               SYMBOL 'CIRCLE'
COLOR 255 102 51
OUTLINECOLOR 0 0 0
             SIZE 8
                  END
  LABEL
         TYPE TRUETYPE
         FONT vera_sans-bold
         SIZE 8
         ANTIALIAS TRUE
         COLOR 0 0 0
         OUTLINECOLOR 254 254 254
         BUFFER 4
         PARTIALS FALSE
         POSITION auto
SIZE 7
         END
        END
METADATA
# drill-down identify service record.
       'identify_record' 'identify_boulders.html'
END
TOLERANCE 0
     TOLERANCEUNITS meters
END
END

Clinton Olsen
IS/GIS Technician
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20140829/b766a4f1/attachment.html>


More information about the Geomoose-users mailing list