[mapserver-users] Clasify 16 bits Geotiff
Bart van den Eijnden
bartvde at osgis.nl
Thu Mar 18 09:30:22 PDT 2010
Hi,
which version are you using?
see:
http://trac.osgeo.org/mapserver/ticket/3174
Best regards,
Bart
On Mar 18, 2010, at 1:55 PM, Inés García wrote:
> Hello,
>
> I need to clasity a 16 bits raster Geotiff. I am ussing the PROCESSING directive (PROCESSING "SCALE=-10,10") but it does not work.
>
> Can MapServer classify that kind of raster file?
>
> Thanks.
>
>
> LAYER
> NAME "Factor_c_abril_1998"
> TYPE RASTER
> STATUS on
> #PROCESSING "SCALE_1=1,255"
> #PROCESSING "SCALE_2=1,255"
> #PROCESSING "SCALE_3=1,255"
> PROCESSING "SCALE=1,255"
> #PROCESSING "SCALE_BUCKETS=2"
> #PROCESSING "DITHER=YES"
> #OFFSITE 0 0 0
>
> #MINSCALEDENOM
> #MAXSCALEDENOM 2500000
>
> DEBUG OFF
> DUMP TRUE
> PROCESSING "RASTER_QUERY_MAX_RESULT=1"
> TEMPLATE "C:\ms4w\apps\etc\template\general\clienteweb.html"
> DATA "\\169.254.22.221share\PI_2_RIESGOS\Informacion\Elaborada\06_RIESGOS_NATURALES_TECNOLOG\01_RIESGOS_NATURALES\04_DESERTIFICACION\04_FACTOR_C\Factor_c_1998\InfGeografica\InfRaster\TIFF\FC98_ABRIL.tif"
>
> METADATA
>
> "WMS_SRS" "EPSG:3034 EPSG:3035 EPSG:4230 EPSG:4258 EPSG:4267 EPSG:4269 EPSG:4324 EPSG:4326 EPSG:25828 EPSG:25829 EPSG:25830 EPSG:25831 EPSG:23028 EPSG:23029 EPSG:23030 EPSG:23031 EPSG:32628 EPSG:32629 EPSG:32630 EPSG:32631"
> "WMS_TITLE" "Factor de proteccion frente a la cubierta vegetal (Factor C) en Andalucía. Abril 1998"
> "WMS_ABSTRACT" "Factor de proteccion frente a la cubierta vegetal (Factor C) en Andalucía. Abril 1998"
> "WMS_FEATURE_INFO_MIME_TYPE" 'text/html'
> "wms_keywordlist" "xx"
> "wms_extent" "100396 3987114 621305 4288777"
>
>
> wms_include_items 'all'
> gml_include_items "all"
>
> gml_value_0_alias "Valor_pixel"
> gml_x_alias "Coordenada_X_UTM"
> gml_y_alias "Coordenada_Y_UTM"
> gml_class_alias "Clase"
>
> END #METADATA
>
> PROJECTION
> #"init=epsg:23030" #Proyección UTM European Datum 50 Huso 30 N
> "init=epsg:25830" #Proyección UTM ETRS89 Huso 30 N
> END
>
> CLASS
> NAME "< 100"
> EXPRESSION ('[pixel]' < '100')
> STYLE
> COLOR 193 247 178
> END
> END
> CLASS
> NAME ">100"
> EXPRESSION ('[pixel]' >= '100')
> STYLE
> COLOR 210 232 137
> END
> END
>
> END #layer
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100318/a444945b/attachment.htm>
More information about the MapServer-users
mailing list