[Mapserver-users] Geo TIFFs
Frank Warmerdam
warmerdam at pobox.com
Fri Jan 16 11:48:38 PST 2004
Jason M. Nielsen wrote:
> Can anyone get the libgeotiff library to compile in order to include GEO TIFF
> support in mapserver?
>
> [root at vad3rZIM libgeotiff-1.2.0]# make
> gcc -c -O2 -Wall -DCSV_DATA_DIR=\"/usr/local/share/epsg_csv\" -I. -I.
> ./libxtiff/xtiff.c
> libxtiff/xtiff.c:29: parse error before "xtiffFieldInfo"
> libxtiff/xtiff.c:29: warning: type defaults to `int' in declaration of
> `xtiffFieldInfo'
> ...
>
> I have searched high and low through header file after header file and I still
> can find no syntax issues or anything that stands out.
Jason,
Ensure you have libtiff 3.6.0 for libgeotiff 1.2.0. It is often hard to ensure
libgeotiff gets the right libtiff include files if you have multiple versions
of libtiff on the system.
> Can I somehow build mapserver against gdal in order to get geo tiff support?
If you build GDAL "--with-libtiff=internal" and "--with-geotiff=internal" then
you will have geotiff support in mapserver. You should then build MapServer
"--without-libtiff" so it doesn't try to use it's built-in tiff support.
Good luck,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the MapServer-users
mailing list