Skip to main content
Question

OSM.PBF convert to OSM XML ?

  • May 8, 2026
  • 1 reply
  • 80 views

davidlee
Supporter
Forum|alt.badge.img+8

I want to convert OSM data downloaded in .osm.pbf format into OSM format, but I’m encountering the following issue:

When converting from .osm.pbf to .osm in FME, the OSM XML data is incorrect: all polygons (areas) become lines, and many objects are missing. I tried using Osmium Docker for the conversion, and the OSM data remained intact.

Is there a way to achieve the same result as Osmium within FME? Am I missing something?

1 reply

crystalwang
Safer
Forum|alt.badge.img+21

Hi ​@davidlee,

Thank you for posting your question on the FME Community!

To help narrow this down, a few questions: what FME version are you using, and what type of geometry is stored in your OSM PBF file? It would also be really helpful if you could share a sample workspace and some sample data that demonstrates the issue if possible.

Looking forward to helping you get this sorted!