Skip to main content

A slipmap widget for wxPython 4

Project description

pySlip is a ‘slip map’ widget for wxPython.

During my work writing geophysical applications in python I often wanted to display a map that was very large - many hundreds of thousands of pixels in width. I searched around for a GUI solution that would work rather like Google maps: tiled, layers, etc. I couldn’t find anything that didn’t assume browser+map server. So I wrote my own wxPython widget. This worked well for cartesian self-generated maps and has been extended to handle non-cartesian maps and tiles sourced from places like OpenStreetMap.

It’s a poor thing, but solves my problem. I’m placing it here in the hope that someone else may find it useful. If you find it useful, or make improvements to it, drop me a line.

The earlier 3.0.x release was for python 2.x only on Windows, Linux and macOS. This version works with wxPython 4.0+ and Python 3.6+. It may work on earlier python 3 versions, but this has not been tested. It has been tested on Linux but not Windows or macOS, yet.

The widget API is documented in the wiki.

Installation

You install pySlip in the usual PyPi way: pip install pyslip .

Before running the pyslip_demo.py program you must copy the pySlip/pyslip/examples/gmt_local_tiles.zip file to your home directory and unzip it there. That should create a directory named gmt_local_tiles.

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

pyslip-4.0.5.tar.gz (12.8 MB view hashes)

Uploaded Source

Built Distribution

pyslip-4.0.5-py2-none-any.whl (12.8 MB view hashes)

Uploaded Python 2

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