Re: [mapserver-users] mapscript help

2011-11-17 Thread Tonton
On Wed, Nov 16, 2011 at 5:12 PM, Lime, Steve D (DNR) steve.l...@state.mn.us
 wrote:

  There’s not a straight mapping of mapfile parameter syntax to mapscript
 syntax, especially where a mapfile parameter definition impacts multiple
 internal values. Try:

 ** **

   anewmap.width = 640

   anewmap.height = 480

 ** **

 or use the setSize() method.

 ** **

 Steve

 ** **

 *
 *

 **

yes thanks

this is working

projection = getProjfromTable(f_table_name) #return epsg number
ex:4326
strproj= init=epsg:+str(projection)
aproj = mapscript.projectionObj(strproj)
 # associer la projection a la carte
amapfile.setProjection(strproj)

still need help 4 web  stay empty
metadata
and normally for class and layer ;o)

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


[mapserver-users] Mapserver WMS client and WMS 1.3.0

2011-11-17 Thread Rahkonen Jukka
Hi,

Somebody was asking about cascading an external WMS 1.3.0 server. I remember 
that the one who asked the questiod had captured a rather self-explaining error 
message like this one from our Mapserver 6.0
msBuildWMSLayerURL(): WMS connection error. MapServer supports only WMS 1.0.0 
to 1.1.1 (please verify the VERSION parameter in the connection string).

Perhaps it would be still worth adding a line about supported versions into the 
Limitations/TODO in document http://mapserver.org/ogc/wms_client.html

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


Re: [mapserver-users] Mapserver WMS client and WMS 1.3.0

2011-11-17 Thread Michal Šrédl
Hi Jukka, all,

I was asking about applying WFS 1.1.0 FES filter (while cascading, but
this is not the issue). I don't get any error message, rather the
filter seems not to be applied. Documentation
(http://mapserver.org/ogc/filter_encoding.html#use-of-filter-encoding-in-mapserver)
mentions FES 1.0.0, so the question is whether WFS 1.1.0 filtering is
supported.

The original email can be found here:
http://lists.osgeo.org/pipermail/mapserver-users/2011-November/070726.html

Thanks a lot,

Michal

2011/11/17 Rahkonen Jukka jukka.rahko...@mmmtike.fi:
 Hi,

 Somebody was asking about cascading an external WMS 1.3.0 server. I remember 
 that the one who asked the questiod had captured a rather self-explaining 
 error message like this one from our Mapserver 6.0
 msBuildWMSLayerURL(): WMS connection error. MapServer supports only WMS 1.0.0 
 to 1.1.1 (please verify the VERSION parameter in the connection string).

 Perhaps it would be still worth adding a line about supported versions into 
 the Limitations/TODO in document http://mapserver.org/ogc/wms_client.html

 -Jukka Rahkonen-
 ___
 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] Mapserver WMS client and WMS 1.3.0

2011-11-17 Thread Rahkonen Jukka
Hi,

You I do remember but someone really had a WMS 1.3.0 question.

I have had no time for testing cascading WFS 1.1.0 yet. I should make Mapserver 
to send WFS requests through a logging proxy first for getting some reasonable 
results. From previous experience I am a bit sceptical but I cannot say much 
before having a try. Typical things which can go wrong are
- All WFS servers do not necassarily support correctly filters which are sent 
url-encoded inside http GET requests even they can support them with http POST. 
I do not know which method Mapserver is using.
- Some WFS servers would rather see PropertyNames given with namespaces
- With WFS 1.1.0 geometries used in spatial filters should follow the official 
axis order of the corresponding srsName.
- It would be best to give always all the gml geometries explicitly the 
srsName.  Otherwise nobody can really guarantee what srsName the WFS 1.1.0 
server is using as default. As far as I remember Mapserver builds filters 
without srsName.

There are better possibilities for success with cascading WFS 1.0.0 servers but 
I won't say that it is impossible with WFS 1.1.0.  What is essential is to make 
as simple trial as possible and capture the requests Mapserver is sending.  If 
you play a week or two with different filters and different WFS servers the 
result to expect is a bunch of bug reports.

-Jukka Rahkonen-

Michal Šrédl wrote:


 Hi Jukka, all,
 
 I was asking about applying WFS 1.1.0 FES filter (while cascading, but
 this is not the issue). I don't get any error message, rather the
 filter seems not to be applied. Documentation
 (http://mapserver.org/ogc/filter_encoding.html#use-of-filter-e
ncoding-in-mapserver)
 mentions FES 1.0.0, so the question is whether WFS 1.1.0 filtering is
 supported.
 
 The original email can be found here:
 http://lists.osgeo.org/pipermail/mapserver-users/2011-November
