display quality of scanned maps

Jordi Valls Alseda valls at AMB.ES
Mon Nov 29 06:36:18 EST 2004


Hello mapserver users,

I am working with mapserver and I am very satisfied with the software. Now
I have a problem:
my organization is interested in showing scanned maps from historical urban
planing. The scanned maps, in jpg format, look fine with Arcmap(the esri
product). But when I put them in mapserver, using the tileindex utility,
the quality of the image  is not good. What can I do to improve the quality
of the image?.

The map file looks like this:

OUTPUTFORMAT
 NAME JPEG
 DRIVER "GD/JPEG"
 MIMETYPE "image/JPEG"
 FORMATOPTION "QUALITY=100"
 IMAGEMODE RGBA
END
IMAGETYPE JPEG

LAYER  # PGM  1:2000
  NAME "PGM_2000"
  MINSCALE 0
  MAXSCALE 60000
 PROCESSING "DITHER=YES"
  TILEINDEX "c:\Archivos de programa\Apache Group\Apache2
\htdocs\PGMFulls\pasadas.shp"
  TILEITEM LOCATION
  TYPE RASTER
  STATUS OFF

END # fi del layer


Many Thanks,


Jordi Valls i Alsedà
www.amb.es <http://www.amb.es>
email: valls at amb.es



More information about the mapserver-users mailing list