Re: [mapserver-users] WMS from netCDF returns white/transparent image

2015-06-22 Thread Bill Hudspeth
TC

Thank you for your help...I have tried building classes into the layer 
definition with the same results...a white image. Also used the CLASSITEM 
[pixel] parameter. I can import the layer into QGIS, and it actually shows 
the colors I define in the legend, and is projected correctly, but the image is 
invisibleI've not seen something like this before!

Bill

- Original Message -
From: bhudspeth bhudsp...@edac.unm.edu
To: mapserver-users@lists.osgeo.org
Sent: Monday, June 22, 2015 9:51:16 AM
Subject: [mapserver-users] WMS from netCDF returns white/transparent image

Hello, 

I am trying to generate WMS services from layers in a NetCDF file. WCS services 
already work well...While a WMS call does return an image (ex. PNG), it is all 
white or transparent, whereas a WCS call to the same layer returns an image 
with a range of pixel values. I have run gdalinfo on the layer to get the data 
range, and have tried using the data range to set the PROCESSING DIRECTIVE to 
scale the output (e.g. PROCESSING SCALE=311.76470947266 ,423.52941894531  ). 
I have also used the SCALE=AUTO directive, but both just return a white image. 
When I try using WMS on this layer in QGIS, it is correctly projected, but 
invisible (zoom to extents on the imported WMS layer is correct). Below is the 
output from gdalinfo to get the original data range, and then the mapfile entry 
for the layer to see how I have set this up 

gdalinfo NETCDF:flat_sample.nc:I_lw 

Band 1 Block=170x1 Type=Float32, ColorInterp=Undefined Min=311.765 Max=423.529 
Minimum=311.765, Maximum=423.529, Mean=344.247, StdDev=16.599 
NoData Value=9.96920996838686905e+36 
Metadata: 
ipw_desc=incoming thermal (long-wave) radiation 
NETCDF_DIM_time=14 
NETCDF_VARNAME=I_lw 
standard_name=downwelling_longwave_flux_in_air 
STATISTICS_MAXIMUM=423.52941894531 
STATISTICS_MEAN=344.24709697293 
STATISTICS_MINIMUM=311.76470947266 
STATISTICS_STDDEV=16.598777681661 
units=W m-2 


 

LAYER DATA 
'NETCDF:/geodata/watershed-data/8c/8c18e10f-44b0-4462-bf4f-1c27c984aece/flat_sample.nc:I_lw'
 
EXTENT -116.142905556 43.729406 -116.13758 43.732697 
METADATA 
wcs_label downwelling_longwave_flux_in_air 
layer_title downwelling_longwave_flux_in_air 
raster_selected yes 
wms_metadataurl_type FGDC-STD-001-1998 
ows_keywordlist  
wcs_formats GEOTIFF_16 
background no 
wcs_bands_description ISNoBal Timesteps 1-16 
ows_abstract incoming thermal (long-wave) radiation 
wcs_rangeset_name Timesteps 
wms_metadataurl_href 
http://129.24.63.85//apps/vwp/datasets/05e73f4f-51d3-417c-9757-e376b5969a9c/metadata/FGDC-STD-001-1998.xml;
 
wcs_bands_values 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 
legend_display yes 
queryable no 
wcs_rangeset_label netCDF flat_sample.nc 
time_sensitive no 
ows_srs epsg:26911 
wcs_bands_name Timestep 
wcs_bands_rangeitem _bands 
ows_title incoming thermal (long-wave) radiationstatic no 
wms_metadataurl_format text/xml 
wcs_bands_label Timestep Number 
wcs_rangeset_axes bands 
wms_encoding UTF-8 
wcs_enable_request * 
layer_data_units W m-2 
annotation_name downwelling_longwave_flux_in_air: 2015-06-19 
20:30:29.202558 
END # METADATANAME downwelling_longwave_flux_in_air 
PROCESSING CLOSE_CONNECTION=DEFER 
PROCESSING SCALE=311.76470947266 ,423.52941894531  
#PROCESSING “SCALE=AUTO” 
PROJECTION 
init=epsg:26911 
END # PROJECTION 
STATUS ON 
TILEITEM location 
TYPE RASTER 
UNITS METERS 
END # LAYER 


 

