[gdal-dev] c# bindings - osr SpatialReference constructor
runette at gmail.com
Tue Jun 16 09:59:53 PDT 2020
A common pattern for creating a SpatialReference is this :
from osgeo import osr
spatialRef = osr.SpatialReference()
spatialRef.ImportFromEPSG(2927) # from EPSG
( this example is from the Python Cookbook and is just used to illustrate
But - when I try to do the equivalent in c# using the bindings :
SpatialReference CRS = new SpatialReference();
I get a message
error CS1729: 'SpatialReference' does not contain a constructor that takes
Am I missing something? Or is this is a gap in the bindings?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev