damn_server.area

Procedures and classes for managing an area.

In this module, there are classes (data structures) related to area information, and procedures containing SQL queries that manipulate the database (saving, loading, and updating the area).

Functions

geometry(aid)

Return the FeatureCollection of the area's border.

load(aid)

Return area loaded from the database.

save(area, author)

Save the area to the database and return the area identifier.

update(area, author)

Update the area in the database.

Classes

Area

Structure for storing information about the area.

AreaGeometry

Structure for storing the features of the area's FeatureCollection.

AreaGrid

Structure that says how the area or the square should be divided.

CreateArea

Structure for storing information about the new area.

GridShape

Shape of area or square grid.

UpdateArea

Structure for storing information about the area being updated.