Changes between Version 1 and Version 2 of GdalOgrCsharpVersions


Ignore:
Timestamp:
Apr 6, 2007, 4:40:24 PM (17 years ago)
Author:
tamas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GdalOgrCsharpVersions

    v1 v2  
    4141}}}
    4242
    43 You should use *PascalCase* for namespaces, and separate logical components with periods, and avoid using the same name for a namespace and a class.
     43We should use PascalCase for namespaces, and separate logical components with periods, and avoid using the same name for a namespace and a class.
     44
     45As far as we can we use PascalCase for the acronyms and UpperCase for the abbreviations.
     46
     47The following GDAL/OGR namespace names were used:
     48
     49 * OSGeo.GDAL
     50 * OSGeo.OGR
     51 * OSGeo.OSR
     52
     53The programmer should import these OSGeo prefixed namespaces instead of the old ones like:
     54
     55{{{
     56import OSGeo.OGR
     57}}}
     58
     59instead of
     60
     61{{{
     62import OGR
     63}}}
     64
     65The following module names were used:
     66
     67 * Gdal
     68 * Ogr
     69 * Osr
     70 * GdalConst
     71
     72These module classes contain the static functions related to a particular project so the invocation of these function is changed accordingly. For example we should use :
     73
     74{{{
     75Driver drv = Ogr.GetDriverByName("ESRI Shapefile");
     76}}}
     77
     78instead of:
     79
     80{{{
     81Driver drv = ogr.GetDriverByName("ESRI Shapefile");
     82}}}
    4483
    4584=== Changed the names of the Windows builds for a better match with the GNU/Linux/OSX builds ===