project-epic / epic-osm Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://project-epic.github.io/epic-osm
License: MIT License
Home Page: http://project-epic.github.io/epic-osm
License: MIT License
The new libosmium library maintained by osmcode.org (same author, joto) does all the PBF parsing we need, and does it much more intelligently. As such, PBF import tasks should be ported to use pyosmium, the Python bindings for libosmium so we can take advantage of the speed and caching for geographic points -- these can be fed into bulk imports to PyMongo, creating our preferred Mongo datastructure with much less hassle.
Default to :end_date = Time.now for 'on-going events'
Explain the project
Maintaining up-to-date history information for given areas of interest (analysis windows) requires a constantly running, stable database import script and a source.
Wondering about strategy for addressing missing_nodes.
This became apparent in analysis with incomplete polylines in the GeoJSON generated for users (check user "Thod" for a clear example.In http://mikelmaron.github.io/osm-history/users/ for one example). There are roads which appear "broken". Besides appearances, this makes analysis like length of roads edited inaccurate. I found this strange, because these nodes should be within the study area; it's not due to doing a hard cut.
Checking the resulting pbf file from the osm-history-splitter cut, missing nodes are actually present in the file. But they don't get imported into mongo. Looking at OSMPBF::parse_to_collection, I can't see why this would happen.
Is this a known problem? Or, anything I can do to help debug?
This is mostly done, but a sample implementation would be nice
Deal with them. What kind of questions are we interested in?
The GMLAuthor needs to re-encode to html character codes for all latin-1 characters, per the official GML format.
if bucketing the metrics by time
Package into a gem and make bin executables?
The current back and forth is creating data duplication and large time lags in the jekyll build, that said -- it works and I don't want to F with it right now.
right now we import EVERYTHING up to the end date so we have nodes pre analysis window -- but should we update to allow a smaller import?
we need a 'created_at' index on nearly all collections.
bucket out list of coordinates
run through https://github.com/ericfischer/datamaps
Pull them in! Should be a relatively simple API call with the boundingbox geometry. Save to a new mongo collection and create a new domain object for handling them. The rest should fall into place.
The paths for the Jekyll build need to be updated to reflect the relative locations to root
More exhaustive specs are needed for the pbf import to confirm this is behaving as expected. This will become more important as we subject the framework to larger files.
the to_mongo function should be catching this -- will look into it this week
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.