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.2 (2019-08-08)

  • Renders the coordinates of coordinate fields as a fall-back. [href]

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

Uploaded Source

Built Distribution

onegov.gis-0.9.2-py3-none-any.whl (200.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: onegov.gis-0.9.2.tar.gz
  • Upload date:
  • Size: 192.2 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.2 CPython/3.6.7

File hashes

Hashes for onegov.gis-0.9.2.tar.gz
Algorithm Hash digest
SHA256 9a25cc31f2cecea0b57ae31e7f5c2c54b0c5d81ffa72c370e01187bddc30ed8a
MD5 deb94a9efa34dd3982953aa48a977e54
BLAKE2b-256 89a2a2df73759512615a0775162e6cb505704b6b66edb452af1e6506e4292c1f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: onegov.gis-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 200.9 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.2 CPython/3.6.7

File hashes

Hashes for onegov.gis-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f4823b15f174b858e84c11f1c17e395e6cbab69aa1fa1bc566f337d59e6a5fbe
MD5 10f2f1a3fb2913653ab7058c2db779c1
BLAKE2b-256 cbb78b9bc18c6af13f88bc479e23165e0e5f5317c9ed20ae3106f12bb4d8a5cc

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