Skip to main content
Solved

How to see boundaries traslation from .osm


geomax
Contributor
Forum|alt.badge.img+3

Hello,

If I load a file .osm downloaded from OSM in Qgis I can see in the table all traslation present for admin boundaries.

I tried to do the same in FME but I am not able to see these attributes.

Sombody can help me to understand how to do?

Thanks

Max

this is what I see in Qgis and what I would see in FME.

Best answer by geomax

Hello,

 

the file that I am using is too big to attach. I'm working on Hamburg and I dowloaded the file from geofabrik server.

I downloaded another file with the same schema.

I tried also to load data using the .xml schema present in FME folder but I have the same result.

I can see many attributes except the languages.

Thanks for your help.

Max

osm.zip

View original
Did this help you find an answer to your question?

8 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

Just out of curiousity, if you open the file in the FME Data Inspector and check the table view, do you see those attributes?


geomax
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • February 4, 2020
redgeographics wrote:

Just out of curiousity, if you open the file in the FME Data Inspector and check the table view, do you see those attributes?

Hello,

 

no. and I don't understand why.

 

Max


redgeographics
Celebrity
Forum|alt.badge.img+49
geomax wrote:

Hello,

 

no. and I don't understand why.

 

Max

Can you post a screenshot? And maybe share the data here?


geomax
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • Best Answer
  • February 4, 2020

Hello,

 

the file that I am using is too big to attach. I'm working on Hamburg and I dowloaded the file from geofabrik server.

I downloaded another file with the same schema.

I tried also to load data using the .xml schema present in FME folder but I have the same result.

I can see many attributes except the languages.

Thanks for your help.

Max

osm.zip


redgeographics
Celebrity
Forum|alt.badge.img+49
geomax wrote:

Hello,

 

the file that I am using is too big to attach. I'm working on Hamburg and I dowloaded the file from geofabrik server.

I downloaded another file with the same schema.

I tried also to load data using the .xml schema present in FME folder but I have the same result.

I can see many attributes except the languages.

Thanks for your help.

Max

osm.zip

Aha!

So what happens is that FME doesn't show all of the columns available in the data model by default, because there's so many of them.

In the Data Inspector you can click on the columns button in the table view and select which columns are visible.

In the FME Workbench you'll need to use an AttributeExposer to show the attributes, you'll have to manually enter the exact attribute name there.


geomax
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • February 4, 2020
redgeographics wrote:

Just out of curiousity, if you open the file in the FME Data Inspector and check the table view, do you see those attributes?

Hi,

 

thanks for the answer, but I have still doubts. I tryied the attribute exposer without result.

Attached what I see. Probably do I some error during the loading of the dataset?

I move the dataset directly from the folder into the FME canvas and choose Openstreetmap (OSM) XML without other setting. Is it correct?

Thanks

 

Max

2020-02-04_16-40-32.jpg2020-02-04_16-43-01.jpg


redgeographics
Celebrity
Forum|alt.badge.img+49
geomax wrote:

Hi,

 

thanks for the answer, but I have still doubts. I tryied the attribute exposer without result.

Attached what I see. Probably do I some error during the loading of the dataset?

I move the dataset directly from the folder into the FME canvas and choose Openstreetmap (OSM) XML without other setting. Is it correct?

Thanks

 

Max

2020-02-04_16-40-32.jpg2020-02-04_16-43-01.jpg

Yes, it's the OpenStreetMap XML format and it looks like you're on the right path for the AttributeExposer. The way you've set it up will expose the name:en attribute.

However, if you add a reader for the dataset it's probably better to select the individual feature types option. That'll give you a bit more control.


geomax
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • February 5, 2020
redgeographics wrote:

Yes, it's the OpenStreetMap XML format and it looks like you're on the right path for the AttributeExposer. The way you've set it up will expose the name:en attribute.

However, if you add a reader for the dataset it's probably better to select the individual feature types option. That'll give you a bit more control.

Hello,

I understood what you mean.

Thanks for your support.

 

Max

 

 


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