It seems I am missing something herewould appreciate any insight into how 
to return a valid image in WMS 


Thanks, Bill 




___
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] WMS from netCDF returns white/transparent image

2015-06-22 Thread Bill Hudspeth
I think there is an issue with the fact that a request for a single layer from 
a netCDF file may contain multiple bands In QGIS, the WMS services 
capability brings in a single layer (with multiple bands) as Singleband Color 
Data. The image is transparent. When I request the layer with a URL, and I use 
the Bands=1 (or 2,3,4), I get a white image

Bill

- Original Message -
From: bhudspeth bhudsp...@edac.unm.edu
To: mapserver-users@lists.osgeo.org
Sent: Monday, June 22, 2015 3:35:27 PM
Subject: Re: [mapserver-users] WMS from netCDF returns white/transparent image

TC

Thank you for your help...I have tried building classes into the layer 
definition with the same results...a white image. Also used the CLASSITEM 
[pixel] parameter. I can import the layer into QGIS, and it actually shows 
the colors I define in the legend, and is projected correctly, but the image is 
invisibleI've not seen something like this before!

Bill

- Original Message -
From: bhudspeth bhudsp...@edac.unm.edu
To: mapserver-users@lists.osgeo.org
Sent: Monday, June 22, 2015 9:51:16 AM
Subject: [mapserver-users] WMS from netCDF returns white/transparent image

Hello, 

I am trying to generate WMS services from layers in a NetCDF file. WCS services 
already work well...While a WMS call does return an image (ex. PNG), it is all 
white or transparent, whereas a WCS call to the same layer returns an image 
with a range of pixel values. I have run gdalinfo on the layer to get the data 
range, and have tried using the data range to set the PROCESSING DIRECTIVE to 
scale the output (e.g. PROCESSING SCALE=311.76470947266 ,423.52941894531  ). 
I have also used the SCALE=AUTO directive, but both just return a white image. 
When I try using WMS on this layer in QGIS, it is correctly projected, but 
invisible (zoom to extents on the imported WMS layer is correct). Below is the 
output from gdalinfo to get the original data range, and then the mapfile entry 
for the layer to see how I have set this up 

gdalinfo NETCDF:flat_sample.nc:I_lw 

Band 1 Block=170x1 Type=Float32, ColorInterp=Undefined Min=311.765 Max=423.529 
Minimum=311.765, Maximum=423.529, Mean=344.247, StdDev=16.599 
NoData Value=9.96920996838686905e+36 
Metadata: 
ipw_desc=incoming thermal (long-wave) radiation 
NETCDF_DIM_time=14 
NETCDF_VARNAME=I_lw 
standard_name=downwelling_longwave_flux_in_air 
STATISTICS_MAXIMUM=423.52941894531 
STATISTICS_MEAN=344.24709697293 
STATISTICS_MINIMUM=311.76470947266 
STATISTICS_STDDEV=16.598777681661 
units=W m-2 


 

LAYER DATA 
'NETCDF:/geodata/watershed-data/8c/8c18e10f-44b0-4462-bf4f-1c27c984aece/flat_sample.nc:I_lw'
 
EXTENT -116.142905556 43.729406 -116.13758 43.732697 
METADATA 
wcs_label downwelling_longwave_flux_in_air 
layer_title downwelling_longwave_flux_in_air 
raster_selected yes 
wms_metadataurl_type FGDC-STD-001-1998 
ows_keywordlist  
wcs_formats GEOTIFF_16 
background no 
wcs_bands_description ISNoBal Timesteps 1-16 
ows_abstract incoming thermal (long-wave) radiation 
wcs_rangeset_name Timesteps 
wms_metadataurl_href 
http://129.24.63.85//apps/vwp/datasets/05e73f4f-51d3-417c-9757-e376b5969a9c/metadata/FGDC-STD-001-1998.xml;
 
