[Geomoose-users] Prolem with Identify/select on a layer
Brent Fraser
bfraser at geoanalytic.com
Thu Sep 6 07:58:40 PDT 2012
Bob,
Try adding
TOLERANCE 0
and maybe
TEMPLATE 'placeholder'
to the LAYER def
Best Regards,
Brent Fraser
On 9/6/2012 8:47 AM, Bistrais, Bob wrote:
>
> (Also posted to MapServer list)
>
> I am having trouble with a specific layer. This shows up and displays
> correctly, but I can't get it to work with Identify or Select. It
> just doesn't show up in the results. The error log says:
> msQueryByPoint(): Search returned no results. No matching record(s) found.
>
> As best as I can tell, I have the coding in there correctly:
>
> LAYER
>
> NAME 'GeoLibrary_2ft_2003_2005'
>
> GROUP 'GeoLibrary_2ft_2003_2005'
>
> DATA "/mapserver_data/basemap/ortho2f/ortho2f_index2.shp"
>
> STATUS on
>
> TYPE polygon
>
> TRANSPARENCY 50
>
> METADATA
>
> "opacity" "50"
>
> "queryable" "True"
>
> "DESCRIPTION" "GeoLibrary 2ft index"
>
> "SEARCHFIELD" "tile"
>
> "fields" "tile:tilename,location,link"
>
> "hyperlink" "link"
>
> "wms_title" "GeoLibrary 2ft Index"
>
> 'identify_record' 'templates/identify_geolib.html'
>
> 'select_record' 'templates/ortho_result.html'
>
> 'select_header' 'templates/ortho_header.html'
>
> END
>
> PROJECTION
>
> "init=epsg:26919"
>
> END
>
> CLASS
>
> # NAME "Geolibrary 2ft Index"
>
> STYLE
>
> OUTLINECOLOR 255 0 255
>
> WIDTH 2
>
> END
>
> END
>
> END
>
> ...And as mentioned, the layer shows up as expected. What am I
> missing here??
>
>
>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20120906/7fb6689c/attachment.html>
More information about the Geomoose-users
mailing list