Coder Social home page Coder Social logo

Comments (5)

wwymak avatar wwymak commented on July 19, 2024 1

just wondering-- is using basemap for the plot still a good idea, given that it's being EOL? https://matplotlib.org/basemap/users/intro.html#cartopy-new-management-and-eol-announcement

from pandana.

sablanchard avatar sablanchard commented on July 19, 2024 1

Hi @wwymak you are right, updating plot to move away from basemap makes sense with its depreciation and move over to cartopy. PRs are welcome if interested. Added it as a new issue: #110 .

from pandana.

kuanb avatar kuanb commented on July 19, 2024

Here's a sketch (not finalized) of what the install steps would be in a Dockerfile:

RUN echo "Installing GEOS library..." && \
    mkdir -p /provisioning/geos && \
    cd /provisioning/geos && \
    curl -# -O http://download.osgeo.org/geos/geos-3.5.1.tar.bz2 && \
    tar -xjf geos-3.5.1.tar.bz2 && \
    cd geos-3.5.1 && \
    ./configure && \
    make -j$(python -c 'import multiprocessing; print(multiprocessing.cpu_count())') && \
    make install && \
    ldconfig -v && \
    rm -rf /provisioning/geos*

RUN echo "Installing Proj4 library..." && \
    mkdir -p /provisioning/proj4 && \
    cd /provisioning/proj4 && \
    curl -# -O http://download.osgeo.org/proj/proj-4.9.3.tar.gz && \
    tar -xf proj-4.9.3.tar.gz && \
    cd proj-4.9.3 && \
    ./configure && \
    make install

RUN echo "Installing Basemap plotting library..." && \
    mkdir -p /provisioning/basemap && \
    cd /provisioning/basemap && \
    wget https://sourceforge.net/projects/matplotlib/files/matplotlib-toolkits/basemap-1.0.7/basemap-1.0.7.tar.gz && \
    tar -xf basemap-1.0.7.tar.gz && \
    cd basemap-1.0.7 && \
    python setup.py install && \
    rm -rf /provisioning/basemap

Aside: Installing GEOS is slow.

from pandana.

knaaptime avatar knaaptime commented on July 19, 2024

there's also contextily if you're after a more full-featured basemap

from pandana.

smmaurer avatar smmaurer commented on July 19, 2024

See issue #144

from pandana.

Related Issues (20)

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.