3 ms·
So this is focused on offline editing and sharing? Very cool, though I initially thought it was going to be a p2p torrent style of keeping OSM data synced acros
by Bedon292 10y ago
So this is focused on offline editing and sharing? Very cool, though I initially thought it was going to be a p2p torrent style of keeping OSM data synced across the internet.
- substack 10y agoThe focus is offline, but the underlying techniques work just as well across the public internet. For example, you could use https://www.npmjs.com/package/webrtc-swarm https://www.npmjs.com/package/webrtc-swarm to sync the hyperlogs: var wswarm = require('webrtc-swarm') var signalhub = require('signalhub') var swarm = wswarm(signalhub('p2p-map', ['https://signalhub.mafintosh.com']) var osm = require('osm-p2p')() swarm.on('peer', function (peer, id) { peer.pipe(osm.log.replicate()).pipe(peer) })
- gmaclennan 10y agoYes, right now this is for setting up your own "OpenStreetMap" that will work offline. The author of this work, substack, is also working/thinking about p2p infrastructure for OSM. See https://peermaps.github.io/ https://peermaps.github.io/