Skip to main content
Question

in FME 2020 the behaviour of Generic Reader changed in a way, that "Guess format from extension" for GPKG now defaults to GEOPACKAGE_RASTER instead of GEOPACKAGE (vector). This broke a workflow in our application. Why was this changed ?

  • September 8, 2020
  • 3 replies
  • 35 views

mhab
Contributor
Forum|alt.badge.img+10
  • Contributor
in FME 2020 the behaviour of Generic Reader changed in a way, that "Guess format from extension" for GPKG now defaults to GEOPACKAGE_RASTER instead of GEOPACKAGE (vector). This broke a workflow in our application. Why was this changed ?

3 replies

mark2atsafe
Safer
Forum|alt.badge.img+43
  • Safer
  • September 9, 2020

It could be that the last time you manually selected a gpkg file, you selected Raster Geopackage, and now the generic reader thinks this is correct for all files. I would manually add a gpkg file to a new workspace using the Vector Geopackage reader. Then it's possible that the Generic reader action will be reversed.

In short: it's just using the last format you used manually.


mhab
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • September 10, 2020
mark2atsafe wrote:

It could be that the last time you manually selected a gpkg file, you selected Raster Geopackage, and now the generic reader thinks this is correct for all files. I would manually add a gpkg file to a new workspace using the Vector Geopackage reader. Then it's possible that the Generic reader action will be reversed.

In short: it's just using the last format you used manually.

Thanks Mark for the explanation.

I fixed the problem by passing the desired format as a parameter to the workspace for the Generic Reader instead of relying on defaults which are getting more and more unpredicatable ;-)


davtorgh
Contributor
Forum|alt.badge.img+10
  • Contributor
  • May 13, 2022
mark2atsafe wrote:

It could be that the last time you manually selected a gpkg file, you selected Raster Geopackage, and now the generic reader thinks this is correct for all files. I would manually add a gpkg file to a new workspace using the Vector Geopackage reader. Then it's possible that the Generic reader action will be reversed.

In short: it's just using the last format you used manually.

Hi @mark2atsafe​,

 

I have the same problem and I've never used the Raster Geopackage Reader. Unfortunatley this issue prevents users to load data in geopackage vector format in a dynamic workspace I have published to FME Server. I will have to use the same workaround as mhab.

 

In case of news about this issue, please let me know.

 

Thanks!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings