Re: [mapserver-users] Output Raster format

2008-06-03 Thread Rahkonen Jukka
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ä: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Puolesta David 
Martinez Morata
Lähetetty: 3. kesäkuuta 2008 11:48
Vastaanottaja: mapserver-users@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Output Raster format

2008-06-06 Thread David Martinez Morata
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 <[EMAIL PROTECTED]>:

>  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ä:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *Puolesta *David Martinez Morata
> *Lähetetty:* 3. kesäkuuta 2008 11:48
> *Vastaanottaja:* mapserver-users@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@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Output Raster format

2008-06-06 Thread Rahkonen Jukka
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:[EMAIL PROTECTED] 
Lähetetty: 6. kesäkuuta 2008 11:52
Vastaanottaja: Rahkonen Jukka
Kopio: mapserver-users@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 <[EMAIL PROTECTED]>:


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ä: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Puolesta David Martinez Morata
Lähetetty: 3. kesäkuuta 2008 11:48
Vastaanottaja: mapserver-users@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users