Hi Hamish,
I managed to compile gdal from source with ecw support.
The download from the ERMapper site was named ECW JPG2000 SDK v3.3
It was the JPG2000 that threw me off. Support for both formats is in
the SDK.
The compile of the SDK was straight forward but I have never seen so
many warnings before. I then went back to compiling gdal.
The trick is to run configure like this.
./configure --with-ecw=/usr/local/
Which is the default install location for the SDK libs
Then the normal make stuff.
I then realised that I had multiple copies of gdal installed.
I tried to uninstall one using the synaptic packet manager and it also
tried to uninstall gpsdrive so I gave up on that idea.
If I run /usr/local/bin/gdalinfo now it reports ECW as being supported
==================================================
/usr/local/bin/gdalinfo --formats | grep ECW
ECW (rw): ERMapper Compressed Wavelets
JP2ECW (rw+): ERMapper JPEG2000
==================================================
I edited your gdal_slice.sh script a little bit to include the full path
to gdal to avoid the multiple install of gdal problem.
However I received lots and lots of messages like this.
==================================================
./gdal_slice.sh: line 72: /usr/local/bingdal_translate: No such file or
directory
==================================================
I did a find for bingdal_translate and it wasn't found.
So you know where I can get this from?
(Thanks heaps for you help so far)
David.
On Fri, 2006-12-15 at 02:08 +1300, Hamish wrote:
> Hi,
>
> I've refined my script to convert a large GeoTIFF* to a series of
> gpsdrive tiles.
>
> [*] or any geo-registered image format known to GDAL,
> http://www.gdal.org/formats_list.html
>
>
> get it here:
> http://hamish.bowman.googlepages.com/gpsdrivefiles
>
> It seems to work AFAICT. Scaling isn't perfect, but I don't think it
> ever will be with map_* backdrop tiles at scales coarser than 1:200,000
> or so.
>
> You'll have to edit the first lines of the script to get your input
> filename correct.
>
> Hopefully in the future gpsdrive will use GDAL directly and any GDAL/OGR
> known image will "just work", and we can do away with this 1280x1024 and
> map_koord.txt nonsense. It is certainly possible.
>
>
>
> Hamish
> --
> This message was part of the gpsdrive mailinglist
> unsubscribing can be done by sending a mail containing a body of:
> -quote--
> unsubscribe gpsdrive
> -unquote--
> to majordomo-ahljRfkWE0EwtzFM8z8+AfP6llvjuJOh@xxxxxxxxxxxxxxxx
--
This message was part of the gpsdrive mailinglist
unsubscribing can be done by sending a mail containing a body of:
-quote--
unsubscribe gpsdrive
-unquote--
to majordomo-ahljRfkWE0EwtzFM8z8+AfP6llvjuJOh@xxxxxxxxxxxxxxxx
|