MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLGPkgFeatureCallback Class Referenceabstract

Detailed Description

This abstract class defines a callback accepted by several methods on the TSLGPkgFeatureTable. The purpose of this callback is to allow applications to make modifications to entities as they are loaded from the GeoPackage, e.g. to assign feature IDs based on attribute values.

Public Member Functions

virtual bool processFeature (TSLEntity *entity)=0
 
virtual ~TSLGPkgFeatureCallback ()=0
 

Constructor & Destructor Documentation

◆ ~TSLGPkgFeatureCallback()

TSLGPkgFeatureCallback::~TSLGPkgFeatureCallback ( )
inlinepure virtual

Member Function Documentation

◆ processFeature()

virtual bool TSLGPkgFeatureCallback::processFeature ( TSLEntity * entity)
pure virtual

This method will be invoked for each geometry item read from a geopackage's feature table as part of a query prior to the geometry being added to the result set for the operation that triggered the callback.

If the callback returns false, the entity will be discarded and not included in the results of the operation being performed. To include the geometry, return true from the callback.

Parameters
entityThe geometry object to be modified by the application.