AGG build and test with current SVN

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Mon Aug 6 18:38:07 EDT 2007


Hi all,

Boy was it a pain to get agg to compile with freetype support. For the 
record this is what I did, but agg really needs to get their autotools 
stuff working.

cd /u/software/agg-2.5/examples/X11
vi Makefile
#    added -I/usr/include \ to the list of include paths
make freetype
# this runs then bombs but creates the agg_font_freetype.o file

cd /u/software/agg-2.5/include
ln -s ../font_freetype/agg_font_freetype.h

cd /u/software/agg-2.5/src
ln -s ../font_freetype/agg_font_freetype.o
vi Makefile
# added .o to line
# OBJ=$(SRC_CXX:.cpp=.o) $(SRC_C:.c=.o) agg_font_freetype.o

cd /u/software/agg-2.5/
make

cd /u/software/mapserver-svn
./configure \
   --enable-ignore-missing-data \
   --enable-debug \
   --with-httpd=/usr/sbin/apache \
   --with-proj=/usr \
   --with-agg=/u/software/agg-2.5 \
   --with-gd \
   --with-gdal \
   --with-freetype \
   --with-postgis \
   --without-tiff \
   --with-wmsclient \
   --with-ogr \
   --with-wfs \

make

There is probably a better/simpler way to do this, but this worked.
Results are here:

http://imaptools.com/cgi-bin/mapserv-4.99?mode=map&map=/u/data/test/spiral.map
http://imaptools.com/maps/compare-maps2.php?loc=99&ll=34.0011238+-118.3511872&address=&city=le+paso&state=tx&zipcode=&country=&asrv=1&amf=%2Fu%2Fdata%2Fmaps%2Fgoogle-aa2.map&msa=mapserv-4.10&bsrv=1&bmf=%2Fu%2Fdata%2Fmaps%2Fgoogle-agg.map&msb=mapserv-4.99&submit=Show

Thomas,

I few things to note:

1) lost the dashed lines on the state boundaries
2) font got bolder and smaller and lost the outline color
3) font seems to have lost (c) symbol. Is this using the ttf I specify?

Steve L,

Please, fix the scale computation bug. Pretty please!

Thanks guys, let me know if you want tivkets on this stuff, or if it is 
all stuff you are aware of.



More information about the mapserver-dev mailing list