sartopo_python module

This module provides one main class: SartopoSession. Class methods are categorized and documented below.

Downstream code should create and use one instance of this class.

An exception class is also defined, STSException, which could be thrown during initialization but is not documented here.

Account data access methods

These methods may be called from either a mapless or a map-associated session.

Feature creation methods

Most of these feature creation methods can be used to edit an existing feature, by specifying the existingId argument. .editFeature is a convenience method that calls the appropriate .add… method with existingId specified.

Feature query methods

Feature editing methods

Feature deletion methods

Geometry operation methods

These methods use the python Shapely module.

Internal data management methods

These methods are typically only called internally, from other class methods. They can be called from downstream code if needed, with caution.

Internal helper methods

These methods are typically only called internally, from other class methods. They can be called from downstream code if needed, with caution.