Skip to main content

GIS related models and tools for OneGov

Project description

Run the Tests

Install tox and run it:

pip install tox
tox

Limit the tests to a specific python version:

tox -e py27

Conventions

Onegov Gis follows PEP8 as close as possible. To test for it run:

tox -e pep8

Onegov Gis uses Semantic Versioning

Build Status

Build Status

Coverage

Project Coverage

Latest PyPI Release

Latest PyPI Release

License

onegov.gis is released under GPLv2

Changelog

0.9.0 (2019-06-12)

  • Improves the location search on the map.

    We now use Mapbox for geocoding. The search and the results are in the site’s language and results in Switzerland are preferred.

    Found results are shown in a list and can be selected. [href]

0.8.2 (2019-04-25)

  • Fixes browser issues in ZugMap. [href]

0.8.1 (2018-12-04)

  • Adds support for ZugMap. [href]

0.8.0 (2018-12-03)

  • Adds the ability to define differente geo js providers. [href]

0.7.2 (2018-08-27)

  • Fixes a javascript issue with setting markers. [href]

0.7.1 (2018-08-27)

  • Prevents ‘null’ or ‘undefined’ showing up in popup lead block. [href]

0.7.0 (2018-08-20)

  • Adds the ability to override the default marker icon. [href]

  • Adds support for light background colors to the marker. [href]

0.6.3 (2018-06-08)

  • Makes it easier to override the default map provider. [href]

0.6.2 (2018-02-08)

  • Ensures that incorrect coordinates cannot be submitted in forms. [href]

0.6.1 (2018-02-06)

  • Fixes javascript error occurring on empty maps. [href]

0.6.0 (2017-12-29)

  • Requires Python 3.6. [href]

  • Adds a display renderer for the coordinates field. [href]

  • Automatically turns the corodinates model into a json and vice-versa. [href]

0.5.2 (2017-12-22)

  • Switches to onegov core’s custom json module. [href]

  • Renders icon in marker as svg, not html. [href]

0.5.1 (2017-11-29)

  • Improves drawing performance of map markers. [href]

0.5.0 (2017-11-07)

  • Upgrades to leaflet 1.2.0. [href]

  • Adds a reference to each created map to the document. [href]

  • Adds a gejson map type. [href]

0.4.4 (2017-10-17)

  • Fixes empty coordinates resulting in an error. [href]

0.4.3 (2017-10-12)

  • Improves style of map buttons and provides more space for gecode results. [href]

0.4.2 (2017-09-01)

  • Accepts more values on the coordinates ORM field. [href]

0.4.1 (2017-09-01)

  • Accepts more values on the coordinates setter. [href]

0.4.0 (2017-07-12)

  • Upgrade Leaflet and its plugins to the latest release. [href]

0.3.3 (2017-02-15)

  • Decreases the likelihood of scrolling triggering a zoom on a map. [href]

0.3.2 (2016-04-11)

  • Fixes a display issue on IE. [href]

0.3.1 (2016-04-11)

  • Adds a simple geocoding button to the leaflet map. [href]

0.3.0 (2016-04-08)

  • Moves to new more.webassets. [href]

0.2.1 (2016-04-06)

  • Adds compatibility with Morepath 0.13. [href]

0.2.0 (2016-04-05)

  • Changes the mouse pointer to default on unclickable markers. [href]

  • Fixes form submit not working with enter key in map enabled forms. [href]

  • Acquires the default view parameters from the body. [href]

0.1.0 (2016-04-05)

  • Adds the ability to display a (readonly) map with a marker. [href]

0.0.1 (2016-04-01)

  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

onegov.gis-0.9.0.tar.gz (193.1 kB view details)

Uploaded Source

Built Distribution

onegov.gis-0.9.0-py3-none-any.whl (200.7 kB view details)

Uploaded Python 3

File details

Details for the file onegov.gis-0.9.0.tar.gz.

File metadata

  • Download URL: onegov.gis-0.9.0.tar.gz
  • Upload date:
  • Size: 193.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.3

File hashes

Hashes for onegov.gis-0.9.0.tar.gz
Algorithm Hash digest
SHA256 c0bc381ca88d1210b65b9878366f80a377bfb6e373168bfd8ab0e92e20338f1c
MD5 b60965896abbabbd3234db386e631151
BLAKE2b-256 8344f1850c10a9fa983fe3ac83f61b94d315622d72ff6507eae889b5b29ee7cb

See more details on using hashes here.

File details

Details for the file onegov.gis-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: onegov.gis-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 200.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.3

File hashes

Hashes for onegov.gis-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cacda88a5475e347368ce997b8323121e2b424c16363453e65a5c8816836fc19
MD5 585cfbd3892b087f71d9acfbe364a49e
BLAKE2b-256 731d1e8f5945847101d1e46cc41f7b969a9052f35d6f72bb1b0d7cb334331d68

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page