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
  • 54 views

mhab
Contributor
Forum|alt.badge.img+10
  • Contributor
  • 106 replies
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 ?
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.

3 replies

mark2atsafe
Safer
Forum|alt.badge.img+56
  • Safer
  • 2554 replies
  • 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
  • 106 replies
  • September 10, 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.

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+11
  • Contributor
  • 105 replies
  • May 13, 2022

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!