wcs_bands_values 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 
legend_display yes 
queryable no 
wcs_rangeset_label netCDF flat_sample.nc 
time_sensitive no 
ows_srs epsg:26911 
wcs_bands_name Timestep 
wcs_bands_rangeitem _bands 
ows_title incoming thermal (long-wave) radiationstatic no 
wms_metadataurl_format text/xml 
wcs_bands_label Timestep Number 
wcs_rangeset_axes bands 
wms_encoding UTF-8 
wcs_enable_request * 
layer_data_units W m-2 
annotation_name downwelling_longwave_flux_in_air: 2015-06-19 
20:30:29.202558 
END # METADATANAME downwelling_longwave_flux_in_air 
PROCESSING CLOSE_CONNECTION=DEFER 
PROCESSING SCALE=311.76470947266 ,423.52941894531  
#PROCESSING “SCALE=AUTO” 
PROJECTION 
init=epsg:26911 
END # PROJECTION 
STATUS ON 
TILEITEM location 
TYPE RASTER 
UNITS METERS 
END # LAYER 


 

It seems I am missing something herewould appreciate any insight into how 
to return a valid image in WMS 


Thanks, Bill 




___
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 mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] WMS services from a NetCDF file layer

2015-06-17 Thread Bill Hudspeth
After determining the data value range (min/max) with gdalinfo -stats for a 
specific layer, I have now tried both with no satisfactory results...

PROCESSING SCALE=AUTO
PROCESSING SCALE=313.72549438477:425.49020385742




- Original Message -
From: Fabian Schindler fabian.schind...@eox.at
To: bhudspeth bhudsp...@edac.unm.edu
Cc: mapserver-users@lists.osgeo.org
Sent: Tuesday, June 16, 2015 11:50:46 AM
Subject: Re: [mapserver-users] WMS services from a NetCDF file layer

For the PROCESSING SCALE=low:high option you have to replace the
low and high with the respective values (you can use gdalinfo -stats
to see what the minimum and maximum values of the image are).

Perhaps, you could transform your image on the command line using
gdal_translate with the respective -scale option and see what the
output is there.

Regards,
Fabian

On 16.06.15 18:01, Bill Hudspeth wrote:
 Thanks for your suggestion Fabian,
 
 
 I have tried both:
 PROCESSING SCALE=low:high
 PROCESSING SCALE=AUTO
 
 but with no changewith outputformat set to jpeg, I get a white image, 
 with outputformat set to PNG, I get a very light grey imagebut that is 
 all!
 
 Thanks, Bill
 
 
 - Original Message -
 From: Fabian Schindler fabian.schind...@eox.at
 To: mapserver-users@lists.osgeo.org
 Sent: Monday, June 15, 2015 8:47:34 AM
 Subject: Re: [mapserver-users] WMS services from a NetCDF file layer
 
 This is probably due to the fact that your raster values are beyond 255.
 Mapserver truncates this to 255 which interpreted as white on a
 greyscale. To correctly scale the values you can use band processing
 options:
 
   PROCESSING SCALE=low:high
 
 You can also use AUTO but that might result in strangely tiled images.
 
 See:
 http://mapserver.org/input/raster.html#special-processing-directives
 
 Regards,
 Fabian
 
 On 15.06.15 16:04, William Hudspeth wrote:
 Hello,

 I am using mapserver to provide WCS and WMS services from individual
 layers (and their constituent bands) contained in a CF-formatted NetCDF
 file. I have successfully implemented WCS services, but am continuing to
 have problems with WMS services. While calls to return a single raster
 grid (derived from a NetCDF layer) as a WMS request returns a correctly
 projected image, the image is entirely white, and does not seem to
 correctly reinterpret original data values into a range of pixel color
 values. I would appreciate any information on what I might be missing.

 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

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


Re: [mapserver-users] WMS services from a NetCDF file layer

2015-06-16 Thread Bill Hudspeth
Thanks for your suggestion Fabian,


I have tried both:
PROCESSING SCALE=low:high
PROCESSING SCALE=AUTO

but with no changewith outputformat set to jpeg, I get a white image, with 
outputformat set to PNG, I get a very light grey imagebut that is all!

Thanks, Bill


- Original Message -
From: Fabian Schindler fabian.schind...@eox.at
To: mapserver-users@lists.osgeo.org
Sent: Monday, June 15, 2015 8:47:34 AM
Subject: Re: [mapserver-users] WMS services from a NetCDF file layer

