Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PUICMapservices #33

Open
JoostProRail opened this issue Jul 29, 2022 · 0 comments
Open

Fix PUICMapservices #33

JoostProRail opened this issue Jul 29, 2022 · 0 comments
Assignees

Comments

@JoostProRail
Copy link
Collaborator

transformer PUICMapservices does not work with the most recent featureservers anymore. It was designed with the layers as described below with original_* in mind; the new_* versions are the latest versions of these layers.

new_wisselbeen = MapServicesQuery(puic_mapservices.wisselkruisingbeen_query.layer_url.values[0]).load_data()
original_wisselbeen = MapServicesQuery("https://mapservices.prorail.nl/arcgis/rest/services/Geleidingssysteem_007/FeatureServer/12/").load_data()
print(new_wisselbeen.shape, original_wisselbeen.shape)

new_spoortakdeel = MapServicesQuery(puic_mapservices.wisselkruisingbeen_query.layer_url.values[0]).load_data()
original_spoortakdeel = MapServicesQuery("https://mapservices.prorail.nl/arcgis/rest/services/Geleidingssysteem_007/FeatureServer/13/").load_data()
print(new_spoortakdeel.shape, original_spoortakdeel.shape)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants