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

Update geocode conversion #38

Closed JoostProRail closed 1 year ago

JoostProRail commented 2 years ago

There now exists a layer with both spoortakken and geocode information in it; this can be used as a replacement for the current xy_to_geocode api calls. Gathering this layer and interpolating based on the information in here would therefore be a more efficient way to get geocodes for a lot of coordinates. Some effort in this direction was already done by the beeldherkenning configuratie team. They pointed out that one fix would be is to use the geocode information (stored in the M (measurement) value in the featureserver can overwrite the Z-value in the data (which is not that useful), from where it can be used to interpolate along the linestrings.

https://mapservices.prorail.nl/arcgis/rest/services/Geleidingssysteem_010/FeatureServer/34

JoostProRail commented 1 year ago

Fixed in https://github.com/ProRail-DataLab/openspoor/pull/49