Hi,
is there a way to easily extract all the NFL stadium polygons from open street map?
Thank you
Hi,
is there a way to easily extract all the NFL stadium polygons from open street map?
Thank you
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!
(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.
(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.