public static BasicMapElements?DetermineMapElementsFromShapeFile(Stream shpStream, out ShapeType?unsupportedShapeType) { ShapeFileReader shapeFileReader = new ShapeFileReader(); shapeFileReader.ShpStream = shpStream; return(shapeFileReader.DetermineMapElements(out unsupportedShapeType)); }
public static BasicMapElements?DetermineMapElementsFromShapeFile(string fileName, out ShapeType?unsupportedShapeType) { ShapeFileReader shapeFileReader = new ShapeFileReader(); shapeFileReader.FileName = fileName; return(shapeFileReader.DetermineMapElements(out unsupportedShapeType)); }