You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Transit stops are currently held in memory by a list: build.ObjectHandler.transit_stops and also in memory in a spatial index using build.ObjectHandler.points becasue they are included in the activity_config.
this duplication should be removed
ideally the complex features will get a more generalised config gtroup pattern and feature extraction pattern
The text was updated successfully, but these errors were encountered:
We currently support some simple "object" features, which generally look for some tag or feature of the object (such as
levels
or the polygon area):and more complex features, which require some calculation between objects (ie distance):
In all cases these are currently configures by the
features_config
:"features_config": ["units", "levels", "area", "floor_area", "transit_distance"]
We would like to generalise the transit_distance feature to (for example) calculate:
In which case we would need to give it it's own config group, eg:
"nearest_config": ["transit_stop", "leisure", "health", "education"]
This pattern would then be used for more complex features, such as:
Calculating more complex features is likely to benefit a lot from a good spatial library.
Also note that the assumption is that all objects used for complex features will be included in the
activity_config
, eg:Transit stops are currently held in memory by a list:
build.ObjectHandler.transit_stops
and also in memory in a spatial index usingbuild.ObjectHandler.points
becasue they are included in theactivity_config
.The text was updated successfully, but these errors were encountered: