[Geomoose-users] Identify - where to look for error spec
CoFIS Web
coffee at uni-bonn.de
Tue Mar 24 06:35:02 EDT 2009
Dear list,
I try to adapt the identify tool from the demos to my own app.
Unfortunately, I get the "No information found in the area you clicked,
please try again." error from query_miss.html.
I have used the identify.map, header and footer as well as template.html
files - Did I miss one?
I have set a log file to find out whats going wrong, but this only tells me:
Tue Mar 24 11:29:47 2009,21609,131.220.109.14,Identify tool - for all
layers,10,-165000.000000 350000.000000 1500000.000000
1700000.000000,404216.867470 1327710.843373,ScaleBar Highlight
Administrativeboundaries Weredatest Townsandvillages RoadsandRailway
CoCEFieldresearch Forestcover2005 ,msQueryByPoint(): Search returned no
results. No matching record(s) found. <br>
From the layers mentioned, I have set up identify for the Weredatest
layer and double checked that the items I query in the identify.html do
match the field names in my shape file.
My identify.map looks like this:
MAP
NAME 'Identify tool - for all layers'
SIZE 750 750
EXTENT -165000 350000 1500000 1700000
STATUS on
UNITS meters
TRANSPARENT true
IMAGETYPE png
QUERYMAP
STATUS on
STYLE selected
END # QUERYMAP
WEB
LOG '../../log/geomoose/identify.map'
INCLUDE '../defaults/map_temp-path.map'
HEADER './identify_header.html'
FOOTER './identify_footer.html'
EMPTY '/atlas/query_miss.html'
END # WEB
LAYER
NAME 'Wereda'
DATA '../../vector/base-data/admin_04_wereda'
STATUS on
TYPE polygon
TOLERANCE 7
TOLERANCEUNITS pixels
TEMPLATE './identify_boundary-all.html'
METADATA
qstring_validation_pattern '.'
END
END # Layer
END #Map
Does that look alright? Where else could I check for more meaningful errors?
Thanks in advance,
Nils
--
Center for Development Research
Department of Ecology and Resource Management
Walter-Flex-Strasse 3
53113 Bonn (Germany)
Tel.: +49 (0) 228 - 73-1793
FAX: +49 (0) 228 - 73-1889
E-Mail: coffee at uni-bonn.de
Web: http://www.cofis.info/atlas
http://www.coffee.uni-bonn.de
More information about the Geomoose-users
mailing list