Skip to main content
Open

Control significant figures on world files

Related products:Transformers
  • April 22, 2024
  • 0 replies
  • 27 views

jdh
Contributor
Forum|alt.badge.img+40
World files like tfws produced by FME are rounded to 10 significant digits when written by the various raster writers even if the original georeferencing is more precise. This is an issue when working with images in Lat-Long when attempting to work with both the original image and the created image because transformers like the RasterBandCombiner or RasterCalculator fail with an error that the x and y spacing doesn't match.Simply writing geotiffs won't work because the tif image is processed in non-geospatial aware software and requires the tfw to preserve the georeferencing information. A common workflow is RasterReader->FMEprocessing->FeatureWriter(tif+tfw)->external processing->FeatureReader-> Further FME processing It would be nice if we could specify the significant digits and/or whether to round them at all on either the writer itself or as a system setting. Migration Note: Idea originally posted on 2024-02-02