Hi @jitkam,
There are a few ways that you could do this depending on the geographical extent that you want. Are you wanting to extract all the NFL stadiums in the world or a select few?
If you're only looking for a few buildings, you can just find the extent that you want and export it from OSM. When you bring in the file to FME, select only building feature types to read in. Inspect the data to take a look at what metadata you have; OSM gives you the names of buildings as the attribute 'name'. Use a Tester or
TestFilter transformer to filter out the buildings that you want, and then you can write out to any format that you like. If you want each building in a separate file, you can use a
dataset fanout in your Writer.
If you're looking for a larger scale you may need additional information like a list of the NFL buildings and their geographic locations. You may need to
reproject this into the same coordinate system as the OSM data, and then you can do an overlay using the
PointOnAreaOverlayer to determine which polygons you want to filter out using the
Tester. Depending on what information source you're using,
this tutorial might be helpful for you to create points from an excel or csv table.
Here's how I extracted just one building (the Rogers Arena in Vancouver, I'm sorry I looked up NHL locations instead of NFL at first). Hope this answers your question!
Hi @jitkam,
There are a few ways that you could do this depending on the geographical extent that you want. Are you wanting to extract all the NFL stadiums in the world or a select few?
If you're only looking for a few buildings, you can just find the extent that you want and export it from OSM. When you bring in the file to FME, select only building feature types to read in. Inspect the data to take a look at what metadata you have; OSM gives you the names of buildings as the attribute 'name'. Use a Tester or
TestFilter transformer to filter out the buildings that you want, and then you can write out to any format that you like. If you want each building in a separate file, you can use a
dataset fanout in your Writer.
If you're looking for a larger scale you may need additional information like a list of the NFL buildings and their geographic locations. You may need to
reproject this into the same coordinate system as the OSM data, and then you can do an overlay using the
PointOnAreaOverlayer to determine which polygons you want to filter out using the
Tester. Depending on what information source you're using,
this tutorial might be helpful for you to create points from an excel or csv table.
Here's how I extracted just one building (the Rogers Arena in Vancouver, I'm sorry I looked up NHL locations instead of NFL at first). Hope this answers your question!
@JovitaAtSafe thank you for your answer,
(no worry about NHL, I'd so much prefer hockey too) What I really need to do I guess is to get all of the US NFL locations and pulling one by is time consuming and not practical. At the moment I do not have my reader data, I am trying to find a quick way to access it from OSM if possible in bulk and then process it using FME.
@JovitaAtSafe thank you for your answer,
(no worry about NHL, I'd so much prefer hockey too) What I really need to do I guess is to get all of the US NFL locations and pulling one by is time consuming and not practical. At the moment I do not have my reader data, I am trying to find a quick way to access it from OSM if possible in bulk and then process it using FME.
@jitkam understandable, there are a lot of US stadiums (just checked, wow!). To my knowledge, it doesn't seem like you'll be able to get a quick desired output from just OSM data alone for all of the US. I would suggest downloading a CSV or other file that contains all the stadiums in the US and the locations,
this search result for that data looks promising. You can use FME to integrate both sets of data, for example through a spatial overlay (point locations of stadiums over the areas of polygons from OSM building data) which will get you the result you want. I think finding the data with the stadium info will be half the work and the rest should be fairly quick after that.