mrsid output format problem

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

mrsid output format problem

Yannick Doiron

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.

 


_______________________________________________
ms4w-users mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/ms4w-users
Reply | Threaded
Open this post in threaded view
|

Re: mrsid output format problem

Frank Warmerdam
Yannick Doiron wrote:
> 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.

Yannick,

I don't know if the MrSID driver is configured or not in MS4W, but in
any event if it is it will be read-only.  You would need a custom build
to support actually creating MrSIDs, and also some sort of commercial
agreement with Lizardtech.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [hidden email]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org

_______________________________________________
ms4w-users mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/ms4w-users