Knowledge Base



KB10618 - Ease of porting a GIS application between DK editions.

Each DK product edition reflects essentially the same API, framework, and technology. Any differences are only as required by the different technologies. The high degree of similarity enables porting GIS applications between development technologies (Delphi, FireMonkey, C++Builder, Visual Basic, VB.NET, C#, pure .NET, WPF, ASP.NET, Compact Framework, Java) and different operating systems (Windows, Apple iOS and OSX, Android).

The following example provides a comparison of the code (in C# and Delphi) used with each DK edition to perform the same operation.

DK.NET (C#):
layer = new TGIS_LayerShp ;
layer.Path = “states.shp”  ;
GIS.Add( layer )  ;


DK.ASPNET (C#):
layer = new TGIS_LayerShp ;
layer.Path = “states.shp”  ;
GIS.Add( layer )
  ;

DK.ActiveX (C#):
layer = new XGIS_LayerShp ;
layer.Path = “states.shp”  ;
GIS.Add( layer )  ;


DK.VCL (Delphi):
layer := TGIS_LayerShp.Create ;
layer.Path := 'states.shp'  ;
GIS.Add( layer )
  ;

DK.FMX v.11 for iOS/Andriod (Delphi)
layer := TGIS_LayerShp.Create  ;
layer.Path := 'states.shp'  ;
GIS.Add( layer )  ;

 
Created: September 14, 2005, Modified: September 16, 2015
follow us on Facebook  follow us on Twitter  follow us on Google +  follow us on LinkedIn  Embarcadero