Skip to main content
Question

writing ecw world file

  • September 1, 2014
  • 2 replies
  • 131 views

zzupljanin
Contributor
Forum|alt.badge.img+5
Hi,

 

 

I'm converting tiff (with tfw) file to ecw, but after transformation there is no eww (ecw's world file) neither is ecw properly georeferenced.

 

 

Yes, there is a way to georeference it by changing the extension of original tfw file, but that doesn't solve problem if you're running any other transformations (e.g. clipper) in between.

 

 

Thank you in advance.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

takashi
Celebrity
  • September 1, 2014
Hi,

 

 

Since world file is a plain text file, you can write it with the TEXT writer. The text lines can be created based on raster properties.

 

Wikipedia: World file (http://en.wikipedia.org/wiki/World_file)

 

To retrieve raster properties, consider using the RasterPropertiesExtractor.

 

 

There is another (a little odd) way. The JPEG writer can create the world file (*.wld). So, if you write jpeg file with ecw file into the same folder, the world file will be created. If necessafy, remove the jpeg files and change extension of the world files with Shutdown script.

 

 

Takashi

Forum|alt.badge.img
  • September 1, 2014
Please raise this with Safe as an enhancement request. There is already an enhancement request for this, so more people saying they want it would hopefully push it up the development list.

 

 

As for the workaround, Takashi answers are the way to go if you want to use FME.