Skip to main content
Question

Missing OSM lines with OSMPBF reader


andreaw
Participant
Forum|alt.badge.img+1

When i import OSM.pbf data in FME with the OSMPBF reader the following warning pops up:

During translation, some features were read that did not match a reader feature type in the workspace.  This can happen if the reader dataset is changed, or a reader feature type removed or renamed.

When i open the data in QGIS, the missing lines are there. 

Version 2024.2

3 replies

kailinatsafe
Safer
Forum|alt.badge.img+19

Hello ​@andreaw, may I ask how this dataset was created? Would it be possible to re-export it or curiously, export it as another format (eg. OSM XML).

If both FME and QGIS are having issues reading the same OSM PBF file, I’d lean to the problem potentially lying somewhere in the data. This being said, if you are expecting FME to successfully read the same line features as QGIS, I might consider sharing a sample OSM PBF dataset for further investigation. If you are unable to share a sample dataset here, please consider submitting a support case. Happy to help, Kailin. 


andreaw
Participant
Forum|alt.badge.img+1
  • Author
  • Participant
  • March 26, 2025

Hi Kailin, i found a solution by using the creator and featureReader transformers instead of a osmpbf Reader. Then all the lines are included. QGis did not have problems to show the missing lines. So with this workaround it’s all fine.


kailinatsafe
Safer
Forum|alt.badge.img+19

Hello ​@andrew, oh I understand now - thanks for explaining! I am glad the FeatureReader can be used to workaround the issue. 

If the FeatureReader can successfully read the OSM PBF, but the OSM PBF Reader cannot, it sounds like you have discovered a bug. I encourage you to submit a case with us or share a small sample here so we can file an issue with our Development Team & work on resolving this issue in future releases! Happy to help, Kailin. 


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