Error with WFS: Unable to open EPSG support file gcs.csv

406
2
05-20-2020 10:35 AM
KarelCeusters
New Contributor

I'm trying to display a WFS feature layer and am getting this error when running:
ERROR 4: Unable to open EPSG support file gcs.csv. Try setting the GDAL_DATA environment variable to point to the directory containing EPSG csv files.

I don't understand the suggestion. I tried it and it doesn't work, but it's irrelevant anyway. This is not a build error but runtime, and it must work on android and ios. I have no clue where to go next. I've been on this for a while and have made zero progress.

This is the service: https://geoservices.informatievlaanderen.be/overdrachtdiensten/Landbgebrperc/wfs?service=wfs&request...

And I get the error even in sample code such as this Browse WFS layers | ArcGIS for Developers 

The wfs from that sample works, I guess it doesn't need this "EPSG support file", but that is of no help to me.

Reply
0 Kudos
2 Replies
KoushikHajra
Esri Contributor

Hello Carel,

In few cases our WFS support relies GDAL_DATA path to pick up special EPSG parameters and users would need to download it themselves. 

Can you please give this a try and see if it works for you? 

https://stackoverflow.com/questions/14444310/how-to-set-the-gdal-data-environment-variable-to-point-...

Thanks,

Koushik

Reply
0 Kudos
KarelCeusters
New Contributor

The problem is I need to have this on android and ios. How do I do this on those platforms?

Reply
0 Kudos