osm2pgsql
osmscout-server
osm2pgsql | osmscout-server | |
---|---|---|
2 | 4 | |
1,437 | 155 | |
0.6% | - | |
9.1 | 7.0 | |
8 days ago | about 1 month ago | |
C++ | C++ | |
GNU General Public License v3.0 only | GNU 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.
osmscout-server
-
What Are The Best Linux Apps?
Pure Maps with OSM Scout Server for offline mapping and geolocation
-
Apple explicitly asks employees to merge their personal and work accounts
- build a minimal web page showing a Leaflet or a MapLibre widget, connected to a backend built using a compiled language like C++ or D, itself connecting to OSM Scout Server to provide the tiles. Or to OSM Scout Server directly if it is possible.
The last option is probably the most lightweight solution, provided you probably have a browser already running on your phone. I'm not saying this out of my ass by the way, I'm building an SMS app using Svelte for the user interface and D for the backend connecting to the modem and managing the SQLite database. It's way faster than chatty.
[1] https://openrepos.net/content/rinigus/pure-maps
[2] https://rinigus.github.io/osmscout-server/
-
Why Openstreetmap as a product fails to compete with Google Maps – part 1/3
There are on device or even in browser renderers that only need remote or locally stored vector data to render the map. This moves the burde of rendering to user devices that should be more than capable for this today (especially if you use a GPU renderer) and makes you server into just a dumb data pipe that should be able to scale much better & more cheaply.
One such renderer available via Qt/QML:
https://doc.qt.io/qt-5/location-plugin-mapboxgl.html
Alternatively you can have a local daemon running that does the tile rendering on your device from offline data packs. This way even "legacy" apps requiring simple bitmap tiles will work without (major) changes. One such project providing this (among other APIs) is OSM Scout Server:
https://github.com/rinigus/osmscout-server