This is probably due to the fact that your raster values are beyond 255.
Mapserver truncates this to 255 which interpreted as white on a
greyscale. To correctly scale the values you can use band processing
options:

  PROCESSING SCALE=low:high

You can also use AUTO but that might result in strangely tiled images.

See:
http://mapserver.org/input/raster.html#special-processing-directives

Regards,
Fabian

On 15.06.15 16:04, William Hudspeth wrote:
 Hello,
 
 I am using mapserver to provide WCS and WMS services from individual
 layers (and their constituent bands) contained in a CF-formatted NetCDF
 file. I have successfully implemented WCS services, but am continuing to
 have problems with WMS services. While calls to return a single raster
 grid (derived from a NetCDF layer) as a WMS request returns a correctly
 projected image, the image is entirely white, and does not seem to
 correctly reinterpret original data values into a range of pixel color
 values. I would appreciate any information on what I might be missing.
 
 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
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Return pixel values from raster layers served by mapserver

2015-01-06 Thread Bill Hudspeth
Hello,

I previously wrote about this issue, but have not found a solution yet. I am 
running Mapserver 6.4.1, and am using Postgres/Postgis to display a time series 
of geotiff images. I would like to know the best way for a user to submit a 
given x,y coordinate pair and return the pixel value for a given image. Is this 
possible using only the mapserver api? or must I absolutely use mapscript?

Currently, I use a PostgreSQL/PostGIS time-enabled table to store the 
information about the location of the geotiffs and the timestamp associated 
with them:

pm25_monthly=# \d pm25_monthly_global

  Table
public.pm25_monthly_global

   Column  |Type |
Modifiers

--+-+---

oid | integer | default nextval('pm25_monthly_seq'::regclass)
  rundate | timestamp with time zone |
  datetime| timestamp with time zone|
  location| text|
  timezone| timestamp without time zone |
  the_geom | geometry(MultiPolygon,4326) |

Indexes:
 pm25_monthly_global_oid_key
UNIQUE CONSTRAINT, btree (oid)

The 'location' field simply gives the full path to the relevant geotiff on the 
file system. And, I define the index in the mapfile:

#**LAYER - TILE INDEX FOR PM2.5 RASTERS
(Time sensitive) 
LAYER
   STATUS ON
   NAME pm25_time_index
   TYPE POLYGON
   DATA the_geom from pm25_monthly_global using unique oid using SRID=4326
   METADATA
 ows_title PM25 TIME INDEX
 ows_srs EPSG:4326
 ows_extent -180 -90 180 90 #[minx][miny][maxx][maxy]
 wms_timeformat -MM-DDTHH:MM:SS
 wms_timeextent 2011-01-01T00:00:00/2012-12-01T00:00:00
 wms_timeitem timezone
 wms_timedefault 2011-01-01T00:00:00
 wcs_resolution '0:10 0:10'
   END

   #CONNECTION user=wilbur dbname=pm25_monthly host=localhost 
password=ii
   #CONNECTIONTYPE postgis
   CONNECTIONTYPE POSTGIS
   CONNECTION host=127.0.0.1 dbname=pm25_monthly user=wilbur 
password=EUR2_live port=5432

   DATA the_geom from pm25_monthly_global using unique oid using srid=4326
END

#***LAYER - MONTHLY PM2.5 (Time Sensitive)*

LAYER
 NAME 'pm25_monthly'
 TYPE RASTER
 STATUS ON
 DEBUG OFF
 DUMP TRUE
 #TRANSPARENCY 50
 #FILTER 

 METADATA
 ows_keywordlist 'PM2.5 (ug/m3), Global' #wms_keywordlist 
(Keywordlist)
 ows_description Global monthly mean PM 2.5 (ug/m3)concentration
 ows_name Global monthly mean PM2.5 - Concentration Values (ug/m3)
 ows_label Global PM 2.5 (ug/m3)
 ows_srs EPSG:4326 EPSG:900913
 ows_extent -180 -90 180 90 #[minx][miny][maxx][maxy]
 ows_formats GEOTIFF
 ows_nativeformat 8-bit GeoTIF
 ows_timeitem timezone
 wms_onlineresource 
http://localhost/cgi-bin/mapserv?map=/var/www/pm25_mapserver/public_html/pm25_ogc_services.map;
 wms_abstract 'Global monthly mean PM 2.5 (ug/m3)concentration'  
