-
Notifications
You must be signed in to change notification settings - Fork 68
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
Unable to use services requiring an API Login #47
Comments
Thanks for reporting this. From what I've been able to discern, the login process gives you an API token that can then be used by the tool as-is. I've never had to use a login though, so I'm not sure how it should work. I'd appreciate a pull request or an example layer that requires a password. |
I'll have a sample service for you soon. Please keep an eye on your gmail for details |
I think I'd prefer to keep login functionality out of pyesridump. You can use the server's "generateToken" endpoint ( The login process requires that the user pass in a new URL to esridump system (the URL to generate tokens can be different and isn't deterministic). I think I'll update the documentation/readme to point that process out. |
any update of documentation to use mapservice with a token? edit. i get it, it's something like this: esri2geojson -p token=xxxxlongstringsoftokensxxx https://some.site/server/rest/services/folders/folder/MapServer/0 output.geojson |
4 years since the last discussion, and I've not looked at the process
since, but: a mapservice generally returns either images, or a feature at a
point whose coordinated have been queried. It does not return a list of
features which can then be queried by their IDs, which is what the script
was doing last I looked.
Locking stuff up in a map service makes extraction difficult.
…On Mon, 28 Nov 2022, 10:49 marhensa, ***@***.***> wrote:
any update of documentation to use mapservice with a token?
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABWLFS4VB2OLSTSDXXZJPADWKP6R3ANCNFSM4EUOI3FQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Yep, pass the token you retrieved through other means as a URL parameter using the |
Where an API login page is presented the esridump tool ceases to function.
There are cases where a service is accessed using legitimate credentials, but the esridump tool does not have a facility for authentication such as either username/password, or token.
The text was updated successfully, but these errors were encountered: