[Mapserver-users] Can binary release of MapServer 4.0 for Windows able to manage ECW raster files?
Mario Servin
mservin at tecnoaccion.com.ar
Mon Mar 1 04:34:50 PST 2004
Dear Yewondwossen,
Thanks for your answer. I follow your suggestion and could successfully
display ECW files .After my experience I must set some points about
MapServer and ECW files:
1- It's official: binary release of MapServer version 4.0 DOES NOT SUPPORT
ECW input files. You are absolutely right, I downloaded version 4.1 from the
site you suggest me and I could display my ECW input files.
2- I was not without some additional effort. : ECW input files DO NOT USE
ANY WORLD FILE. So, if you (as I had) use ECW files not themselves
georeferenced you will be in troubles, the file is displayed but not in the
right place you want. Fortunately there is a free tool from ErMapper (ECW
Header Editor
http://www.ermapper.com/download_new/download_view.aspx?PRODUCT_VERSION_ID=192)
for modifying the header of an ECW file. With this tool we can make the file
a self georeferenced ECW file and then it is possible to use it as other
raster input files.
Again thanks a lot and regards,
Mario
----- Original Message -----
From: "Yewondwossen Assefa" <assefa at dmsolutions.ca>
To: "Mario Servin" <mservin at tecnoaccion.com.ar>
Cc: <mapserver-users at lists.gis.umn.edu>
Sent: Thursday, February 26, 2004 7:38 PM
Subject: Re: [Mapserver-users] Can binary release of MapServer 4.0 for
Windows able to manage ECW raster files?
You can download the latest version 4.1-dev that includes support for
ECW at
http://www.maptools.org/php_mapscript/index.phtml?page=downloads.html.
I have just tried it and was able to display ECW test files.
Best Regards,
Mario Servin wrote:
> Hi everybody. I am using MapServer 4.0 and was able to manage shape and
> gif input formats. I failed to generate a layer with a ECW input file.
More
> surprisingly I got no error. I just get a blank image!!!. I downloaded
> MapServer 4.0 binary realase but still i am not sure if it is prepared for
> managing this input format as the documentation I found did not refer to
> this version. If it (as I guess) can not manage ECW files, can anybody
poitn
> me to a binary version for Windows that can? Thanks in advance.
> By the way here's my .map file, still it is possible I am missing
something:
> #
> # Start of map file
> #
> NAME DEMO
> STATUS ON
> SIZE 600 600
> EXTENT 160597.5 6402017.5 500004 6682201
> UNITS METERS
> SHAPEPATH "Bariloche"
> IMAGECOLOR 255 255 255
>
> # you may need to change this to match your MapServer build
> IMAGETYPE GIF
>
> #
> # Start of web interface definition (including WMS enabling metadata)
> #
> WEB
> HEADER demo_header.html
> TEMPLATE demo.html
> FOOTER demo_footer.html
> MINSCALE 1
> MAXSCALE 16000000000
> IMAGEPATH "set in demo_init.html"
> IMAGEURL "set in demo_init.html"
> METADATA
> WMS_TITLE "UMN MapServer Itasca Demo"
> WMS_ABSTRACT "This is the UMN MapServer demonstration application for
> Itasca County located in north central Minnesota."
> WMS_ACCESSCONSTRAINTS none
>
> # change this value to match your setup
> WMS_ONLINERESOURCE "http://mariolaptop/MyPages/itasca/demo_init.html"
>
> WMS_SRS "EPSG:26915"
> END
> END
>
> #
> # Start of legend
> #
> LEGEND
> KEYSIZE 18 12
> LABEL
> TYPE BITMAP
> SIZE MEDIUM
> COLOR 0 0 89
> END
> STATUS ON
> END
>
> #
> # Start of scalebar
> #
> SCALEBAR
> IMAGECOLOR 0 0 0
> LABEL
> COLOR 255 255 255
> SIZE MEDIUM
> END
> STYLE 1
> SIZE 300 10
> COLOR 255 255 255
> UNITS KILOMETERS
> INTERVALS 5
> TRANSPARENT TRUE
> STATUS TRUE
> END
>
> #
> # Start of symbol definitions (we're only using a few)
> #
> SYMBOL
> NAME 'circle'
> TYPE ELLIPSE
> POINTS 1 1 END
> FILLED TRUE
> END
>
> #Satelital
> LAYER
> NAME "S21301"
> DATA S21301.ecw
> TYPE RASTER
> STATUS DEFAULT
> END
>
>
> END
>
>
>
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the MapServer-users
mailing list