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.1 (2019-06-14)

  • Automatically marks points in the map when selecting a geocode search result. [href]

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.1.tar.gz (193.3 kB view details)

Uploaded Source

Built Distribution

onegov.gis-0.9.1-py3-none-any.whl (200.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: onegov.gis-0.9.1.tar.gz
  • Upload date:
  • Size: 193.3 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.1.tar.gz
Algorithm Hash digest
SHA256 b24e4a0e457930ac6bed0709eb785ba757648999726430363b182c61361779cf
MD5 8ef2428e74f103277ad6e4aa1365ca6a
BLAKE2b-256 6d75d1fc4840ebbf3e650ddf389bc11123a3baa6e59bec2146384797e0197fcc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: onegov.gis-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 200.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc4e8c17264085b77b8870666af31fcada89c6b21d357d634a761df9ca91ce86
MD5 f32e37d42c8231ad25eb0d65b053b77d
BLAKE2b-256 d45540195b1d05dbba4ecd552e606a2e83e188525205ccec473531e18c152794

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