[Geomoose-users] Prolem with Identify/select on a layer
Bistrais, Bob
Bob.Bistrais at maine.gov
Thu Sep 6 08:15:32 PDT 2012
Ah! I got it-
Turned out to be a simple error in the mapbook.xml, with regard to upper/lower case. If you see the layer name, it is spelled "GeoLibrary". In my mapbook.xml, I had it spelled as "Geolibrary". A simple correction here and it seems to be working.
Thanks Brent, I will keep your advice as something to look for in future problems.
Bob
From: Brent Fraser [mailto:bfraser at geoanalytic.com]
Sent: Thursday, September 06, 2012 10:59 AM
To: Bistrais, Bob
Cc: geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] Prolem with Identify/select on a layer
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<mailto: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/587aedd5/attachment-0001.html>
More information about the Geomoose-users
mailing list