Giter VIP home page Giter VIP logo

cartogrampy's Introduction

cartogrampy logo

Cartogrampy

Cartogram and related algorithms for GeoPandas based geometries

Installation

Using Pip

pip install git+ssh://[email protected]/danlewis85/cartogrampy.git@master

Note:

You will require all the C based dependencies that the python wrappers such as pysal and geopandas rely on.

cartogrampy's People

Contributors

finnkauski avatar fedhere avatar danlewis85 avatar

Stargazers

Dany Laksono avatar Curtis Yung avatar Jonas Stührenberg avatar  avatar David Kane avatar WANG Aiyong avatar

Watchers

 avatar  avatar

cartogrampy's Issues

Installation in windows failing

hey dan,
I am unable to install your package using your readme.md file.

I keep on stumbling over this error message when trying to install:
Can you maybe be more specific how to install this on Windows machines in a conda environment?
Are there any known issues?


pip install https://github.com/danlewis85/cartogrampy.git
Collecting https://github.com/danlewis85/cartogrampy.git
Downloading https://github.com/danlewis85/cartogrampy.git
- 213.8 kB 4.3 MB/s 0:00:00
ERROR: Cannot unpack file C:\Users\stue_js\AppData\Local\Temp\pip-unpack-1zpe_ea3\cartogrampy.git (downloaded from C:\Users\stue_js\AppData\Local\Temp\pip-req-build-vl__xcga, content-type: text/html; charset=utf-8); cannot detect
archive format
ERROR: Cannot determine archive format of C:\Users\stue_js\AppData\Local\Temp\pip-req-build-vl__xcga
(dorling) PS C:\Users\stue_js\PycharmProjects\cartogrampy> pip install git+https://github.com/danlewis85/cartogrampy.git
Collecting git+https://github.com/danlewis85/cartogrampy.git
Cloning https://github.com/danlewis85/cartogrampy.git to c:\users\stue_js\appdata\local\temp\pip-req-build-er7de6pf
Running command git clone --filter=blob:none --quiet https://github.com/danlewis85/cartogrampy.git 'C:\Users\stue_js\AppData\Local\Temp\pip-req-build-er7de6pf'
Resolved https://github.com/danlewis85/cartogrampy.git to commit 1bb0bfe
Preparing metadata (setup.py) ... done
Collecting attrs==19.1.0 (from cartogrampy==0.0.5)
Using cached attrs-19.1.0-py2.py3-none-any.whl (35 kB)
Requirement already satisfied: click-plugins==1.1.1 in c:\programdata\mambaforge\envs\dorling\lib\site-packages (from cartogrampy==0.0.5) (1.1.1)
Collecting click==7.0 (from cartogrampy==0.0.5)
Using cached Click-7.0-py2.py3-none-any.whl (81 kB)
Collecting cligj==0.5.0 (from cartogrampy==0.0.5)
Using cached cligj-0.5.0-py3-none-any.whl (5.7 kB)
Collecting cycler==0.10.0 (from cartogrampy==0.0.5)
Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
Collecting descartes==1.1.0 (from cartogrampy==0.0.5)
Using cached descartes-1.1.0-py3-none-any.whl (5.8 kB)
Collecting dill==0.3.0 (from cartogrampy==0.0.5)
Using cached dill-0.3.0.tar.gz (151 kB)
Preparing metadata (setup.py) ... done
Collecting fiona==1.8.6 (from cartogrampy==0.0.5)
Using cached Fiona-1.8.6.tar.gz (1.7 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

DCN Cartogram.ipynb formats poorly

DCN Cartogram.ipynb formats awfully.O think your extention to make it multicolum should be turned off, so that the table of content is at the top, followed by the usage, followed by the code

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.