GPKGFeatureInfoBuilder

Objective-C

@interface GPKGFeatureInfoBuilder : NSObject

/**
 *  Table name used when building text
 */
@property (nonatomic, strong) NSString * name;

/**
 * Max number of points clicked to return detailed information about
 */
@property (nonatomic) int maxPointDetailedInfo;

/**
 * Max number of features clicked to return detailed information about
 */
@property (nonatomic) int maxFeatureDetailedInfo;

/**
 * Print Point geometries within detailed info when true
 */
@property (nonatomic) BOOL detailedInfoPrintPoints;

/**
 * Print Feature geometries within detailed info when true
 */
@property (nonatomic) BOOL detailedInfoPrintFeatures;

/**
 * Query geometries using geodesic lines
 */
@property (nonatomic) BOOL geodesic;

/**
 * Initializer
 *
 * @param featureDao feature dao
 */
-(instancetype) initWithFeatureDao: (GPKGFeatureDao *) featureDao;

/**
 * Initializer
 *
 * @param featureDao feature dao
 * @param featureStyles feature table styles
 */
-(instancetype) initWithFeatureDao: (GPKGFeatureDao *) featureDao andStyles: (GPKGFeatureTableStyles *) featureStyles;

/**
 * Initializer
 *
 * @param featureDao feature dao
 * @param geodesic   geodesic check flag
 */
-(instancetype) initWithFeatureDao: (GPKGFeatureDao *) featureDao andGeodesic: (BOOL) geodesic;

/**
 * Initializer
 *
 * @param featureDao feature dao
 * @param featureStyles feature table styles
 * @param geodesic   geodesic check flag
 */
-(instancetype) initWithFeatureDao: (GPKGFeatureDao *) featureDao andStyles: (GPKGFeatureTableStyles *) featureStyles andGeodesic: (BOOL) geodesic;

/**
 *  Get the geometry type
 *
 *  @return geometry type
 */
-(enum SFGeometryType) geometryType;

/**
 * Add a geomtetry type to ignore
 *
 * @param geometryType geometry type
 */
-(void) ignoreGeometryType: (enum SFGeometryType) geometryType;

/**
 *  Build a feature results information message and close the results
 *
 *  @param results feature index results
 *
 *  @return results message or null if no results
 */
-(NSString *) buildResultsInfoMessageAndCloseWithFeatureIndexResults: (GPKGFeatureIndexResults *) results;

/**
 *  Build a feature results information message and close the results
 *
 *  @param results feature index results
 *  @param projection         desired geometry projection
 *
 *  @return results message or null if no results
 */
-(NSString *) buildResultsInfoMessageAndCloseWithFeatureIndexResults: (GPKGFeatureIndexResults *) results andProjection: (PROJProjection *) projection;

/**
 *  Build a feature results information message
 *
 *  @param results   feature index results
 *  @param tolerance distance and screen tolerance
 *  @param point     point
 *
 *  @return results message or null if no results
 */
-(NSString *) buildResultsInfoMessageAndCloseWithFeatureIndexResults: (GPKGFeatureIndexResults *) results andTolerance: (GPKGMapTolerance *) tolerance andPoint: (SFPoint *) point;

/**
 *  Build a feature results information message
 *
 *  @param results    feature index results
 *  @param tolerance  distance and screen tolerance
 *  @param point      point
 *  @param projection desired geometry projection
 *
 *  @return results message or null if no results
 */
-(NSString *) buildResultsInfoMessageAndCloseWithFeatureIndexResults: (GPKGFeatureIndexResults *) results andTolerance: (GPKGMapTolerance *) tolerance andPoint: (SFPoint *) point andProjection: (PROJProjection *) projection;

/**
 *  Build a feature results information message
 *
 *  @param results            feature index results
 *  @param tolerance          distance and screen tolerance
 *  @param locationCoordinate location coordinate
 *
 *  @return results message or null if no results
 */
-(NSString *) buildResultsInfoMessageAndCloseWithFeatureIndexResults: (GPKGFeatureIndexResults *) results andTolerance: (GPKGMapTolerance *) tolerance andLocationCoordinate: (CLLocationCoordinate2D) locationCoordinate;

/**
 *  Build a feature results information message
 *
 *  @param results            feature index results
 *  @param tolerance          distance and screen tolerance
 *  @param locationCoordinate location coordinate
 *  @param projection         desired geometry projection
 *
 *  @return results message or null if no results
 */
-(NSString *) buildResultsInfoMessageAndCloseWithFeatureIndexResults: (GPKGFeatureIndexResults *) results andTolerance: (GPKGMapTolerance *) tolerance andLocationCoordinate: (CLLocationCoordinate2D) locationCoordinate andProjection: (PROJProjection *) projection;

/**
 *  Build a feature results information message
 *
 *  @param results            feature index results
 *  @param tolerance          distance and screen tolerance
 *  @param locationCoordinate location coordinate
 *  @param scale               scale factor
 *  @param zoom                  current zoom level
 *  @param mapView                  map view
 *  @param screenClickPercentage screen click percentage between 0.0 and 1.0
 *
 *  @return results message or null if no results
 */