/070726.html
 
 Thanks a lot,
 
 Michal
 
 2011/11/17 Rahkonen Jukka jukka.rahko...@mmmtike.fi:
  Hi,
 
  Somebody was asking about cascading an external WMS 1.3.0 
 server. I remember that the one who asked the questiod had 
 captured a rather self-explaining error message like this one 
 from our Mapserver 6.0
  msBuildWMSLayerURL(): WMS connection error. MapServer 
 supports only WMS 1.0.0 to 1.1.1 (please verify the VERSION 
 parameter in the connection string).
 
  Perhaps it would be still worth adding a line about 
 supported versions into the Limitations/TODO in document 
 http://mapserver.org/ogc/wms_client.html
 
  -Jukka Rahkonen-
  ___
  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


Cascading WFS 1.1.0 with Filter WAS: [mapserver-users] Mapserver WMS client and WMS 1.3.0

2011-11-17 Thread Rahkonen Jukka
Hi,

Next thing to know is what Mapserver is sending for the remote server. I 
believe that it is at least adding a BBOX filter to each request.
Do you run also the remore server? Then you can probably find the requests from 
the log file.

-Jukka Rahkonen-

 -Alkuperäinen viesti-
 Lähettäjä: Michal Šrédl [mailto:michal.sr...@gmail.com] 
 Lähetetty: 17. marraskuuta 2011 14:35
 Vastaanottaja: Rahkonen Jukka
 Aihe: Re: [mapserver-users] Mapserver WMS client and WMS 1.3.0
 
 Hi Jukka,
 
 thanks. Before I do more experiments, just a note: it does work in the
 browser, as url:
 
 http://localhost//cgi-bin/ows?REQUEST=GetFeatureVERSION=1.1.0
 SERVICE=WFSTYPENAME=typFILTER=ogc:Filter
 xmlns:ogc=http://www.opengis.net/ogc;ogc:PropertyIsEqualTo
 ogc:PropertyNameSLT/ogc:PropertyNameogc:Literal1A/ogc:L
iteral/ogc:PropertyIsEqualTo/ogc:Filter
 
 It does not work in mapfile, neither as
 
 wfs_version 1.1.0
 wfs_filter 'ogc:Filter
 xmlns:ogc=http://www.opengis.net/ogc;ogc:PropertyIsEqualTo
 ogc:PropertyNameSLT/ogc:PropertyNameogc:Literal1A/ogc:L
iteral/ogc:PropertyIsEqualTo/ogc:Filter'
 
 nor without the Filter tag or namespaces.
 
 Michal
 
 
 2011/11/17 Rahkonen Jukka jukka.rahko...@mmmtike.fi:
  Hi,
 
  You I do remember but someone really had a WMS 1.3.0 question.
 
  I have had no time for testing cascading WFS 1.1.0 yet. I 
 should make Mapserver to send WFS requests through a logging 
 proxy first for getting some reasonable results. From 
 previous experience I am a bit sceptical but I cannot say 
 much before having a try. Typical things which can go wrong are
  - All WFS servers do not necassarily support correctly 
 filters which are sent url-encoded inside http GET requests 
 even they can support them with http POST. I do not know 
 which method Mapserver is using.
  - Some WFS servers would rather see PropertyNames given 
 with namespaces
  - With WFS 1.1.0 geometries used in spatial filters should 
 follow the official axis order of the corresponding srsName.
  - It would be best to give always all the gml geometries 
 explicitly the srsName.  Otherwise nobody can really 
 guarantee what srsName the WFS 1.1.0 server is using as 
 default. As far as I remember Mapserver builds filters 
 without srsName.
 
  There are better possibilities for success with cascading 
 WFS 1.0.0 servers but I won't say that it is impossible with 
 WFS 1.1.0.  What is essential is to make as simple trial as 
 possible and capture the requests Mapserver is sending.  If 
 you play a week or two with different filters and different 
 WFS servers the result to expect is a bunch of bug reports.
 
  -Jukka Rahkonen-
 
  Michal Šrédl wrote:
 
 
  Hi Jukka, all,
 
  I was asking about applying WFS 1.1.0 FES filter (while 
 cascading, but
  this is not the issue). I don't get any error message, rather the
  filter seems not to be applied. Documentation
  (http://mapserver.org/ogc/filter_encoding.html#use-of-filter-e
  ncoding-in-mapserver)
  mentions FES 1.0.0, so the question is whether WFS 1.1.0 
 filtering is
  supported.
 
  The original email can be found here:
  http://lists.osgeo.org/pipermail/mapserver-users/2011-November
  /070726.html
 
  Thanks a lot,
 
  Michal
 
  2011/11/17 Rahkonen Jukka jukka.rahko...@mmmtike.fi:
   Hi,
  
   Somebody was asking about cascading an external WMS 1.3.0
  server. I remember that the one who asked the questiod had
  captured a rather self-explaining error message like this one
  from our Mapserver 6.0
   msBuildWMSLayerURL(): WMS connection error. MapServer
  supports only WMS 1.0.0 to 1.1.1 (please verify the VERSION
  parameter in the connection string).
  
   Perhaps it would be still worth adding a line about
  supported versions into the Limitations/TODO in document
  http://mapserver.org/ogc/wms_client.html
  
   -Jukka Rahkonen-
   ___
   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


