>
>
>> The tfw contains the "grid to world" affine transformation, not the
> projection, which would be in the prj file instead.
> Btw, a tif + tfw + prj is not a proper GeoTIFF, GeoTIFF has a spec, which
> says every georeferencing information is
> in the file headers (that is, you just have one file).
>
>
Thanks for the information. I think we can blame the Ordnance Survey on
this one then.
tl;dr: my later editions of those tiles are not in the same format, and it
> will take a little work to get them to work as a mosaic. I'll look at that
> now.
Actually Tom it's really simple.
dir /b /s *.tif > tiff_list.txt
> gdalbuildvrt -vrtnodata 0 -input_file_list tiff_list.txt os_50000.vrt
> gdal_translate -of GTiff -co "TILED=YES" -co "COMPRESS=DEFLATE" -co
> "BLOCKXSIZE=512" -co "BLOCKYSIZE=512" -a_srs "EPSG:27700" os_50000.vrt
> 50000_Colour.tif
> gdaladdo -r average --config COMPRESS_OVERVIEW DEFLATE 50000_Colour.tif 2
> 4 8 16 32
Put that in a batch file (or run from the command console in stages - best
to do that first) and you can use it to create a GeoServer optimised
mosaic. (for the entire UK you may want to add a few extra levels of
overviews)
Just CD into the directory with all the files and run it there.
For the entire UK I'd suggest splitting the files manually into two groups
(north and south) and then running that on each part. Then imagemosaic
those two halves.
Cheers,
Jonathan
--
This transmission is intended for the named addressee(s) only and may
contain confidential, sensitive or personal information and should be
handled accordingly. Unless you are the named addressee (or authorised to
receive it for the addressee) you may not copy or use it, or disclose it to
anyone else. If you have received this transmission in error please notify
the sender immediately. All email traffic sent to or from us, including
without limitation all GCSX traffic, may be subject to recording and/or
monitoring in accordance with relevant legislation.
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users