2013/5/27 Nacho - <[email protected]>
> Hi.
> I have installed qlandkarte on three ubuntu versions, 12-04, 12-10 and
> the new 13.04.
> It works right, but no with the ecw files.
> I have confirm that all is installed correctly.
> With gdalinfo I receive this output on the terminal:
>
> ECW (rw): ERMapper Compressed Wavelets
> JP2ECW (rw+): ERMapper JPEG2000
>
> And the ecw format is present on the about qlandkartegt tab.
>
> But...when I try to open any ecw file with qlandkarte it doesnt works.
>
> Instead, I can open ecw files with another soft like qgis.
>
> Any idea?
>
> Thanks a lot!
>
>
> ----------------------
Aupa Nacho:
I think it could be a problem with the header of the .ecw file. May be the
projection or datum of the ecw file is not reconized by Gdal. I have
experienced problems with maps with the ETRS89 datum.
You can check the datum and projection of the ecw file with gdalinfo:
gdalinfo filename.ecw
>
I don't know why Gdal (at least wich is installed in my pc) does not open
files with the ETRS89 datum, but I have solved it editing the header of
the ecw file. I have replaced the datum and projection info in the header
with the corresponding EPSG code and it works fine.
example for ETRS89 / UTM 30N --------> EPSG:25830
The only way I know to do this is with the "ECW header editor" utility
supplied by ERDAS and er-mapper. This is a free for use utility but it runs
on Windows. You will found different versions of this utility if you
perform a web search.
In this post of another forum you have further informartion about this (in
spanish):
http://www.mendiak.net/foro/viewtopic.php?p=598549#p598533
Here you have more info about EPSG codes:
http://spatialreference.org/ref/
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users