[mapserver-users] Re: Mapscript Sample Problem

2011-11-17 Thread boesiii
Thanks for explaining the IMAGE... sections.  That helped me fix my issue.

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Mapscript-Sample-Problem-tp7002818p7004432.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] style level opacity issue

2011-11-17 Thread lists


I'm trying to render a single vector layer that has overlapping
polygons, but I cant seem to get the settings correct for what I want.
There are overlapping polygons on the layer, and I would like them to
each be drawn transparently so that I can see the overlapping regions.
However, no matter what I try I can't seem to get this effect and the
rendering will make the shapes draw over each other.  

I'm using
Mapserver 6.0.1 

OUTPUTFORMAT  

 NAME png  

 DRIVER AGG/PNG  


MIMETYPE image/pngt  

 IMAGEMODE RGBA  

 EXTENSION png  


FORMATOPTION GAMMA=1.0  

 TRANSPARENT TRUE 

END 

I have a very
simple class for my layer 

 CLASS  

  STYLE   

 OPACITY 25   

 COLOR
[color]   

 OUTLINECOLOR -1 -1 -1  

 ANTIALIAS TRUE  

 END  

  LABEL


 COLOR 0 0 255  

 OUTLINECOLOR 250 250 250  

 OUTLINEWIDTH 3  


FONT stMYFont  

 TYPE truetype  

 SIZE 9  

 POSITION AUTO  


PARTIALS FALSE  

 MINFEATURESIZE AUTO  

 END  

 END 

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


[mapserver-users] Hide certain symbols from legend

2011-11-17 Thread Bistrais, Bob
Here's one that I thought I remembered seeing somewhere, but can't
figure it out.  I want to be able to hide certain classes from
displaying in the legend.  

 

I have a layer that depicts public facilities.  I use different colors
to show if each facility has a certain service, or does not.  This
results in a lot of redundant symbols, just of different colors.  I'd
like to show the symbols just once per symbol type, and explain the
colors at the bottom.  Can this be done, or am I imagining things
(again)?

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


RE: [mapserver-users] style level opacity issue

2011-11-17 Thread Huotari, John B (RCIS)
I’d likewise like to see an answer to this as I’ve thus far been unable to make 
opacity work at the style level.  I’ve worked around that by using the opacity 
at the layer level instead, which might be a suitable solution in your 
situation.

From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of li...@killface.org
Sent: Thursday, November 17, 2011 10:02 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] style level opacity issue


I'm trying to render a single vector layer that has overlapping polygons, but I 
cant seem to get the settings correct for what I want. There are overlapping 
polygons on the layer, and I would like them to each be drawn transparently so 
that I can see the overlapping regions. However, no matter what I try I can't 
seem to get this effect and the rendering will make the shapes draw over each 
other.



I'm using Mapserver 6.0.1



OUTPUTFORMAT

NAME png

DRIVER AGG/PNG

MIMETYPE image/pngt

IMAGEMODE RGBA

EXTENSION png

FORMATOPTION GAMMA=1.0

TRANSPARENT TRUE

END



I have a very simple class for my layer

  CLASS

  STYLE

OPACITY 25

COLOR [color]

OUTLINECOLOR -1 -1 -1

ANTIALIAS TRUE

END

  LABEL

COLOR  0 0 255

OUTLINECOLOR 250 250 250

OUTLINEWIDTH 3

