[Geomoose-users] Identifty tool: Unable to interpret fields in raster files...

Athanasis Nikolaos athanasis at geo.aegean.gr
Tue Nov 27 14:40:28 EST 2007


Hello !
 
I am trying to use the identify tool in my geomoose application. It  worked ok with shape files, until I tried to add a raster file in the identify.map file. 

My problem is that when i click on the identify tool, then it does not know how to interpret the [ObjectID] field and it shows it as text,  it does not show the number of the ObjectID., it shows exatly : 

"[ObjectID]" as text.....

 
 
Here is the piece of the identify.map file:
LAYER 

NAME 'ddd'

DATA 'county/dtm_lsv1.img'

STATUS ON

TYPE RASTER

TOLERANCE 1

TEMPLATE 'county/identify_DEM.html'

PROJECTION

"init=epsg:2100"

END

END 

 
here is the identify_DEM.html file:
<tr>

<td colspan="2"><b>Test Layer</b></td>

</tr>

<tr>

<td align="right">ObjectID:</td>

<td>[ObjectID]</td>

</tr>

<tr><td colspan="2"><hr></td></tr>

 
here is my map file:
 
MAP

NAME 'please_run'

SIZE 800 650

#PROJECTION

# 'init=epsg:2100'

#END

STATUS ON

EXTENT 654482.650706199 4310740.53966996 729748.549950696 4366667.28424747

UNITS METERS

FONTSET '../fonts/fontset.list'

SYMBOLSET '../symbols/symbol.sym'

#TRANSPARENT TRUE

IMAGETYPE PNG

IMAGECOLOR 13 176 229

QUERYMAP

STATUS ON

STYLE SELECTED

END

WEB

LOG "/ms4w/apps/GeoMOOSE/maps_statedemo/the_log_file_does_not_work.log"

INCLUDE "/ms4w/apps/GeoMOOSE/maps_statedemo/web_config.map"

END

LEGEND

STATUS ON

END

LAYER

NAME 'DEM'

DATA 'dtm_lsv1.img'

STATUS DEFAULT

TYPE RASTER

#OFFSITE 0 0 0

PROJECTION

'init=epsg:2100'

END #PROJECTION

END #LAYER

END ## end Map

 

You can check what i mean in the following URL:

http://195.251.137.181/geomoose/statedemo.html

Use the identify tool and click where ever you want.... In tghe right panel you see the strange result....

 

Any hints please ???

 

Thank you very much in advance!

Athanasis Nikolaos

Adjunct Faculty  and Ph.D. Candidate, 
Department of Geography and Department of Cultural Technology and Communication
 
University of the Aegean
University Hill
81100 Mytilene, GREECE
 
TEL  +30-22510-36436
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20071127/a94754ab/attachment.html


More information about the Geomoose-users mailing list