#wms_abstract(Abstract)
 wms_opaque '0' #wms_opaque(layer)
 wms_title Global monthly mean PM 2.5 (ug/m3)concentration
 ows_timeformat -MM-DDTHH:MM:SSZ
 ows_timeextent 2011-01-01T00:00:00Z/2012-12-01T00:00:00Z
 ows_timedefault 2011-01-01T00:00:00Z
 wms_enable_request *
 wcs_resolution 0:10 0:10
 wcs_bandcount 1
 wcs_size 3600 1800
 layer_name pm25_monthly

 END   #METADATA
 PROJECTION
 init=epsg:4326 #WGS84 Decimal Degrees
 END  #PROJECTION

 TILEITEM location
 TILEINDEX pm25_time_index

END  #LAYER



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


[mapserver-users] Mapserver wms request throws error when trying to load SLD file

2014-10-21 Thread Bill Hudspeth
Hello,

Thanks Jeff for answering my questions about Mapserv executables and path on 
Ubuntu Linux. I can now view my raster image fine, but I am trying to apply an 
SLD file and get the error:

?xml version='1.0' encoding=ISO-8859-1 standalone=no ?
!DOCTYPE ServiceExceptionReport SYSTEM 
http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd;
ServiceExceptionReport version=1.1.1
ServiceException
msSLDApplySLDURL: WMS server error. Could not open SLD 
http://localhost/var/www/pm25_geoserver/public_html/pm25_sld.xml and save it in 
a temporary file. Please make sure that the sld url is valid and that the 
temporary path is set. The temporary path can be defined for example by setting 
TMPPATH in the map file. Please check the MapServer documentation on temporary 
path settings.
msHTTPExecuteRequests(): HTTP request error. HTTP GET request failed with 
status 403 () for 
http://localhost/var/www/pm25_geoserver/public_html/pm25_sld.xml
/ServiceException
/ServiceExceptionReport


I have set my temp file path in the Web section of the mapfile to:

WEB
  TEMPPATH /tmp/
  IMAGEPATH /tmp/
  IMAGEURL /tmp/
END

and my SLD is:

?xml version=1.0 encoding=UTF-8?
StyledLayerDescriptor version=1.0.0
  xmlns=http://www.opengis.net/sld;
  xmlns:ogc=http://www.opengis.net/ogc;
  xmlns:xlink=http://www.w3.org/1999/xlink;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://www.opengis.net/sld
  http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd;  
  NamedLayer
Namepm25_monthly/Name
UserStyle
  TitlePM 2.5/Title
FeatureTypeStyle
  FeatureTypeNameFeature/FeatureTypeName
  Rule
RasterSymbolizer
ColorMap type=ramp
ColorMapEntry color=#00 quantity=0.0 
opacity=0.0/
ColorMapEntry color=#021ca0 quantity=1.0 
opacity=0.5/
ColorMapEntry color=#0432ff quantity=5.0 
opacity=0.5/
ColorMapEntry color=#015efe quantity=10.0 
opacity=0.5/
ColorMapEntry color=#06bfff quantity=15.0 
opacity=0.5/  
ColorMapEntry color=#26fcd7 quantity=20.0 
opacity=0.5/
ColorMapEntry color=#06bfff quantity=25.0 
opacity=0.5/   
ColorMapEntry color=#f2f903 quantity=30.0 
opacity=0.5/
ColorMapEntry color=#ff9d02 quantity=35.0 
opacity=0.5/   
ColorMapEntry color=#ff4005 quantity=40.0 
opacity=0.5/
ColorMapEntry color=#e12000 quantity=45.0 
opacity=0.5/   
ColorMapEntry color=#810d02 quantity=50.0 
opacity=0.5/
  /ColorMap
/RasterSymbolizer
  /Rule
/FeatureTypeStyle
/UserStyle
  /NamedLayer
/StyledLayerDescriptor


Can't see why it is failing...

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


Re: [mapserver-users] Mapserver wms request throws error when trying to load SLD file

2014-10-21 Thread Bill Hudspeth
That was indeed the problem...I changed the path and it now works..!

thanks