FONT stMYFont

TYPE truetype

SIZE 9

POSITION AUTO

PARTIALS FALSE

MINFEATURESIZE AUTO

END

 END


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


Re: [mapserver-users] style level opacity issue

2011-11-17 Thread thomas bonfort
I've just run a quick check and opacity on the style object works
correctly. please come up with a self contained test case that
reproduces your issue.

regards,
thomas

On Thu, Nov 17, 2011 at 18:15, Huotari, John B   (RCIS)
john.huot...@rcis.com wrote:
 I’d likewise like to see an answer to this as I’ve thus far been unable to
 make opacity work at the style level.  I’ve worked around that by using the
 opacity at the layer level instead, which might be a suitable solution in
 your situation.



 From: mapserver-users-boun...@lists.osgeo.org
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of
 li...@killface.org
 Sent: Thursday, November 17, 2011 10:02 AM
 To: mapserver-users@lists.osgeo.org
 Subject: [mapserver-users] style level opacity issue



 I'm trying to render a single vector layer that has overlapping polygons,
 but I cant seem to get the settings correct for what I want. There are
 overlapping polygons on the layer, and I would like them to each be drawn
 transparently so that I can see the overlapping regions. However, no matter
 what I try I can't seem to get this effect and the rendering will make the
 shapes draw over each other.



 I'm using Mapserver 6.0.1



 OUTPUTFORMAT

 NAME png

 DRIVER AGG/PNG

 MIMETYPE image/pngt

 IMAGEMODE RGBA

 EXTENSION png

 FORMATOPTION GAMMA=1.0

 TRANSPARENT TRUE

 END



 I have a very simple class for my layer

   CLASS

   STYLE

 OPACITY 25

 COLOR [color]

 OUTLINECOLOR -1 -1 -1

 ANTIALIAS TRUE

 END

   LABEL

 COLOR  0 0 255

 OUTLINECOLOR 250 250 250

 OUTLINEWIDTH 3

 FONT stMYFont

 TYPE truetype

 SIZE 9

 POSITION AUTO

 PARTIALS FALSE

 MINFEATURESIZE AUTO

 END

  END



 ___
 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


[mapserver-users] RE: Hide certain symbols from legend

2011-11-17 Thread Lime, Steve D (DNR)
If you don't give a class a name it won't show up in a legend. When you say 
and explain the colors at the bottom, I'm hoping you mean outside the 
MapServer-generated legend.

Steve

From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bistrais, Bob
Sent: Thursday, November 17, 2011 12:37 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Hide certain symbols from legend

Here's one that I thought I remembered seeing somewhere, but can't figure it 
out.  I want to be able to hide certain classes from displaying in the legend.

I have a layer that depicts public facilities.  I use different colors to show 
if each facility has a certain service, or does not.  This results in a lot of 
redundant symbols, just of different colors.  I'd like to show the symbols just 
once per symbol type, and explain the colors at the bottom.  Can this be done, 
or am I imagining things (again)?
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] RE: Hide certain symbols from legend

2011-11-17 Thread Bistrais, Bob
Yes, by leaving out the Name element for each class I wanted to hide, it
works the way I wanted.

 

Explaining at the bottom- I created a sort of dummy class with
different color circles showing each category.  I create this by putting
in an expression for my data, where absolutely no records will match.
So, those colored circles won't show up on the map, but will show in the
legend.

 



From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] 
Sent: Thursday, November 17, 2011 2:56 PM
To: Bistrais, Bob; mapserver-users@lists.osgeo.org
Subject: RE: Hide certain symbols from legend

 

If you don't give a class a name it won't show up in a legend. When you
say and explain the colors at the bottom, I'm hoping you mean outside
the MapServer-generated legend.

 

Steve

 

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bistrais,
Bob
Sent: Thursday, November 17, 2011 12:37 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Hide certain symbols from legend

 

Here's one that I thought I remembered seeing somewhere, but can't
figure it out.  I want to be able to hide certain classes from
displaying in the legend.  

 

I have a layer that depicts public facilities.  I use different colors
to show if each facility has a certain service, or does not.  This
results in a lot of redundant symbols, just of different colors.  I'd
like to show the symbols just once per symbol type, and explain the
colors at the bottom.  Can this be done, or am I imagining things
(again)?

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


[mapserver-users] displaying dems - build statistics from current extent

2011-11-17 Thread Mark Volz
Hello,

