dat-ecosystem-archive / datproject-discussions

a repo for discussions and other non-code organizing stuff [ DEPRECATED - More info on active projects and modules at https://dat-ecosystem.org/ ]
65 stars 6 forks source link

import openstreetmap into dat! #43

Open joehand opened 8 years ago

joehand commented 8 years ago

From @maxogden on May 21, 2014 20:42

we should host OSM data

http://planet.openstreetmap.org/pbf/ http://planet.openstreetmap.org/pbf/ https://github.com/marook/osm-read

Copied from original issue: maxogden/dat#116

joehand commented 8 years ago

From @Caged on May 21, 2014 21:25

Nice! Having something like the metro extracts would be great.

joehand commented 8 years ago

From @ian29 on May 21, 2014 21:27

:heart_eyes_cat:

joehand commented 8 years ago

From @jden on May 22, 2014 2:34

@Caged metro extracts are awesome! Along with some other features, like https://github.com/maxogden/dat/issues/112 and supporting bounding-box filtered replication, you could essentially create your own ad-hoc metro extracts which are replicated on a continuous basis!

joehand commented 8 years ago

From @astro on August 17, 2014 23:38

Here's my very first dat tool: https://github.com/astro/dat-osm-import

joehand commented 8 years ago

From @maxogden on August 17, 2014 23:51

@astro nice! maybe me and @mafintosh can think up a way to add a feature to dat so that you don't have to require('dat') in your code (to keep things decoupled)

joehand commented 8 years ago

From @astro on August 18, 2014 16:36

But I use the dat API so I need to depend on it. The alternative would be serializing as JSON to stdout. Piping this to dat which then deserializes the JSON is just unnecessary overhead.

Given that OSM elements come with their own integer version counters, would it make sense to create a dat-backend that serves from .pbf files?