[mapserver-users] Output Raster format
Rahkonen Jukka
Jukka.Rahkonen at mmmtike.fi
Fri Jun 6 09:27:57 PDT 2008
Hi,
Try adding something like
PROCESSING "LUT=0:0,255:200"
It should give an linearly lightened image. Have a try and play with the LUT input/output values, perhaps you'll get a more usable output. By using separate LUT inputs you can control red, green and blue separately. If you want to use WYSIWYG tool for colour adjustment take a sample image into GIMP, use curves tool and save the GIMP curve file once you are satified. "PROCESSING LUT=" accepts the curve files saved from GIMP.
GIMP is not meant for big geospatial images. Use some reasonably sized image excerpt for adjusting colours with it.
-Jukka-
________________________________
Lähettäjä: David Martinez Morata [mailto:damarmo at gmail.com]
Lähetetty: 6. kesäkuuta 2008 11:52
Vastaanottaja: Rahkonen Jukka
Kopio: mapserver-users at lists.osgeo.org
Aihe: Re: [mapserver-users] Output Raster format
Thanks!
I read about procesing functions, but I don't really understand the functions :S
I have a WMS for raster cartographyc fonds and I need to do more clear images. the colors in the images are strong colors and when I insert a shape I have some problems to clear show this shape.
Any sugestions?
Thanks
2008/6/3 Rahkonen Jukka <Jukka.Rahkonen at mmmtike.fi>:
Hi
Mapserver is not much like web processing service. However, something can be done with layer PROCESSING directives SCALE and LUT. There may be other options for customizing which I am not aware.
http://mapserver.gis.umn.edu/docs/howto/raster_data/#special-processing-directives
Sometimes I have been thinking that it would be nice to have an option to push aerial photos out through some sort of sharpening filter.
-Jukka Rahkonen-
________________________________
Lähettäjä: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta David Martinez Morata
Lähetetty: 3. kesäkuuta 2008 11:48
Vastaanottaja: mapserver-users at lists.osgeo.org
Aihe: [mapserver-users] Output Raster format
Hello!
I have a question about customizing output format for a WMS server.
I have a Raster collection in .tiff format, I make a wms server with this raster files. The output in mapfile its not specified in map file.
My question its:
Can we change the contrast, saturation and other values for output image? How? With GDAL functions?
Thanks.
_______________________________________________
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/20080606/36b358fd/attachment.htm>
More information about the MapServer-users
mailing list