osmlab / field-data-collection

A mobile application for collecting both OSM & private data in the field.
10 stars 7 forks source link

Skip un-named and non-node elements #230

Closed mojodna closed 7 years ago

mojodna commented 7 years ago

This should reduce the amount of data stored (+ indexed) locally, ideally allowing for larger areas to be covered given the current constraints.

@sethvincent this is one of the "optimizations" we'd discussed to reduce the amount of data that needs to be indexed + queried so that it only includes data that we're actually going to display (for now).

mojodna commented 7 years ago

I was able to try this on a phone this morning and fixed a crasher bug related to it.

With this in place, the initial import is way faster. Querying doesn't feel substantially faster, but the first-run experience is better and it should more happily support slightly larger areas.