osm2pgsql
mapnik
osm2pgsql | mapnik | |
---|---|---|
2 | 1 | |
1,437 | 3,556 | |
0.6% | 0.5% | |
9.1 | 8.7 | |
9 days ago | 7 days ago | |
C++ | C++ | |
GNU General Public License v3.0 only | GNU Lesser General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
osm2pgsql
-
When importing to Postgres using OSM2PGSQL, what options must I use in order to preserve the OSM IDs and record types?
Not sure. I'd suggest asking at https://github.com/openstreetmap/osm2pgsql/discussions where someone like Jochen or Sarah might be able to give you a more definitive answer.
-
I've imported a full planet .OSM.PBF to Postgres using osm2pgsql (on a cloud computer with lots of RAM). Now I'd like advice on the best parameters to use for the osm2pgsql command (and where Lua should fit in)
If you're setting up something new without any existing instructions, you will want to use the osm2pgsql flex backend as the others will eventually be deprecated. There are a number of examples in the osm2pgsql repo you can use as a starting point. Exactly what you need to do will depend on what you want to do with the data. If all you need is one type of feature like buildings, your code will be much simpler than if you're making a complex basemap.
mapnik
-
Ask HN: Best way to learn enough C++?
I know Rust, but after hitting my head against a wall trying to generate Rust bindings for a templated c++ library[1] I realized I should just write this part of my project in c++.
My current plan is to read through Stroustrup's A Tour of C++, then start working on my project. When I encounter issues I'll look the topic up in Stroustrup's The C++ Programming Language.
I'm hoping someone with relevant experience can tell me if this is a decent plan, and if there's a better or faster way to learn enough C++ to write a small program that calls such a library.
[1]: https://github.com/mapnik/mapnik
What are some alternatives?
Open Source Routing Machine (OSRM) - Open Source Routing Machine - C++ backend
tinyraytracer - A brief computer graphics / rendering course
Mapbox GL - Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL
tilemaker - Make OpenStreetMap vector tiles without the stack
osmscout-server - Maps server providing tiles, geocoder, and router
omapsapp - 🍃 Organic Maps is a free Android & iOS offline maps app for travelers, tourists, hikers, and cyclists. It uses crowd-sourced OpenStreetMap data and is developed with love by MapsWithMe (MapsMe) founders and our community. No ads, no tracking, no data collection, no crapware. Please donate to support the development!
valhalla - Open Source Routing Engine for OpenStreetMap