Did you know ... Search Documentation:
Packs (add-ons) for SWI-Prolog

Package "prolog_geo"

Title:Geospatial support in Prolog
Rating:Not rated. Create the first rating!
Latest version:1.0.7
SHA1 sum:7f507a676f58c3e41c4013b8954688eaa1190290
Author:Wouter Beek <wouter@triply.cc>
Maintainer:Wouter Beek <wouter@triply.cc>
Packager:Wouter Beek <wouter@triply.cc>
Home page:https://github.com/wouterbeek/prolog_geo
Download URL:https://github.com/wouterbeek/prolog_geo/releases/*.zip
Requires:prolog_library_collection

Reviews

No reviews. Create the first review!.

Details by download location

VersionSHA1#DownloadsURL
1.0.18465642f87f1e3b0bc846661d95b5583305634e61https://github.com/wouterbeek/prolog_geo/archive/1.0.1.zip
1.0.296e555d9d4062c789ae9bd489e3dd1b31e456e123https://github.com/wouterbeek/prolog_geo/archive/1.0.2.zip
1.0.3d98aa8c3cc283ec03c603b6506c0981f0684fdf81https://github.com/wouterbeek/prolog_geo/archive/1.0.3.zip
1.0.48bf7a750e0de5eac7f9219a301f7f0c3b299ca191https://github.com/wouterbeek/prolog_geo/archive/1.0.4.zip
1.0.5f8ca94286bcee71fe5ec1a8ea708611b0a988c1c9https://github.com/wouterbeek/prolog_geo/archive/1.0.5.zip
1.0.6f959b0fdcb766a34726c8298a7a0cd416df9b6f63https://github.com/wouterbeek/prolog_geo/archive/1.0.6.zip
1.0.77f507a676f58c3e41c4013b8954688eaa119029015https://github.com/wouterbeek/prolog_geo/archive/1.0.7.zip

Geospatial support in Prolog

Dependencies

  1. Install SWI-Prolog.
  2. Install the GEOS library. The following works on Ubuntu:
apt install libgeos-dev
  1. Install the Proj library. The following works on Ubuntu:
apt install libproj-dev

Installation

Install this library:

swipl -g 'pack_install(prolog_geo)' -t halt

Use

Once installed, modules from this library are loaded as follows:

?- [library(geo)].

Predicates defined in the loaded modules can now be used:

?- geo_property(Property).
Property = geos_version('3.8.1-CAPI-1.13.3').

Contents of pack "prolog_geo"

Pack contains 15 files holding a total of 49.5K bytes.