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.5
SHA1 sum:f8ca94286bcee71fe5ec1a8ea708611b0a988c1c
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.5f8ca94286bcee71fe5ec1a8ea708611b0a988c1c3https://github.com/wouterbeek/prolog_geo/archive/1.0.5.zip

Geospatial support in Prolog

Dependencies

  1. Install SWI-Prolog.
  2. Install the GEOS library:
apt install libgeos-dev     # Debian, Ubuntu
dnf install geos geos-devel # Fedora, Red Hat

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.7.2-CAPI-1.11.2 b55d2125').

Contents of pack "prolog_geo"

Pack contains 14 files holding a total of 43.7K bytes.