pyesridump icon indicating copy to clipboard operation
pyesridump copied to clipboard

Feature request: download and name all layers?

Open NelsonMinar opened this issue 6 years ago • 3 comments

If I understand correctly, this tool only downloads one layer at a time from an ESRI server. It'd be handy to expand the tool to be able to download all layers on a service if pointed at the root URL. The only subtle trick is it'd be nice to name the layers based on the metadata from the server; the naive implementation might just name things with the layer numbers.

NelsonMinar avatar May 07 '19 14:05 NelsonMinar

That's a good idea! Are you thinking one file per layer or stuff them all in the same featurecollection?

iandees avatar May 07 '19 14:05 iandees

I hadn't thought about it. I just assumed one GeoJSON file per layer, I think that's what most people would want.

NelsonMinar avatar May 07 '19 14:05 NelsonMinar

I would use this a lot. I really don't need to save more data, but I would!

I think this would really come in handy with other languages - then looking at the data.

justinelliotmeyers avatar May 09 '19 14:05 justinelliotmeyers