- Original Message -
From: Bob Basques (CI-StPaul) bob.basq...@ci.stpaul.mn.us
To: Bill Hudspeth bhudsp...@edac.unm.edu, mapserver-users@lists.osgeo.org
Sent: Tuesday, October 21, 2014 10:32:21 AM
Subject: RE: [mapserver-users] Mapserver wms request throws error when trying 
toload SLD file

It doesn't look like MapServer can find your SLD, does that Link work from a 
browser directly?

Bobb



-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Bill Hudspeth
Sent: Tuesday, October 21, 2014 11:30 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Mapserver wms request throws error when trying to 
load SLD file

Hello,

Thanks Jeff for answering my questions about Mapserv executables and path on 
Ubuntu Linux. I can now view my raster image fine, but I am trying to apply an 
SLD file and get the error:

?xml version='1.0' encoding=ISO-8859-1 standalone=no ? !DOCTYPE 
ServiceExceptionReport SYSTEM 
http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd;
ServiceExceptionReport version=1.1.1 ServiceException
msSLDApplySLDURL: WMS server error. Could not open SLD 
http://localhost/var/www/pm25_geoserver/public_html/pm25_sld.xml and save it in 
a temporary file. Please make sure that the sld url is valid and that the 
temporary path is set. The temporary path can be defined for example by setting 
TMPPATH in the map file. Please check the MapServer documentation on temporary 
path settings.
msHTTPExecuteRequests(): HTTP request error. HTTP GET request failed with 
status 403 () for 
http://localhost/var/www/pm25_geoserver/public_html/pm25_sld.xml
/ServiceException
/ServiceExceptionReport


I have set my temp file path in the Web section of the mapfile to:

WEB
  TEMPPATH /tmp/
  IMAGEPATH /tmp/
  IMAGEURL /tmp/
END

and my SLD is:

?xml version=1.0 encoding=UTF-8?
StyledLayerDescriptor version=1.0.0
  xmlns=http://www.opengis.net/sld;
  xmlns:ogc=http://www.opengis.net/ogc;
  xmlns:xlink=http://www.w3.org/1999/xlink;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://www.opengis.net/sld
  http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd;
  NamedLayer
Namepm25_monthly/Name
UserStyle
  TitlePM 2.5/Title
FeatureTypeStyle
  FeatureTypeNameFeature/FeatureTypeName
  Rule
RasterSymbolizer
ColorMap type=ramp
ColorMapEntry color=#00 quantity=0.0 
opacity=0.0/
ColorMapEntry color=#021ca0 quantity=1.0 
opacity=0.5/
ColorMapEntry color=#0432ff quantity=5.0 
opacity=0.5/
ColorMapEntry color=#015efe quantity=10.0 
opacity=0.5/
ColorMapEntry color=#06bfff quantity=15.0 
opacity=0.5/  
ColorMapEntry color=#26fcd7 quantity=20.0 
opacity=0.5/
ColorMapEntry color=#06bfff quantity=25.0 
opacity=0.5/   
ColorMapEntry color=#f2f903 quantity=30.0 
opacity=0.5/
ColorMapEntry color=#ff9d02 quantity=35.0 
opacity=0.5/   
ColorMapEntry color=#ff4005 quantity=40.0 
opacity=0.5/
ColorMapEntry color=#e12000 quantity=45.0 
opacity=0.5/   
ColorMapEntry color=#810d02 quantity=50.0 
opacity=0.5/
  /ColorMap
/RasterSymbolizer
  /Rule
/FeatureTypeStyle
/UserStyle
  /NamedLayer
/StyledLayerDescriptor


Can't see why it is failing...

Thanks, Bill
___
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] Can't find mapserv.exe

2014-10-14 Thread Bill Hudspeth
Hello,

I installed mapserver 6.4.1 in Ubuntu 14.0.1 using synaptic package manager. I 
know it is installed on my system. When I run

mapserv -v, I get:

MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML 
SUPPORTS=PROJ SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO 
SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI 
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT 
SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS 
SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

When I search for the file (mapserv.exe) with locate or find, it is not found. 
I want to place a copy in my cgi-bin, as follows:

/var/www/website/public_html/cgi-bin 

What am I missing?

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