#1731 closed defect (fixed)
GDAL-GRASS plugin install omission of driver/
Reported by: | Markus Neteler | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | svn-trunk |
Severity: | normal | Keywords: | grass |
Cc: | Mateusz Łoskot |
Description
Frank,
using recent MapServer for displaying GRASS 6 data, it turned out after strace debugging that GDAL (or MapServer) expect the GRASS drivers in the plugin directory:
[root@localhost cgi-bin]# export REQUEST_METHOD=GET [root@localhost cgi-bin]# export QUERY_STRING="map=/var/www/html/mapfiles/nc_wake.map" [root@localhost cgi-bin]# ./mapserv No such file or directory: Cannot open drivers directory No such file or directory: Cannot open drivers directory Content-type: text/html ...
I had to manually copy the GRASS DB drivers to make the plugin happy:
cp -r /home/neteler/grass63/dist.x86_64-unknown-linux-gnu/driver/db /usr/local/share/gdal/grass/driver/ ls -la /usr/local/share/gdal/grass/ total 4 drwxr-xr-x 4 neteler neteler 1024 Aug 1 10:27 ./ drwxr-xr-x 3 neteler neteler 1024 Jul 11 14:42 ../ drwxr-xr-x 3 root root 1024 Aug 1 10:27 driver/ drwxr-xr-x 2 neteler neteler 1024 Jul 11 18:10 etc/ ls -la /usr/local/share/gdal/grass/driver/ total 3 drwxr-xr-x 3 neteler neteler 1024 Aug 1 10:31 ./ drwxr-xr-x 4 neteler neteler 1024 Aug 1 10:31 ../ drwxr-xr-x 2 neteler neteler 1024 Aug 1 10:31 db/
Patch for gdal/frmts/grass/pkg/Makefile.in attached. Then this works.
Markus
Attachments (1)
Change History (4)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Patch applied in trunk. gdal-grass 1.4.3 plugin version issued as:
comment:3 by , 16 years ago
Cc: | added |
---|---|
Keywords: | grass added |
Note:
See TracTickets
for help on using tickets.
Frank,
additionally, the file datumtransform.table seems to be missing in the install routine (desired by mapserver):
I try hard to get Mapserver-GDAL/OGR-GRASS running again... (first time with plugin). Patch attached.
Best regards,
Markus