cartagen.BuildingAgent#

class BuildingAgent(feature, importance=1)#

Agent for buildings generalisation.

Create an object to generalise buildings within the AGENT process.

Parameters:
  • feature (GeoSeries of Polygon) – The building to create the agent from.

  • importance (int, optional) – Importance of the agent within the process.

See also

run_agents

Execute the AGENT process.

add_constraints(*constraints)#

Set one or multiple constraints to the process.

Parameters:

*constraints (GeneralisationConstraint) – Generalisation constraints to apply to this agent.

property constraints#

Returns the constraints of the process.