mapmaker.flatmap package

Submodules

Module contents

class mapmaker.flatmap.FlatMap(manifest: Manifest, maker, annotator=None)[source]

Bases: object

property annotations
property annotator
property area
property centre
property connection_set
property created
property extent
property entities
property id
property layer_ids
property layers
property local_id
property map_dir
property manifest
property properties_store
property metadata
property models
property sckan_neuron_populations
property uuid
initialise()[source]
close()[source]
full_filename(localname)[source]
save_feature_for_node_lookup(feature: Feature)[source]
features_for_anatomical_node(anatomical_node: AnatomicalNode, warn: bool = True) tuple[mapmaker.knowledgebase.AnatomicalNode, set[mapmaker.flatmap.feature.Feature]] | None[source]
duplicate_feature_id(feature_ids: str) bool[source]
feature_to_geojson_ids(feature_ids: list[str]) list[int][source]
has_feature(feature_id: str) bool[source]
get_feature(feature_id: str) Feature | None[source]
new_feature(geometry, properties, is_group=False)[source]
feature_exported(feature)[source]
add_layer(layer)[source]
add_source_layers(layer_number, source)[source]
layer_metadata()[source]
update_annotations(annotations)[source]
connectivity()[source]
features_covering(feature)[source]
features_inside(feature)[source]