Nicholas

I was interested about similar things a few weeks ago and got quick help in this forum. As jean-Claude already mentioned there's a header editor for Windows that allows you to see/edit the datum and projection info. Jean-Claude also created a tool "ecwhed" that allows you to get and set these parameters via the command line, at least under Linux it compiles easily, it requires the ECW SDK.

If you create ECW's via GDAL you should use the options -co "PROJ=..." and -co "DATUM=..." to be sure what GDAL writes to the ECW header. For reading ECW files GDAL uses the definitions in the file "ecw_cs.wkt" (on Unix under /usr/local/share/gdal/). There you can add your own projections and datums or modify existing ones, eg. adding datum shift parameters. Programs that use GDAL for raster rendering like QGIS or ArcGis 10 can also work with these new projection definitions if you add them to their own "ecw_cs.wkt" file, Mapserver takes the file of the GDAL installation.

Regards
Armin



On 28/06/2011 03:09, nicholas.g.lawre...@tmr.qld.gov.au wrote:
Hello all,

Does anyone know where the datum and projection information is stored
inside an ecw?

Kind regards,

*
Nicholas Lawrence*
Senior Spatial Science Officer | Darling Downs Region / Toowoomba Office *
Assets & Operations* Division | Department of Transport and Main Roads


Floor 1 | Toowoomba - Phillip Street | 1-5 Phillip Street (cnr Clopton
Street) | Toowoomba Qld 4350
PO Box 645 | Toowoomba Qld 4350
P: (07) 46390764 | F: (07) 46390750
E: nicholas.g.lawre...@tmr.qld.gov.au
W: www.tmr.qld.gov.au *
Tomorrow's Queensland: strong, green, smart, healthy and fair –
www.towardQ2.qld.gov.au*
P | Please consider the environment before printing this email

***********************************************************************
WARNING: This email (including any attachments) may contain legally
privileged, confidential or private information and may be protected by
copyright. You may only use it if you are the person(s) it was
intended to be sent to and if you use it in an authorised way. No one
is allowed to use, review, alter, transmit, disclose, distribute, print
or copy this email without appropriate authority.

If this email was not intended for you and was sent to you by mistake,
please telephone or email me immediately, destroy any hardcopies of
this email and delete it and any copies of it from your computer
system. Any right which the sender may have under copyright law, and
any legal privilege and confidentiality attached to this email is not
waived or destroyed by that mistake.

It is your responsibility to ensure that this email does not contain
and is not affected by computer viruses, defects or interference by
third parties or replication problems (including incompatibility with
your computer system).

Opinions contained in this email do not necessarily reflect the
opinions of the Department of Transport and Main Roads,
Maritime Safety Queensland or endorsed organisations utilising
the same infrastructure.
***********************************************************************



_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to