Ian Dees
Ian Dees
> I can’t recall the third change—help? There was no third change :) You've got 'em all covered here.
It looks like their firewall/proxy is misconfigured. [Their webmap](https://gismaps.sedgwickcounty.org/portal/) has query functionality (that [makes a similar request as us](https://gismaps.sedgwickcounty.org/arcgis/rest/services/Map/Op_SiteAddress_Dynamic_SP/MapServer/0/query?inSR=102678&outSR=102678&geometryType=esriGeometryEnvelope&returnDistinctValues=false&geometry=%7B%22ymin%22%3A1709040%2E7800177576%2C%22xmin%22%3A1649095%2E792021425%2C%22xmax%22%3A1649352%2E4467612193%2C%22ymax%22%3A1709273%2E9243997082%7D&outFields=LABEL%2CMUNI%2CPOSTCO%2CZIP%2CLAT%2CLONG%2CMAPPEDTO%2CMULT%5FADD%2COBJECTID&spatialRel=esriSpatialRelIntersects&returnGeometry=true&f=amf)) that is failing right now because of this error you're seeing...
No, I don't think there's a way pyesridump can handle this server if it won't respond to the `/query` endpoint.
But you mentioned a brute force method... Did you try it on this layer and it worked?
That will work for this layer because the first OID is `1` and the next one is `2`, etc., but in lots of other layers I look at the first...
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...
I think I'd prefer to keep login functionality out of pyesridump. You can use the server's "generateToken" endpoint (`/arcgis/tokens/generateToken`) to create an API token and then pass that in to...
> something like this: > > esri2geojson -p token=xxxxlongstringsoftokensxxx https://some.site/server/rest/services/folders/folder/MapServer/0 output.geojson Yep, pass the token you retrieved through other means as a URL parameter using the `-p` argument to esri2geojson.
The tool expects a layer, not a whole map server URL. I should definitely detect that sort of thing and give a better error message when this happens. In your...
> AWS Region: us-west-2 That's in Oregon probably very near the existing OSUOSL servers. Can I suggest us-east-2 (Ohio) or us-east-1 (Virginia) instead?