This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Simple python implementation of a famous algorithm : the Visvalingam-Wyatt simplification.

Installation

Using pip

$ pip install visvalingam

You can download the source using

git clone https://github.com/milkbread/Visvalingam-Wyatt.git

Examples execution

The whole example is located in the example/ directory

$ cd example

Script usage

Dummy

$ python simplify.py -i <inFile> -o <outFile> -t <tolerance>

Example

python simplify.py -i in.json -o out.json -t 0.0005

Help

python simplify.py -h

View results in browser

This is an exemplary workflow for tests :

  • Download the repository

  • Simplify your data

    python simplify.py -i in.json -o out.json -t 0.0005
    
  • setup local server (necessary for D3.js)

    python -m SimpleHTTPServer 8888
    
  • open in browser: http://localhost:8888/index.html

  • If needed adjust the filenames within the example/index.html (lines 24 & 28)

  • evaluate the resulting data and try another threshold

Impatient to see some results? See the example/index.html here!

Inspired by M.Bostocks JavaScript-Implementation:

Release History

Release History

0.3.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
visvalingam-0.3.0.tar.gz (3.8 kB) Copy SHA256 Checksum SHA256 Source Jun 4, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting