ProRail-DataLab / openspoor

The openspoor package is intended to allow easy transformation between different geographical and topological systems commonly used in Dutch Railway. Its goal is to be publicly available and function as an open source package.
MIT License
7 stars 4 forks source link

Get data from https://maps.prorail.nl/ #59

Open JoostProRail opened 1 year ago

JoostProRail commented 1 year ago

https://maps.prorail.nl/ also contains many layers with information, this could relatively easily also become available through openspoor.

In FeatureSearchOverview the prefix and base_url (which might be refactored as well) can be set to

    self.prefix = 'https://maps.prorail.nl/'
    self.base_url = "https://maps.prorail.nl/arcgis/rest/services"

To get results from maps.prorail. Depending on how many other url locations turn up, a more generic solution may be required for this.