[Mapserver-users] GDAL utilities (openv 1.6) and ECW.

Omry Yadan omry at telmap.com
Tue Oct 14 00:49:29 PDT 2003


I have downloaded 'openev 1.60' binaries for windows, I didn't compile it
myself..
Do you know if binaries that supports ECW are available?


-----Original Message-----
From: Swaminathan, Gayathri [mailto:gayathri at ou.edu] 
Sent: ב 13 אוקטובר 2003 19:10
To: 'Omry Yadan'; bartvde at xs4all.nl
Cc: mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] ECW Example

Hi:

Is your gdal compiled with the ECW_SDK from ermapper's site...

You will have to make changes to the nmake.opt of gdal to implement this..

Cheers,
Gayathri

-----Original Message-----
From: Omry Yadan [mailto:omry at telmap.com] 
Sent: Monday, October 13, 2003 10:46 AM
To: bartvde at xs4all.nl
Cc: mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] ECW Example


No luck..

[c:\projects\ecw]gdalinfo sf5504.ecw
ERROR 4: `sf5504.ecw' not recognised as a supported file format.

GDALOpen failed - 4
`sf5504.ecw' not recognised as a supported file format.



-----Original Message-----
From: bartvde at xs4all.nl [mailto:bartvde at xs4all.nl] 
Sent: ב 13 אוקטובר 2003 13:46
To: Omry Yadan
Cc: mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] ECW Example

Hi Omry,

can you always cc the mailing list please?

You can use gdalinfo.exe for this.

See:
http://gdal.maptools.org/gdal_utilities.html

Best regards,
Bart

> Hi Bart,
> How do I find the correct extent for my sample ECW file?
>
>
> -----Original Message-----
> From: Bart van den Eijnden [mailto:bartvde at xs4all.nl]
> Sent: à 12 àå÷èåáø 2003 18:06
> To: Omry Yadan; mapserver-users at lists.gis.umn.edu
> Subject: Re: [Mapserver-users] ECW Example
>
> 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"
>       T
> YPE 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?
>>
>>
>
>
>
> --
>
>

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list