Skip to main content
Question

Can't read geopackage that is inside a downloaded zip file inside a folder created by TempPathnameCreator

  • September 13, 2023
  • 5 replies
  • 159 views

essb
Contributor
  • Contributor

Hi

Been struggling with this for the last hours now and I cant get it to work with gpkg, with shp it works fine. But this file i need to download is gpkg.

 

The data is open road data and the zip is around 2.7Gb big.

 

This is the error I get

OGCGEOPACKAGE reader: Dataset 'C:\\FME_TEMP\\wbrun_1694624249590_18024\\fmetmp_0\\1694627133694_13812_d\\tor050\\http_download_1694627134354_13812.zip.gpkg' requires file extension '.gpkg'. Using dataset 'C:\\FME_TEMP\\wbrun_1694624249590_18024\\fmetmp_0\\1694627133694_13812_d\\tor050\\http_download_1694627134354_13812.zip.gpkg.gpkg'

OGCGEOPACKAGE reader: C:\\FME_TEMP\\wbrun_1694624249590_18024\\fmetmp_0\\1694627133694_13812_d\\tor050\\http_download_1694627134354_13812.zip.gpkg: No such file or directory

OGCGEOPACKAGE reader: Failed to open the dataset 'C:\\FME_TEMP\\wbrun_1694624249590_18024\\fmetmp_0\\1694627133694_13812_d\\tor050\\http_download_1694627134354_13812.zip.gpkg'. Please ensure source data is valid and correct

reader is selected

 

I added the workspace so you can try to find out what is wrong, maybe its a bug of some sort.

 

EDIT: Seems FME cant read a zipped 6Gb gpkg. Luckily for me they offer the material as shapefiles aswell. Its a big zip file consisting of 19 subfolders (municipalities) and each folder has a shapefile with the data i need. So Iam now using the same setup with temppathnamecreator and featurereader, but instead of gpkg iam using shape. And it works! :)

 

 

 

 

5 replies

nielsgerrits
VIP
Forum|alt.badge.img+54

Does it work with a smaller geopackage?

 

Can u unzip it using the ZipExtractor custom transformer?


essb
Contributor
  • Author
  • Contributor
  • September 13, 2023
nielsgerrits wrote:

Does it work with a smaller geopackage?

 

Can u unzip it using the ZipExtractor custom transformer?

I tried with other smaller files and it works. So maybe the problem is that the file is to big?

 

Forgot to mention, Iam using FME Desktop 2022.1.3


nielsgerrits
VIP
Forum|alt.badge.img+54
essb wrote:

I tried with other smaller files and it works. So maybe the problem is that the file is to big?

 

Forgot to mention, Iam using FME Desktop 2022.1.3

Not sure, but I have had my share of issues using the temppathnamecreator and I think the size has to do with it.


hkingsbury
Celebrity
Forum|alt.badge.img+55
  • Celebrity
  • September 18, 2023

Are you running with feature caching on? feature caching and the temppathnamecreator don't play nicely together


essb
Contributor
  • Author
  • Contributor
  • September 18, 2023
hkingsbury wrote:

Are you running with feature caching on? feature caching and the temppathnamecreator don't play nicely together

Thanks for the tip, I tried without feature caching but same problem.

 

But I just solved the problem. They deliver the material as shape files aswell and that works.


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