Hi there,

Is there a way to create a tile index (Shapefile or PostGIS table) of NetCDF 
files and a particular variable from these files that MapServer would accept?
I managed to create a tile index Shapefile (without error from the gdaltindex 
tool) like so (the variable is precip here):

gdaltindex -t_srs EPSG:4326 netcdf_index.shp 
NETCDF:"/var/www/images/file1.nc”:precip

I have to run that in a loop for all NetCDF files to be added since a wildcard 
option doesn’t seem to work. However, when trying to generate a map with 
MapServer, MapServer is choking on the tile index file then:

msDrawMap(): Image handling error. Failed to draw layer named 'cfs2'. 
msDrawRasterLayerLow(): Unable to access file. Corrupt, empty or missing file 
'/var/www/mapcache/../images/NETCDF:/var/www/images/file1.nc:precip' for layer 
'cfs2'. /var/www/mapcache/../images/NETCDF:/var/www/images/file1.nc:precip: No 
such file or directory

Is there any syntax that MapServer would accept or is it simply not supported 
to have a tile index of NetCDF files!?

Many thanks,

Michael

Michael Wagner
Database Architect
Global Parametrics Limited









_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to