/// <summary>
    /// Creates a new point shape file. Overwrite if it exists.
    /// </summary>
    /// <param name="FileName"></param>
    public ShapeWriter(string FileName):base()
    {
      _fileName = FileName;
      ProjNet.CoordinateSystems.CoordinateSystemFactory cs = new ProjNet.CoordinateSystems.CoordinateSystemFactory();
      projection = cs.CreateFromWkt(@"PROJCS["")ETRS_1989_UTM_Zone_32N"",GEOGCS[""GCS_ETRS_1989"",DATUM[""D_ETRS_1989"",SPHEROID[""GRS_1980"",6378137.0,298.257222101]],PRIMEM[""Greenwich"",0.0],UNIT[""Degree"",0.0174532925199433]],PROJECTION[""Transverse_Mercator""],PARAMETER[""False_Easting"",500000.0],PARAMETER[""False_Northing"",0.0],PARAMETER[""Central_Meridian"",9.0],PARAMETER[""Scale_Factor"",0.9996],PARAMETER[""Latitude_Of_Origin"",0.0],UNIT[""Meter"",1.0]]");

      _dbf = new DBFWriter(FileName);
    }
Example #2
0
        /// <summary>
        /// Creates a new point shape file. Overwrite if it exists.
        /// </summary>
        /// <param name="FileName"></param>
        public ShapeWriter(string FileName) : base()
        {
            _fileName = FileName;

            _dbf = new DBFWriter(FileName);
        }
Example #3
0
    /// <summary>
    /// Creates a new point shape file. Overwrite if it exists.
    /// </summary>
    /// <param name="FileName"></param>
    public ShapeWriter(string FileName):base()
    {
      _fileName = FileName;

      _dbf = new DBFWriter(FileName);
    }