<commit_before>===============================
Installing Geospatial libraries
===============================

GeoDjango uses and/or provides interfaces for the following open source
geospatial libraries:

========================  ====================================  ================================  ===================================
Program                   Description                           Required                          Supported Versions
========================  ====================================  ================================  ===================================
:doc:`GEOS <../geos>`     Geometry Engine Open Source           Yes                               3.5, 3.4
`PROJ.4`_                 Cartographic Projections library      Yes (PostgreSQL and SQLite only)  4.9, 4.8, 4.7, 4.6, 4.5, 4.4
:doc:`GDAL <../gdal>`     Geospatial Data Abstraction Library   Yes                               2.2, 2.1, 2.0, 1.11, 1.10, 1.9
:doc:`GeoIP <../geoip2>`  IP-based geolocation library          No                                2
`PostGIS`__               Spatial extensions for PostgreSQL     Yes (PostgreSQL only)             2.3, 2.2, 2.1
`SpatiaLite`__            Spatial extensions for SQLite         Yes (SQLite only)                 4.3, 4.2, 4.1
========================  ====================================  ================================  ===================================

Note that older or more recent versions of these libraries *may* also work
totally fine with GeoDjango. Your mileage may vary.

..
    Libs release dates:
    GEOS 3.4.0 2013-08-11
    GEOS 3.5.0 2015-08-15
    GDAL 1.9.0 2012-01-03
    GDAL 1.10.0 2013-04-29
    GDAL 1.11.0 2014-04-25
    GDAL 2.0.0 2015-06
    GDAL 2.1.0 2016-04
    GDAL 2.2.0 2017-05
    PostGIS 2.1.0 2013-08-17
    PostGIS 2.2.0 2015-10-17
    PostGIS 2.3.0 2016-09-26
    SpatiaLite 4.1.0 2013-06-04
    SpatiaLite 4.2.0 2014-07-25
    SpatiaLite 4.3.0 2015-09-07

.. note::<commit_msg>Confirmed support for PostGIS 2.4.<commit_after>===============================
Installing Geospatial libraries
===============================

GeoDjango uses and/or provides interfaces for the following open source
geospatial libraries:

========================  ====================================  ================================  ===================================
Program                   Description                           Required                          Supported Versions
========================  ====================================  ================================  ===================================
:doc:`GEOS <../geos>`     Geometry Engine Open Source           Yes                               3.5, 3.4
`PROJ.4`_                 Cartographic Projections library      Yes (PostgreSQL and SQLite only)  4.9, 4.8, 4.7, 4.6, 4.5, 4.4
:doc:`GDAL <../gdal>`     Geospatial Data Abstraction Library   Yes                               2.2, 2.1, 2.0, 1.11, 1.10, 1.9
:doc:`GeoIP <../geoip2>`  IP-based geolocation library          No                                2
`PostGIS`__               Spatial extensions for PostgreSQL     Yes (PostgreSQL only)             2.4, 2.3, 2.2, 2.1
`SpatiaLite`__            Spatial extensions for SQLite         Yes (SQLite only)                 4.3, 4.2, 4.1
========================  ====================================  ================================  ===================================

Note that older or more recent versions of these libraries *may* also work
totally fine with GeoDjango. Your mileage may vary.

..
    Libs release dates:
    GEOS 3.4.0 2013-08-11
    GEOS 3.5.0 2015-08-15
    GDAL 1.9.0 2012-01-03
    GDAL 1.10.0 2013-04-29
    GDAL 1.11.0 2014-04-25
    GDAL 2.0.0 2015-06
    GDAL 2.1.0 2016-04
    GDAL 2.2.0 2017-05
    PostGIS 2.1.0 2013-08-17
    PostGIS 2.2.0 2015-10-17
    PostGIS 2.3.0 2016-09-26
    PostGIS 2.4.0 2017-09-30
    SpatiaLite 4.1.0 2013-06-04
    SpatiaLite 4.2.0 2014-07-25
    SpatiaLite 4.3.0 2015-09-07

.. note::
{'fraction_non_alphanumeric': 0.29563046192259673, 'fraction_numerical': 0.10112359550561797, 'mean_word_length': 2.2306451612903224, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7473799', 'n_tokens_mistral': 1453, 'n_tokens_neox': 1130, 'n_words': 315}