Hi, With substantial help from crschmidt:
A bit more research and I realize that ECW is legally encumbered... which is too bad because wavelet based compression sounds pretty cool. It comes with some of the mapserver turnkey packages such as fwtools but I wasn't able to build it on my FreeBSD box. Also I found that the geotorrent dataset is basically a waste of time - it's just a repackaging of stuff you can now get more directly. It's best to just go straight to: http://earthobservatory.nasa.gov/Newsroom/BlueMarble/BlueMarble_monthlies.html Finally I also discovered that the documentation I was using was old - all the cool kids are doing 'internal' tiling - rather than actually writing separate tiles to disk ... the basic incantation overall was something like this: 1) fetch desired data from above url as a torrent ( i used ctorrent for freebsd ) 2) gdal_translate -a_ullr -180 90 -90 0 -co TILED=YES A1.png a1.tiff [ change extents per file! ] 3) gdaladdo --config GDAL_CACHEMAX 1500 -r average a1.tiff 4 8 16 32 64 128 256 Probably one more step would be to merge them into a giant tiff ... I'm still looking at that case - I want to avoid hitting the tiff 4gb limit and avoid having to use bigtiff if possible. In any case now you have data suitable for mapserver to print - like so: layer name "blue" type raster status on data "a1.tiff" projection "init=epsg:4326" end end Or like so: http://maps.civicactions.net/cgi-bin/mapserv?map=/www/sites/maps.civicactions.net/maps/world3.map&service=WMS&WMTVER=1.0.0&REQUEST=map&SRS=EPSG:4326&LAYERS=blue&FORMAT=image/jpeg&STYLES=&TRANSPARENT=TRUE&WIDTH=512&HEIGHT=512&BBOX=-180,0,-90,90 - a On Sat, Aug 2, 2008 at 11:18 AM, Frank Warmerdam <[EMAIL PROTECTED]>wrote: > Anselm Hook wrote: > >> Hi, I'm stuck trying to render blue marble next generation from ECW >> format; here's an example of where it is failing - it is showing two of the >> three layers ( my default world boundaries ) but not showing my new 'bmng' >> layer at all...: >> >> >> http://maps.civicactions.net/cgi-bin/mapserv?map=/www/sites/maps.civicactions.net/maps/world.map&service=WMS&WMTVER=1.0.0&REQUEST=map&SRS=EPSG:4326&LAYERS=lowboundaries,boundaries,bmng&FORMAT=image/png&STYLES=&TRANSPARENT=TRUE&WIDTH=1024&HEIGHT=512&BBOX=-180,-90,180,90< >> http://maps.civicactions.net/cgi-bin/mapserv?map=/www/sites/maps.civicactions.net/maps/world.map&service=WMS&WMTVER=1.0.0&REQUEST=map&SRS=EPSG:4326&LAYERS=lowboundaries,boundaries,bmng&FORMAT=image/png&STYLES=&TRANSPARENT=TRUE&WIDTH=1024&HEIGHT=512&BBOX=-180,-90,180,90 >> > >> >> I have two problems, one is that I couldn't find any documentation on how >> to do this; I'm not even absolutely sure if mapserver can process ECW. And >> secondly that it isn't working. Any help would be greatly appreciated. >> > > Anselm, > > Whether MapServer can render from ECW depends a lot of how it was built. > Is it built against a GDAL library with ECW support enabled? The ECW > depends on the external (not open source) libraries from ERMapper/Leica > so they aren't included by default. > > You might try "gdalinfo --format ecw" if there are gdal binaries > corresponding > to the MapServer build. > > Best regards, > -- > > ---------------------------------------+-------------------------------------- > I set the clouds in motion - turn up | Frank Warmerdam, > [EMAIL PROTECTED] > light and sound - activate the windows | > http://pobox.com/~warmerdam<http://pobox.com/%7Ewarmerdam> > and watch the world go round - Rush | President OSGeo, http://osgeo.org > > -- anselm 415 215 4856 http://hook.org http://makerlab.com http://meedan.net
_______________________________________________ Geowanking mailing list [email protected] http://lists.burri.to/mailman/listinfo/geowanking
