Our app is getting this error since updating to 100.15.4 SDK for iOS. How can we resolve this issues?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'm not an expert on projection systems, but I guess it depends on what type of projection transformation you need. For instance, if you don't use NADCON or NTV2 transformations, you can delete their folders from the pedata.
A huge chunk of data is in the vertical coordinate system's transformation folder, so check with your client on what type of transformation they need.
When a transformation is removed, it will set the Boolean isMissingProjectionEngineFiles to true.
Please visit https://developers.arcgis.com/ios/downloads/#projection-engine-data to download the projection engine data, and see gdaldata folder inside. It should contain the gcs.csv file.
This change happened a few releases back, though I cannot pin down the exact time (some time around 2021).
Read more about spatial reference and projection in this doc.
There is a related sample "List transformations" that you may take a look at.
Let me know if you have other questions.
Thank you for the info!
The download is about 2GB, zipped. Do I only need the gcs.csv file for the app?
OK thanks Ting! I will find out which transformations are being used by our client and remove the rest.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.