Re: Using Fiona to consume ESRI FeatureServer service
toggle quoted messageShow quoted text
Thanks! That worked for me - sorry, I didn't realize the difference between open options and config options.
I'm basically in the process of using multicorn to provide a FDW to access ArcGIS FeatureServer layers via postgresql. I'm also finding an issue with SSL, which I cannot figure out - I suspect that it's tied somehow to the environment that the script runs in under multicorn (because from the command line the attempt to open the layer works just fine.) However, if you have some other insight I'd love to hear it.
If I can't get past this I'll go another route... Probably pgsql-ogr-fdw (I need to munge some of the data coming back from the service to allow for time-related queries/read - and FeatureServer represents times in epoch milliseconds, hence me not using the pgsql one out of the box.)
This is after an: import fiona; fiona.open('https://services.arcgis.com/...&f=json')
Traceback (most recent call last): File "fiona/_shim.pyx", line 74, in fiona._shim.gdal_open_vector File "fiona/_err.pyx", line 270, in fiona._err.exc_wrap_pointer fiona._err.CPLE_HttpResponseError: CURL error: failed setting cipher list: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
On Thu, Jul 30, 2020 at 10:17 PM Sean Gillies <sean.gillies@...> wrote: