Skip to main content
Solved

Jp2 files sits on each other in the same extents

  • February 22, 2021
  • 1 reply
  • 27 views

canerakin
Contributor
Forum|alt.badge.img+6

I have multiple (210) jp2 files, FME reads them but the extents seems the same for all of them. Therefore they sit top of each other. If I check the raster files in ArcGIS Pro, they are next to each other and extents are different.

The coordinate system is not in the list of FME. I created a custom one using the tool below.

https://demos-safe-software.fmecloud.com/fmedatastreaming/Coordsys/Start.fmw?

 

The coordinate system is ESRI:102717.

https://epsg.io/102717

 

One warning that I am getting when I run the workbench is JPEG2000 reader: `<MYLOCALPATH>\\w_10890984_12_17100_4bd_2017.aux' exists but could not be opened. File contents may be invalid, or the file format may not be supported.

 

Best answer by andreaatsafe

Hi @canerakin​ ,

 

I took a look at your sample rasters files you shared.

The issue is the tab files associated with the JP2 files all have the same definition. They are both defining the same extent in the tab file, hence the files are stacking.

FME reads in JP2 files and uses the tab file to georeference if the tab file is available. Whereas in ArcGIS, a world file (jpw) or auxilery files are used for the georeferencing.

 

If you remove the tab files, then FME reads in these files in aligned next to each other.

 

Hope this helps,

Andrea

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.

1 reply

andreaatsafe
Safer
Forum|alt.badge.img+15
  • Safer
  • Best Answer
  • February 23, 2021

Hi @canerakin​ ,

 

I took a look at your sample rasters files you shared.

The issue is the tab files associated with the JP2 files all have the same definition. They are both defining the same extent in the tab file, hence the files are stacking.

FME reads in JP2 files and uses the tab file to georeference if the tab file is available. Whereas in ArcGIS, a world file (jpw) or auxilery files are used for the georeferencing.

 

If you remove the tab files, then FME reads in these files in aligned next to each other.

 

Hope this helps,

Andrea