I recently found a post 
http://www.osgeo.org/pipermail/mapserver-users/2011-October/070461.html that 
shows how add a nice DEM gradient in a map.  I was wondering if it would be 
possible to display a gradient based on the current extent of the map.  This 
would be very similar to how you can use the current display extent in ArcGIS 
when the symbology type is set to stretched.  In other words, I would like the 
color ramp to be based of the current extent.


Thanks

Mark Volz
GIS Specialist



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


[mapserver-users] gdal bigtiff support

2011-11-17 Thread Travis Kirstine
I have created some tiled BigTiffs (6 GB) with gdal 1.8 with the
internal tif lib.  I keep getting a  msDrawRaster(): Image handling
error. Unrecognized or unsupported image format
drawEPP(): Image handling error. EPPL7 support is not available when
attempting render the the image with Mapserver 5.6.7 (w/ gdal 1.8).  I
have also noticed that some of my non bigtiff tiled geotiffs are
rendering with missing tiles and or in strange colours.  I can access
the files with gdal without a issue.  Is there something I'm missing?

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


Re: [mapserver-users] gdal bigtiff support

2011-11-17 Thread Frank Warmerdam
On Thu, Nov 17, 2011 at 12:15 PM, Travis Kirstine
traviskirst...@gmail.com wrote:
 I have created some tiled BigTiffs (6 GB) with gdal 1.8 with the
 internal tif lib.  I keep getting a  msDrawRaster(): Image handling
 error. Unrecognized or unsupported image format
 drawEPP(): Image handling error. EPPL7 support is not available when
 attempting render the the image with Mapserver 5.6.7 (w/ gdal 1.8).  I
 have also noticed that some of my non bigtiff tiled geotiffs are
 rendering with missing tiles and or in strange colours.  I can access
 the files with gdal without a issue.  Is there something I'm missing?

Travis,

Are you using full paths to the files in question.  I vaguely suspect
that the fopen()s used in path construction within MapServer do
not work properly with large files (4GB).  If that turns out to be
the issue please file a ticket on it.

The work around would be to use a full path instead of depending
on SHAPEPATH or map relative path construction.

Best regards,
-- 
---+--
I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] gdal bigtiff support

2011-11-17 Thread Travis Kirstine
It turns out to be a user error, I had updated mapserver but failed to
update the cgi wrapper script for the WMS.

Thanks

On 17 November 2011 15:35, Frank Warmerdam warmer...@pobox.com wrote:
 On Thu, Nov 17, 2011 at 12:15 PM, Travis Kirstine
 traviskirst...@gmail.com wrote:
 I have created some tiled BigTiffs (6 GB) with gdal 1.8 with the
 internal tif lib.  I keep getting a  msDrawRaster(): Image handling
 error. Unrecognized or unsupported image format
 drawEPP(): Image handling error. EPPL7 support is not available when
 attempting render the the image with Mapserver 5.6.7 (w/ gdal 1.8).  I
 have also noticed that some of my non bigtiff tiled geotiffs are
 rendering with missing tiles and or in strange colours.  I can access
 the files with gdal without a issue.  Is there something I'm missing?

 Travis,

 Are you using full paths to the files in question.  I vaguely suspect
 that the fopen()s used in path construction within MapServer do
 not work properly with large files (4GB).  If that turns out to be
 the issue please file a ticket on it.

 The work around would be to use a full path instead of depending
 on SHAPEPATH or map relative path construction.

 Best regards,
 --
 ---+--
 I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com
 light and sound - activate the windows | http://pobox.com/~warmerdam
 and watch the world go round - Rush    | Geospatial Software Developer

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


Re: [mapserver-users] displaying dems - build statistics from current extent

2011-11-17 Thread Brent Fraser

Mark,

  Not that I know of.  I've wanted to do similar things (contrast 
stretch) with imagery.  It would be nice to have some kind of plugin 
architecture in mapserver to do processing on the raster data.


Best Regards,
Brent Fraser


On 11/17/2011 1:00 PM, Mark Volz wrote:

Hello,
I recently found a post 
_http://www.osgeo.org/pipermail/mapserver-users/2011-October/070461.html_ 
that shows how add a nice DEM gradient in a map.  I was wondering if 
it would be possible to display a gradient based on the current extent 
of the map.  This would be very similar to how you can use the current 
display extent in ArcGIS when the symbology type is set to stretched.  
In other words, I would like the color ramp to be based of the current 
extent.

Thanks
Mark Volz
GIS Specialist


___
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