[Mapserver-users] Geo TIFFs
Frank Warmerdam
warmerdam@pobox.com
Fri, 16 Jan 2004 14:48:38 -0500
Jason M. Nielsen wrote:
> Can anyone get the libgeotiff library to compile in order to include GEO TIFF
> support in mapserver?
>
> [root@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@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users