[Mapserver-users] ECW Example
Bart van den Eijnden
bartvde at xs4all.nl
Sun Oct 12 09:06:18 PDT 2003
Hi,
attached an example map file which uses ECW files.
I think ECW is generally a good format to use, but also depending on your
color depth (ECW is always 24-bit). I did not find any big performance
improvement using tiles for my specific situation in which the largest ECW
file was 5 Gb.
Best regards,
Bart
#
# Start of map file
#
NAME GEOSTREETS
STATUS ON
SIZE 600 600
#EXTENT 388107.634400379 5203120.88405952 500896.339019834 5310243.30613897
EXTENT 150000 300000 260000 630000
UNITS METERS
IMAGECOLOR 255 255 255
#
# Start of web interface definition (including WMS enabling metadata)
#
WEB
HEADER demo_header.html
TEMPLATE demo.html
FOOTER demo_footer.html
MINSCALE 50
MAXSCALE 155000000000
IMAGEPATH "set in demo_init.html"
IMAGEURL "set in demo_init.html"
METADATA
WMS_TITLE "UMN MapServer Geostreets"
WMS_ABSTRACT "UMN MapServer Geostreets"
WMS_ACCESSCONSTRAINTS none
WMS_ONLINERESOURCE "http://localhost:8081/bart/demo_init.html"
WMS_SRS "EPSG:28992"
END
END
#
# Start of layer definitions
#
LAYER
NAME "layer_1"
TILEINDEX "E:\bart\ecw\geostreets.shp"
TILEITEM "location"
#DATA "E:\klicnet\data\webstreets\Gstreets_2003\ecw\level1.ecw"
TYPE RASTER
MINSCALE 0
MAXSCALE 12000
STATUS ON
DUMP TRUE
METADATA
WMS_TITLE "Geostreets Level 1"
WMS_ABSTRACT "Geostreets Level 1"
WMS_SRS "EPSG:28992"
END
END
LAYER
NAME "layer_2"
DATA "E:\klicnet\data\webstreets\Gstreets_2003\ecw\level2.ecw"
TYPE RASTER
MINSCALE 12000
MAXSCALE 25000
STATUS ON
DUMP TRUE
METADATA
WMS_TITLE "Geostreets Level 2"
WMS_ABSTRACT "Geostreets Level 2"
WMS_SRS "EPSG:28992"
END
END
LAYER
NAME "layer_3"
DATA "E:\klicnet\data\webstreets\Gstreets_2003\ecw\level3.ecw"
TYPE RASTER
MINSCALE 35000
MAXSCALE 100000
STATUS ON
DUMP TRUE
METADATA
WMS_TITLE "Geostreets Level 3"
WMS_ABSTRACT "Geostreets Level 3"
WMS_SRS "EPSG:28992"
END
END
LAYER
NAME "layer_4"
DATA "E:\klicnet\data\webstreets\Gstreets_2003\ecw\level4.ecw"
TYPE RASTER
MINSCALE 100000
MAXSCALE 250000
STATUS ON
DUMP TRUE
METADATA
WMS_TITLE "Geostreets Level 4"
WMS_ABSTRACT "Geostreets Level 4"
WMS_SRS "EPSG:28992"
END
END
LAYER
NAME "layer_5"
DATA "E:\klicnet\data\webstreets\Gstreets_2003\ecw\level5.ecw"
TYPE RASTER
MINSCALE 250000
MAXSCALE 1000000
STATUS ON
DUMP TRUE
METADATA
WMS_TITLE "Geostreets Level 5"
WMS_ABSTRACT "Geostreets Level 5"
WMS_SRS "EPSG:28992"
END
END
LAYER
NAME "layer_6"
DATA "E:\klicnet\data\webstreets\Gstreets_2003\ecw\level6.ecw"
TYPE RASTER
MINSCALE 1000000
MAXSCALE 15000000
STATUS ON
DUMP TRUE
METADATA
WMS_TITLE "Geostreets Level 6"
WMS_ABSTRACT "Geostreets Level 6"
WMS_SRS "EPSG:28992"
END
END
END # Map File
On Sun, 12 Oct 2003 17:38:35 +0200, Omry Yadan <omry at telmap.com> wrote:
> 1. Can someone send me an example for a map file for ECW?
> 2. What would you recommend as a format for large raster map With
> tiles?
>
>
--
More information about the MapServer-users
mailing list