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

Charging stations #78

Open
Shruthi-Patil opened this issue Oct 10, 2022 · 1 comment
Open

Charging stations #78

Shruthi-Patil opened this issue Oct 10, 2022 · 1 comment

Comments

@Shruthi-Patil
Copy link

Hi,
I would like to extract all the charging stations in Germany. I guess the ladestationen would give me this info. However, I'm not sure what "geometry" should be provided as input here. Also, the URI is localhost. Could you please provide a valid URI?

Thanks

@wirthual
Copy link
Member

wirthual commented Oct 16, 2022

Hi,
here is the repo for the ladestationen.

Here you can find the API description where you should be able to experiment easily with different parmeters.

The direct URL should be this:

https://services6.arcgis.com/6jU7RmJig2Wwo1b0/ArcGIS/rest/services/Ladesaeulenregister/FeatureServer/7

For the geometry you need to provide the JSON of the type you specify:

Available types : esriGeometryEnvelope, esriGeometryPoint, esriGeometryPolyline, esriGeometryPolygon, esriGeometryMultipoint

Here an example URL request which returns some values:

https://services6.arcgis.com/6jU7RmJig2Wwo1b0/ArcGIS/rest/services/Ladesaeulenregister/FeatureServer/7/query?geometry=%7B%20%20%20%22xmin%22%3A%20%20648310.999314399%2C%20%20%20%22ymin%22%3A%205998767.0224341%2C%20%20%20%22xmax%22%3A%201708898.35458854%2C%20%20%20%22ymax%22%3A%207353682.52593813%2C%20%20%20%22spatialReference%22%3A%20%7B%20%20%20%20%20%22wkid%22%3A%203857%20%20%20%7D%20%7D&geometryType=esriGeometryEnvelope&f=json&outFields=%2A&objectIds=42%2C123%2C666&distance=10.0

With the following as geometry:
geometryType=esriGeometryEnvelope, geometry={ "xmin": 648310.999314399, "ymin": 5998767.0224341, "xmax": 1708898.35458854, "ymax": 7353682.52593813, "spatialReference": { "wkid": 3857 } }

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