Metadata-Version: 2.1
Name: django-geostore
Version: 0.4.3
Summary: Django geographic store and vector tile generation
Home-page: https://github.com/Terralego/django-geostore.git
Author: Makina Corpus
Author-email: terralego-pypi@makina-corpus.com
License: UNKNOWN
Description: [![Build Status](https://travis-ci.org/Terralego/django-geostore.svg?branch=master)](https://travis-ci.org/Terralego/django-geostore/)
        [![codecov](https://codecov.io/gh/Terralego/django-geostore/branch/master/graph/badge.svg)](https://codecov.io/gh/Terralego/django-geostore)
        [![Maintainability](https://api.codeclimate.com/v1/badges/b6119d8175fa6f5f5949/maintainability)](https://codeclimate.com/github/Terralego/django-geostore/maintainability)
        [![Documentation Status](https://readthedocs.org/projects/django-geostore/badge/?version=latest)](https://django-geostore.readthedocs.io/en/latest/?badge=latest)
        
        ![Python Version](https://img.shields.io/badge/python-%3E%3D%203.6-blue.svg)
        ![Django Version](https://img.shields.io/badge/django-%3E%3D%202.2-blue.svg)
        
        # django-geostore
        
        Dynamic geographic datastore with Vector Tiles generation from PostGIS and json schema definition and validation.
        
        ## Requirements
        
        ### General
        
        * Python 3.6+
        * Postgresql 10+
        * PostGIS 2.4+
        
        Optionnal to use PgRouting functionnalities :
          * PgRouting 2.5+
        
        ### Libraries
        
        these are debian packages required
        
        - libpq-dev   (psycopg2)
        - gettext     (translations)
        - binutils    (django.contrib.gis)
        - libproj-dev (django.contrib.gis)
        - gdal-bin    (django.contrib.gis)
        
        recommended
        
        - postgresql-client (if you want to use ./manage.py dbshell command)
        
        ## Installation
        
        ### from PYPI
        
        ```bash
        pip install django-geostore
        ```
        
        ### from GitHub
        
        ```bash
        git clone https://github.com/Terralego/django-geostore.git
        cd django-geostore
        python3 setup.py install
        ```
        
        ### in your project settings
        
        ```python
        INSTALLED_APPS = (
            'geostore',
            #'geostore.routing'  # uncomment to enable routing functionality
        )
        ```
        
        ## Development
        
        ### with docker :
        ```bash
        docker-compose build
        docker-compose up
        docker-compose run web ./manage.py test
        ```
        
        ### with pip :
        ```bash
        python3.6 -m venv venv
        source activate venv/bin/activate
        pip install -e .[dev]
        ```
        
        
        CHANGELOG
        =========
        
        0.4.3          (2020-10-09)
        ---------------------------
        
        * Fix settings used by renderers
        
        
        0.4.2          (2020-10-06)
        ---------------------------
        
        * Fix geometry file labels in feature serializer
        
        
        0.4.1          (2020-10-02)
        ---------------------------
        
        * Add KML and GPX renderers
        
        
        0.4.0          (2020-09-02)
        ---------------------------
        
        * WARNING Breaking Changes !!
          * to continue to use PGRouting features, please add geostore.routing to INSTALLED_APPS
          * Some changes in routing API response. Now final geometry and full feature segment list are provided by API
          * Configurable tolerance for routing topologies (Default value from 0.0001 to 0.00001)
          * HOSTNAME setting is deprecated. Default request HOST is now used to generate absolute full urls for vector tiles.
        You can set TERRA_TILES_HOSTNAMES = [HOSTNAME, ] to avoid this
        
        * Improvements :
          * Officially support django 3.1
          * Set HOSTNAME or TERRA_TILES_HOSTNAMES is not required anymore. Now full absolute urls are prefixed with current host request
          * Installing PGRouting is not required anymore.
          * source / target routing attributes :
            * add indexes
            * Hide by default (editable=False)
          * Using JSONField from django.db.models
          * Updating DjangoModelFactory location
        
        
        0.3.19         (2020-06-25)
        ---------------------------
        
        * WARNING : Ordering and Searching in feature properties are disabled for layers without schema.
        * OPTIMIZATIONS : Improve API feature by disabling big queries to find layer's properties
        * Fix duplicated index
        
        0.3.18         (2020-06-24)
        ---------------------------
        
        * Improve database indexes
        
        0.3.17         (2020-03-04)
        ---------------------------
        
        * Factorize Feature Extra Geom serializer to be customized directly in ViewsSet
        
        
        0.3.16         (2020-01-27)
        ---------------------------
        
        * Manage relations between layers and features (manual / intersections or distances).
        * GeoJson renderer. Now API can render .json or .geojson endpoint (or format=?geojson)
        * Partial properties patch. A patch on feature viewset keep properties not sended.
        * Add Json value search filter in FeatureViewset
        
        
        0.3.15         (2019-12-13)
        ---------------------------
        
        * support django rest framework 3.11
        
        
        0.3.14         (2019-12-11)
        ---------------------------
        
        * Officially support django 3.0
        * Add possibility to modify, create, update, delete extra geometries
        * Add field editable to extra layers
        
        
        0.3.13         (2019-12-09)
        ---------------------------
        
        * Order extra geometries by layer
        
        
        0.3.12         (2019-12-03)
        ---------------------------
        
        Improves
        
        * Improve documentation
        
        Features
        
        * Ability to define and package extra geometries for features (One to One)
        
        
        0.3.11    (2019-11-05)
        ---------------------------
        
        Fixes
        
        * Prevent token group id decoding error
        
        
        0.3.10         (2019-10-16)
        ---------------------------
        
        News
        
        * Ability to sort API feature results with property key content
        
        Fixes
        
        * Add missing migration file
        
        
        0.3.9      (2019-10-15)
        ----------------------------
        
        * Admin part is removed. Please use your own admin in project.
        * DRF yasg is removed. Configure it in your project if required.
        * Add authentication management on layers
        
        
        0.3.8      (2019-10-11)
        ----------------------------
        
        ### Fixes
        
        * Add permission management on FeatureViewset
        
        0.3.7      (2019-10-09)
        ----------------------------
        
        ### Fixes
        
        * Fix tilejson's layer attribution and description parsing
        
        0.3.6      (2019-10-09)
        ----------------------------
        
        ### Fixes
        
        * Fix tilejson when Layer has no Feature
        * Fix deprecation warning : "ST_Line_Substring signature was deprecated in 2.1.0. Please use ST_LineSubstring"
        * Fix tile generation when no feature is present in the layer
        * Fix permission management of layers
        
        0.3.5      (2019-10-03)
        -----------------------
        
        ### News
        
        * Add a method to get json schema property type by its name
        
        ### Fixes
        
        * Fix bug with shapefile export on geometry defined layer.
        * Fix group's tiles URLs in tilejson
        * Fix tilejson when Layer has no Feature
        * Return a tilejson even if it has no feature
        
        
        0.3.4      (2019-09-26)
        -----------------------
        
        ### Fixes
        
        * integrate test/factories in packaging
        
        
        0.3.3      (2019-09-25)
        -----------------------
        
        ### Breaking Changes with front
        
        * key to access tilejson is changed from 'layer_tilejson' and 'group_tilejson' to 'tilejson' in both cases.
        
        ### Fix
        
        * Fix migration file that prevent old terracommon app migration
        
        
        0.3.2      (2019-09-24)
        -----------------------
        
        ### Fix
        
        * Fix migration file that prevent old terracommon app migration
        
        
        0.3.1      (2019-09-11)
        -----------------------
        
        ### Breaking Changes
        
        * App name move from terra to geostore. Structure is the same, so backup and restore your data
        
        
        0.3.0      (2019-09-09)
        -----------------------
        
        First public tag
        
        * Terra app extracted from terracommon.terra
        
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/markdown
Provides-Extra: dev