-(NSString *) buildResultsInfoMessageAndCloseWithFeatureIndexResults: (GPKGFeatureIndexResults *) results andTolerance: (GPKGMapTolerance *) tolerance andLocationCoordinate: (CLLocationCoordinate2D) locationCoordinate andScale: (float) scale andZoom: (double) zoom andMapView: (MKMapView *) mapView andScreenPercentage: (float) screenClickPercentage;

/**
 *  Build a feature results information message
 *
 *  @param results            feature index results
 *  @param tolerance          distance and screen tolerance
 *  @param locationCoordinate location coordinate
 *  @param scale               scale factor
 *  @param zoom                  current zoom level
 *  @param mapView                  map view
 *  @param screenClickPercentage screen click percentage between 0.0 and 1.0
 *  @param projection         desired geometry projection
 *
 *  @return results message or null if no results
 */
-(NSString *) buildResultsInfoMessageAndCloseWithFeatureIndexResults: (GPKGFeatureIndexResults *) results andTolerance: (GPKGMapTolerance *) tolerance andLocationCoordinate: (CLLocationCoordinate2D) locationCoordinate andScale: (float) scale andZoom: (double) zoom andMapView: (MKMapView *) mapView andScreenPercentage: (float) screenClickPercentage andProjection: (PROJProjection *) projection;

/**
 *  Build feature table data results
 *
 *  @param results   feature index results
 *  @param tolerance distance and screen tolerance
 *  @param point   point
 *
 *  @return feature table data or nil if no results
 */
-(GPKGFeatureTableData *) buildTableDataAndCloseWithFeatureIndexResults: (GPKGFeatureIndexResults *) results andTolerance: (GPKGMapTolerance *) tolerance andPoint: (SFPoint *) point;

/**
 *  Build feature table data results
 *
 *  @param results    feature index results
 *  @param tolerance  distance and screen tolerance
 *  @param point      point
 *  @param projection desired geometry projection
 *
 *  @return feature table data or nil if notresults
 */
-(GPKGFeatureTableData *) buildTableDataAndCloseWithFeatureIndexResults: (GPKGFeatureIndexResults *) results andTolerance: (GPKGMapTolerance *) tolerance andPoint: (SFPoint *) point andProjection: (PROJProjection *) projection;

/**
 *  Build feature table data results
 *
 *  @param results            feature index results
 *  @param tolerance          distance and screen tolerance
 *  @param locationCoordinate location coordinate
 *
 *  @return table data or nil if no results
 */
-(GPKGFeatureTableData *) buildTableDataAndCloseWithFeatureIndexResults: (GPKGFeatureIndexResults *) results andTolerance: (GPKGMapTolerance *) tolerance andLocationCoordinate: (CLLocationCoordinate2D) locationCoordinate;

/**
 *  Build feature table data results
 *
 *  @param results            feature index results
 *  @param tolerance          distance and screen tolerance
 *  @param locationCoordinate location coordinate
 *  @param projection         desired geometry projection
 *
 *  @return table data or nil if no results
 */
-(GPKGFeatureTableData *) buildTableDataAndCloseWithFeatureIndexResults: (GPKGFeatureIndexResults *) results andTolerance: (GPKGMapTolerance *) tolerance andLocationCoordinate: (CLLocationCoordinate2D) locationCoordinate andProjection: (PROJProjection *) projection;

/**
 * Build a feature table data results
 *
 * @param results               feature index results
 * @param tolerance          distance and screen tolerance
 * @param locationCoordinate location coordinate
 * @param scale               scale factor
 * @param zoom                  current zoom level
 * @param mapView                  map view
 * @param screenClickPercentage screen click percentage between 0.0 and 1.0
 * @return feature table data or null if no results
 */
-(GPKGFeatureTableData *) buildTableDataAndCloseWithFeatureIndexResults: (GPKGFeatureIndexResults *) results andTolerance: (GPKGMapTolerance *) tolerance andLocationCoordinate: (CLLocationCoordinate2D) locationCoordinate andScale: (float) scale andZoom: (double) zoom andMapView: (MKMapView *) mapView andScreenPercentage: (float) screenClickPercentage;

/**
 * Build a feature table data results
 *
 * @param results               feature index results
 * @param tolerance          distance and screen tolerance
 * @param locationCoordinate location coordinate
 * @param scale               scale factor
 * @param zoom                  current zoom level
 * @param mapView                  map view
 * @param screenClickPercentage screen click percentage between 0.0 and 1.0
 * @param projection            desired geometry projection
 * @return feature table data or null if no results
 */
-(GPKGFeatureTableData *) buildTableDataAndCloseWithFeatureIndexResults: (GPKGFeatureIndexResults *) results andTolerance: (GPKGMapTolerance *) tolerance andLocationCoordinate: (CLLocationCoordinate2D) locationCoordinate andScale: (float) scale andZoom: (double) zoom andMapView: (MKMapView *) mapView andScreenPercentage: (float) screenClickPercentage andProjection: (PROJProjection *) projection;

@end

Swift

class GPKGFeatureInfoBuilder : NSObject

Undocumented