mapcomplete/Logic/FeatureSource/TiledFeatureSource
2022-01-17 21:33:03 +01:00
..
DynamicGeoJsonTileSource.ts FIx caching script, some cleanup 2021-12-13 13:22:23 +01:00
DynamicTileSource.ts First working version of the notes-layer, add filtering 2022-01-07 17:31:39 +01:00
FullNodeDatabaseSource.ts Further experimentation 2021-12-30 20:41:45 +01:00
OsmFeatureSource.ts Fix various bugs; improve UK-addresses theme 2022-01-17 21:33:03 +01:00
README.md Full code cleanup 2021-11-07 16:34:51 +01:00
TiledFeatureSource.ts Performance hacks 2022-01-06 18:51:52 +01:00
TileHierarchy.ts More refactoring of the featurepipeline, introduction of fetching data from the OSM-API directly per tile, personal theme refactoring 2021-09-28 17:30:48 +02:00
TileHierarchyMerger.ts Full code cleanup 2021-11-07 16:34:51 +01:00

Data in MapComplete can come from multiple sources.

Currently, they are:

  • The Overpass-API
  • The OSM-API
  • One or more GeoJSON files. This can be a single file or a set of tiled geojson files
  • LocalStorage, containing features from a previous visit
  • Changes made by the user introducing new features

When the data enters from Overpass or from the OSM-API, they are first distributed per layer:

OVERPASS | ---PerLayerFeatureSource---> FeatureSourceForLayer[] OSM |

The GeoJSon files (not tiled) are then added to this list

A single FeatureSourcePerLayer is then further handled by splitting it into a tile hierarchy.

In order to keep thins snappy, they are distributed over a tiled database per layer.

Notes

cached-featuresbookcases is the old key used cahced-features{themeid} and should be cleaned up