[ms4w-users] mrsid output format problem
Yannick Doiron
yannick.doiron at cipanb.ca
Thu Dec 21 14:26:58 EST 2006
Hi all,
I have installed ms4w2.2.1. I also setup the pmapper 3.0.0 and it is up and running. I want to display MrSid and it is said in the install notes of ms4w that MrSID in enable now by default. So I tried a test with 2 files and with a tiledindex.
LAYER
NAME "mrsidtest"
TYPE RASTER
GROUP Ortho
STATUS DEFAULT
TILEINDEX "/ms4w/apps/pmapper-3.0.0-bassin/data/geotif/mrsidtest.shp"
TILEITEM "location"
METADATA
"DESCRIPTION" "MrSid Ortho Test"
END
END
OUTPUTFORMAT
NAME "MrSID"
DRIVER "GDAL/MrSID"
MIMETYPE "image/mrsid"
IMAGEMODE "RGBA"
EXTENSION "sid"
END
I think there is something wrong with the OUTPUTFORMAT tag in the mapfile. The Appach error log is saying this:
[21-Dec-2006 14:58:33] PHP Warning: [MapServer Error]: loadOutputFormat(): OUTPUTFORMAT clause references driver GDAL/MrSID, but this driver isn't configured.
in C:\ms4w\apps\pmapper-3.0.0-bassin\incphp\globals.php on line 58
[21-Dec-2006 14:58:33] PHP Warning: [MapServer Error]: msInitGDALOutputFormat(): GDAL `MrSID' driver does not support output.
in C:\ms4w\apps\pmapper-3.0.0-bassin\incphp\globals.php on line 58
[21-Dec-2006 14:58:33] PHP Warning: Failed to open map file C:/ms4w/apps/pmapper-3.0.0-bassin/config/default/pmapper_bassin_v3.map in C:\ms4w\apps\pmapper-3.0.0-bassin\incphp\globals.php on line 58
[21-Dec-2006 14:58:33] P.MAPPER-ERROR: RESOLUTION tag not set to 96. This value is needed for proper function of PDF print.
[21-Dec-2006 14:58:33] PHP Fatal error: Call to a member function getAllGroupNames() on a non-object in C:\ms4w\apps\pmapper-3.0.0-bassin\incphp\init\initmap.php on line 96
When I quote the OUTPUT FORMAT, the pmapper application load up correctly with all the layers but not mrsid appear. Did I miss a step? I did some search in all the list but I all refered when it was not build in for older MS4W package.
Any help or clue is welcome.
Thank you \ merci
Yannick Doiron
Technicien en géomatique
CIPA Inc.
1040, rue du Parc, pièce 1
Paquetville (Nouveau-Brunswick) E8R 1J7
Téléphone: (506) 764-1030 Extension: 214
Télécopieur: (506) 764-1039
Siteweb : www.cipanb.ca
Lat: 47° 39' 29.8" N Long: 65° 06' 07.5" O
Note : Ce courriel est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire (s) désigné (s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser immédiatement, par retour de courriel ou par un autre moyen.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ms4w-users/attachments/20061221/576e1bff/attachment.html
More information about the ms4w-users
mailing list