Developers Knowledge Base

WebGIS enables powerful geospatial web applications and services that securely share your organization’s rich geospatial data, and provides tools to deeply examine spatial data and create value added products, on demand.
Showing results for 
Search instead for 
Do you mean 

How to configure GDAL

by Technical Evangelist on ‎04-12-2016 07:43 AM - edited on ‎04-06-2017 06:40 AM by Technical Evangelist (1,204 Views)

What is GDAL?

GDAL is a translator library for raster and vector geospatial data formats that is released under an X/MIT style Open Source license by the Open Source Geospatial Foundation. As a library, it presents a single raster abstract data model and vector abstract data model to the calling application for all supported formats. It also comes with a variety of useful command line utilities for data translation and processing.

 

Traditionally GDAL used to design the raster part of the library, and OGR the vector part for Simple Features. Starting with GDAL 2.0, both sides have been more tightly integrated

 

How to configure GDAL

  1. Download generic installer for GDAL core components from
    http://download.gisinternals.com/query.html?content=filelist&file=release-1600-x64-gdal-1-11-1-mapse...
  2. Install Core Components and GDAL Utilities only
    Obraz8.png
  3. Set the path to GDAL installation in PortalSDKApplication Web.config file:
    <gdalConfiguration ogr2ogrPath="c:\Program Files\GDAL\ogr2ogr.exe"
         gdalDataPath="c:\Program Files\GDAL\gdal-data" 
         timeout="60000">
    </gdalConfiguration>
  4. Run the PortalSDK and import Shapefile using the new control from MapToolbar menuObraz9.png
  5. As a result new Personal service has been registered with Feature Class originated from the ShapeFile:

    Obraz10.png

  6. The geometry and feature class properties can be modified in the Portal.
  7. The PSS LegendItem can be downloaded as a Shapefile:

    Obraz11.png

Overview