static void parseSRSResource(XmlElement e, SRSResource resource) { if (resource.getSRS() == null) { string wkt = e.InnerText; if (!string.IsNullOrEmpty(wkt)) { resource.setSRS(Registry.SRSFactory().createSRSfromWKT(wkt)); } } }
static void parseSRSResource(XmlElement e, SRSResource resource) { if (resource.getSRS() == null) { string wkt = e.InnerText; if (!string.IsNullOrEmpty(wkt)) { SharpMapSpatialReferenceFactory shpsrsf = new SharpMapSpatialReferenceFactory(); SpatialReference srs = shpsrsf.createSRSfromWKT(wkt); resource.setSRS(srs); //resource.setSRS(Registry.SRSFactory().createSRSfromWKT(wkt)); } } }
static void parseSRSResource(XmlElement e, SRSResource resource) { if (resource.getSRS() == null) { string wkt = e.InnerText; if (!string.IsNullOrEmpty(wkt)) { resource.setSRS(Registry.SRSFactory().createSRSfromWKT(wkt)); } } }
static void parseSRSResource(XmlElement e, SRSResource resource) { if (resource.getSRS() == null) { string wkt = e.InnerText; if (!string.IsNullOrEmpty(wkt)) { SharpMapSpatialReferenceFactory shpsrsf = new SharpMapSpatialReferenceFactory(); SpatialReference srs = shpsrsf.createSRSfromWKT(wkt); resource.setSRS(srs); //resource.setSRS(Registry.SRSFactory().createSRSfromWKT(wkt)); } } }