Step 2: Configure the Geospatial Data Abstraction Library (GDAL) access in the application Copy the Data Extensions folder from the downloaded folder to the current project’s Bin\ Debug folder. The .dlls from this folder is necessary for GDAL data provider access. GDAL is a translator library for raster geospatial data formats and it’s released by the Open Source Geospatial Foundation. Fig. 1 Data Extensions folder from DotSpatial downloaded unzip folder Step 3: Graphical User Interface design. Design the main user interface as follows: Fig.2. Main user interface Interface design considerations. Add three panel controls. Panel control's properties should be as follows: Properties Panel 1 Panel 2 Panel 3 Name pnlOperations pnlLegend pnlMap Dock Top Left Fill Table.1. Panel controls properties. Optional step: Panel 1 background color: ActiveCaption Add three buttons. Button properties should be as follows: Properties Button 1 Button 2 Button 3 Name btnLoadDEM btnDrawPath btnViewElevation Text &Load DEM &Draw Hiking &View Elevation Path Button controls properties. Add a label control and set its property as follows: Name: lbltitle Text: Hiking Path Finder. Drag a control from the DotSpatial tab under toolbox and drop it on the “Legend” pnlLegend. Legend properties should be set as follows: Name: Legend1 Dock: Fill
Step 2: Configure the Geospatial Data Abstraction Library (GDAL) access in the application Copy the Data Extensions folder from the downloaded folder to the current project’s Bin\ Debug folder. The .dlls from this folder is necessary for GDAL data provider access. GDAL is a translator library for raster geospatial data formats and it’s released by the Open Source Geospatial Foundation. Fig. 1 Data Extensions folder from DotSpatial downloaded unzip folder Step 3: Graphical User Interface design. Design the main user interface as follows: Fig.2. Main user interface Interface design considerations. Add three panel controls. Panel control's properties should be as follows: Properties Panel 1 Panel 2 Panel 3 Name pnlOperations pnlLegend pnlMap Dock Top Left Fill Table.1. Panel controls properties. Optional step: Panel 1 background color: ActiveCaption Add three buttons. Button properties should be as follows: Properties Button 1 Button 2 Button 3 Name btnLoadDEM btnDrawPath btnViewElevation Text &Load DEM &Draw Hiking Path &View Elevation Button controls properties. Add a label control and set its property as follows: Name: lbltitle Text: Hiking Path Finder. Drag a “Legend” control from the DotSpatial tab under toolbox and drop it on the pnlLegend. Legend properties should be set as follows: Name: Legend1 Dock: Fill
cfile6.uf@271FA64658A4569836DE30.docx