Pascal and GIS

From Lazarus wiki
Jump to: navigation, search

Pascal for GIS toolkit

https://macpgmr.github.io/MacXPlatform/PascalDynLibs_3.html

(Note that this article is part of a larger series on how to use compiled Pascal dynamic libraries with a variety of different programming languages.)

The Pascal for GIS toolkit includes the source for example apps that demonstrate various ways to use Pascal (and in some cases Lazarus) in developing GIS apps:

  • Add non-visual geoprocessing functionality to any Pascal app (testgdal, testshapes).
  • Develop a GIS app using the new GIS map and legend controls for Lazarus LCL (PasCast).
  • Place non-GIS Pascal code in a separate compiled library, then call the library from various GIS apps:
    • Simple mapping with a mobile Web app (QxCast) that uses a Pascal FCGI server app.
    • Simple mapping with a standalone app (SwiftCast).
    • Clickable read-only map with a Web app (AspCast).
    • Clickable read-write map with a GIS plugin (PyCast).

All of the *Cast example apps use the same Pascal dynamic library that retrieves weather forecast data via the National Digital Forecast Database (NDFD) Web service.