Link airports as containedby for apropriate locations

  1.  
    1. Airport is co typed as location so I would like to set airport as the containedby value for the correct locations.

      For example Amsterdam Schiphol should be contained by Amsterdam and Netherlands.

      Got some script and run it on the sandbox, it will get the airports serves location and add the airport as contains value for the serves location and all locations that contain the serves.

      Like Amsterdam Schiphol serves Amsterdam so schiphol is added as a value contains for amsterdam, amsterdam is contained by netherlands so schiphol is added as contains value for netherlands.

      1. Is Schiphol actually contained by Amsterdam?  I am not that familiar with Dutch location containment, but it seems like Schiphol is contained by the municipality of Haarlemmermeer and possibly contained by the city Schiphol-Rijk.

        Are you just adding containment by country, or containment by administrative division also?  If it is also the latter, there could also be the situation where an airport may serve one location, but be contained by a different administrative division.  The example I'm thinking of is Newark Airport is contained by New Jersey, but serves New York City.

      2. You have a point, I think there is no airport that is actually in the city they serve, it would be just outside the city. But nobody says thei're flying to schiphol rijk or whatever (unknown small) town that is closest to the airport or containing the airport.

        I guess thats why serves is there. In case of Schiphol, the administrative division Amsterdam is responsible for Schiphol. 

        I will only add the countries containing the airport.

      3. FYI - We are trying to get our hands on some country/airport data also, so if licensing is compatible, we may be able to add country containment to a large percentage of airport topics, and perhaps and new ones!



    Discussion is posted in:

    Think this discussion also relates to something else? Cross-post it by adding a new discussion area: