[Mapserver-users] mapserver using grass raster
Heiko.Kehlenbrink at vermes.fh-oldenburg.de
Heiko.Kehlenbrink at vermes.fh-oldenburg.de
Wed Apr 23 08:01:11 PDT 2003
hi all,
got a problem using a grass raster file with the mapserver.
i tried it using the absolut path to the grass cellhd directory and i think that the grass rasterfile
had been reached because i get no "Warning: MapServer Error in msDrawRaster():
Unrecognized or unsupported image format".
But also i get no map...
using gdalinfo onto the grass raster header i got:
Driver: GRASS/GRASS Database Rasters
Size is 43200, 21600
Coordinate System is:
GEOGCS["WGS 84",
DATUM["unknown",
SPHEROID["WGS84",6378137,298.257223563]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433]]
Origin = (-180.000000,90.000000)
Pixel Size = (0.008333,-0.008333)
Corner Coordinates:
ERROR 6: Unable to load PROJ.4 library (libproj.so), creation of
OGRCoordinateTransformation failed.
Upper Left (-180.0000000, 90.0000000)
ERROR 6: Unable to load PROJ.4 library (libproj.so), creation of
OGRCoordinateTransformation failed.
Lower Left (-180.0000000, -90.0000000)
ERROR 6: Unable to load PROJ.4 library (libproj.so), creation of
OGRCoordinateTransformation failed.
Upper Right ( 180.0000000, 90.0000000)
ERROR 6: Unable to load PROJ.4 library (libproj.so), creation of
OGRCoordinateTransformation failed.
Lower Right ( 180.0000000, -90.0000000)
ERROR 6: Unable to load PROJ.4 library (libproj.so), creation of
OGRCoordinateTransformation failed.
Center ( -0.0000000, 0.0000000)
Band 1 Block=43200x1 Type=UInt32, ColorInterp=Palette
Min=-407.000 Max=8752.000
NoData Value=65535
Color Table (RGB with 256 entries)
.....cut
i am a little confused because the proj4 lib is present in /usr/lib/ and also in /usr/local/lib/
and there were no configure option in gdal including the proj4 libaries.
to be honest there were :
/usr/lib/libproj.a
/usr/lib/libproj.la
/usr/lib/libproj.so
/usr/lib/libproj.so.0
/usr/lib/libproj.so.0.3.1
/usr/local/lib/libproj.a
/usr/local/lib/libproj.la
/usr/local/lib/libproj.so
/usr/local/lib/libproj.so.0
/usr/local/lib/libproj.so.0.4.0
though i`m pretty sure that i had installed proj-4.4.6
project operations in both grass and mapserver seems to work fine.
any help welcome
best regards
heiko
More information about the MapServer-users
mailing list