Changes between Version 6 and Version 7 of GdalOgrCsharpVersions


Ignore:
Timestamp:
Apr 8, 2007, 4:15:45 PM (17 years ago)
Author:
tamas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GdalOgrCsharpVersions

    v6 v7  
    4343We should use PascalCase for namespaces, and separate logical components with periods, and avoid using the same name for a namespace and a class.
    4444
    45 As far as we can we use PascalCase for the acronyms and UpperCase for the abbreviations.
     45As far as we can we use PascalCase for the acronyms and !UpperCase for the abbreviations.
    4646
    4747The following GDAL/OGR namespace names were used:
     
    125125=== !CreateFromWkb support (#1565) ===
    126126
     127The inverse operation of Geometry.ExportToWkb is now supported with the development version. At this point the default behaviour of the SWIG bindings have been altered for the C# interface because the proper marshaling code could not be supported at the constructor overloads. Now the Geometry objects can be constructed using the following signatures:
     128
     129{{{
     130public Geometry(wkbGeometryType type);
     131public static Geometry CreateFromWkt(string wkt);
     132public static Geometry CreateFromGML(string gml);
     133public static Geometry CreateFromWkb(byte[] wkb);
     134public Geometry(wkbGeometryType type, string wkt, int wkb, IntPtr wkb_buf, string gml);
     135}}}
     136
     137The latter is the generic constructor which requires to write the marshaling code for 'IntPtr wkb_buf'' outside of the function.
     138
    127139=== Dataset.!ReadRaster, Dataset.!WriteRaster support ===
     140
     141Similarly to the Band.!ReadRaster band Band.!WriteRaster implementation the Dataset.!ReadRaster, Dataset.!WriteRaster is also supported for now. This implementation uses the same approach as described in [http://trac.osgeo.org/gdal/wiki/GdalOgrCsharpRaster GDAL/OGR Raster Operations]
    128142
    129143=== Added support for Dataset.!BuildOverviews (#1552) ===