Giter Site home page Giter Site logo

Comments (4)

hummeltech avatar hummeltech commented on May 25, 2024

I believe you can very easily install mapnik on Windows using vcpkg:
https://vcpkg.link/ports/mapnik

Hope that helps you!

from mapnik.

mathisloge avatar mathisloge commented on May 25, 2024

yeah, either build with vcpkg or yourself directly with cmake.
https://github.com/mapnik/mapnik/blob/master/docs/cmake-usage.md

from mapnik.

LocalStarlight avatar LocalStarlight commented on May 25, 2024

Thanks so much for the responses. You'll have to forgive my ignorance, because I'm more of an artist than a coder, but I'm not sure what to do next.

I'm in a very similar situation to the person asking the question here: https://stackoverflow.com/questions/72362395/what-are-the-next-steps-after-installing-mapnik-with-vcpkg-to-see-mapnik-usage

I have installed Mpanik with vcpkg. This page says that you can check Mapnik is installed with the following:
mapnik-config -v # should return a version number.

But I just get this error:
mapnik-config : The term 'mapnik-config' is not recognized as the name of a cmdlet, function, script file, or operable program.

So I'm not clear to what extent Mapnik is now 'installed' after using vcpkg (which is new to me in itself).

Essentially, the point I'm trying to get to is to be able to run Python scripts to render OSM stuff using Mapnik. What do I need to do to get to that point after installing using vcpkg?

from mapnik.

dch0ph avatar dch0ph commented on May 25, 2024

If you create want to use mapnik with OSM data, you would be frankly best to work through docker or WSL, as suggested in the stackoverflow answer above. Getting Postgres running, importing the OSM data, connecting the postgres database to mapnik is non trivial, and all the HOWTO guides are for Linux-type environments. Recommend starting from nik4 for the final rendering.

from mapnik.

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.