Exemplo n.º 1
0
 public ShpFile(IShapefileIOFactory ioFactory)
 {
     // _FilePath = filePath;
     _IOFactory     = ioFactory;
     _ContentReader = _IOFactory.GetShpContentReader();
     InitHeader();
 }
Exemplo n.º 2
0
        public Shapefile(string fullName)//, IGeometryFactory geoFactory)
        {
            Contract.Requires(!string.IsNullOrEmpty(fullName));

            // _GeoFactory = geoFactory;
            InitFilePath(fullName);
            _IOFactory = new DefaultShapefileIOFactory(_ShpFilePath, _ShxFilePath, _DBFileFilePath);
            InitShapefile();
            InitSpatialIndex();
        }
Exemplo n.º 3
0
        public ShxFile(IShapefileIOFactory ioFactory)
        {
            _IOFactory = ioFactory;

            InitIndexFile();
        }