ViRGIS-Team / gdal-upm

Unity Package for GDAL
MIT License
15 stars 6 forks source link

Unable to import from EPSG for SpatialReferences #11

Closed Reddevildragg closed 2 years ago

Reddevildragg commented 2 years ago

When working with the spatial reference classes unable to import using the EPSG code directly.

SpatialReference src = new SpatialReference(null); src.ImportFromEPSG(32610)

However working with the eosg.io website to get either a URL or proj4 does work. SpatialReference src = new SpatialReference(null); src.ImportFromUrl("https://www.epsg.io/32610.proj4");

not a major issue as there is a easyish workaround, from console error it looks like its trying to reference a database that is not there so not sure if there is a step/process i have missed during the installing though UPM which may be the case

runette commented 2 years ago

HI (sorry for the delay in the response - I went sailing for ar couple of months :).

This is not an error with the PACKAGE - so I am going to close this issue.

For reference - You will most likely find that this error happens because you have not provided either GDAL or PROJ with the correct CERT to allow them to set up the HTTPS session. This area is a bit of a GDAL minefield ... :)

It should be :