public class FeatureInfoBuilder extends Object
| Constructor and Description |
|---|
FeatureInfoBuilder(Context context,
FeatureDao featureDao)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
buildResultsInfoMessage(FeatureIndexResults results,
double tolerance)
Build a feature results information message
|
String |
buildResultsInfoMessage(FeatureIndexResults results,
double tolerance,
LatLng clickLocation)
Build a feature results information message
|
String |
buildResultsInfoMessage(FeatureIndexResults results,
double tolerance,
LatLng clickLocation,
Projection projection)
Build a feature results information message
|
String |
buildResultsInfoMessage(FeatureIndexResults results,
double tolerance,
Projection projection)
Build a feature results information message
|
String |
buildResultsInfoMessageAndClose(FeatureIndexResults results)
Build a feature results information message and close the results
|
String |
buildResultsInfoMessageAndClose(FeatureIndexResults results,
double tolerance,
LatLng clickLocation)
Build a feature results information message and close the results
|
String |
buildResultsInfoMessageAndClose(FeatureIndexResults results,
double tolerance,
LatLng clickLocation,
Projection projection)
Build a feature results information message and close the results
|
String |
buildResultsInfoMessageAndClose(FeatureIndexResults results,
Projection projection)
Build a feature results information message and close the results
|
FeatureTableData |
buildTableDataAndClose(FeatureIndexResults results,
double tolerance,
LatLng clickLocation)
Build a feature results information message
|
FeatureTableData |
buildTableDataAndClose(FeatureIndexResults results,
double tolerance,
LatLng clickLocation,
Projection projection)
Build a feature results information message
|
int |
getMaxFeatureDetailedInfo()
Get the max features in a query to print detailed results about
|
int |
getMaxPointDetailedInfo()
Get the max points in a query to print detailed results about
|
String |
getName()
Get the name used in text
|
void |
ignoreGeometryType(GeometryType geometryType)
Ignore the provided geometry type
|
boolean |
isDetailedInfoPrintFeatures()
Is the detailed info going to print feature geometries
|
boolean |
isDetailedInfoPrintPoints()
Is the detailed info going to print point geometries
|
boolean |
isGeodesic()
Is geodesic checking enabled
|
void |
projectGeometry(GeoPackageGeometryData geometryData,
Projection projection)
Project the geometry into the provided projection
|
void |
setDetailedInfoPrintFeatures(boolean detailedInfoPrintFeatures)
Set the detailed info to print feature geometries
|
void |
setDetailedInfoPrintPoints(boolean detailedInfoPrintPoints)
Set the detailed info to print point geometries
|
void |
setGeodesic(boolean geodesic)
Set the geodesic check flag
|
void |
setMaxFeatureDetailedInfo(int maxFeatureDetailedInfo)
Set the max features in a query to print detailed results about
|
void |
setMaxPointDetailedInfo(int maxPointDetailedInfo)
Set the max points in a query to print detailed results about
|
void |
setName(String name)
Set the name used in text
|
public FeatureInfoBuilder(Context context, FeatureDao featureDao)
context - contextfeatureDao - feature daopublic String getName()
public void setName(String name)
name - table reference namepublic int getMaxPointDetailedInfo()
public void setMaxPointDetailedInfo(int maxPointDetailedInfo)
maxPointDetailedInfo - max number of points to include detailed information aboutpublic int getMaxFeatureDetailedInfo()
public void setMaxFeatureDetailedInfo(int maxFeatureDetailedInfo)
maxFeatureDetailedInfo - max number of features to include detailed information aboutpublic boolean isDetailedInfoPrintPoints()
public void setDetailedInfoPrintPoints(boolean detailedInfoPrintPoints)
detailedInfoPrintPoints - true to include detailed info on point geometriespublic boolean isDetailedInfoPrintFeatures()
public void setDetailedInfoPrintFeatures(boolean detailedInfoPrintFeatures)
detailedInfoPrintFeatures - true to include detailed info on feature geometriespublic boolean isGeodesic()
public void setGeodesic(boolean geodesic)
geodesic - true for geodesic checkingpublic void ignoreGeometryType(GeometryType geometryType)
geometryType - geometry typepublic String buildResultsInfoMessageAndClose(FeatureIndexResults results)
results - feature index resultspublic String buildResultsInfoMessageAndClose(FeatureIndexResults results, Projection projection)
results - feature index resultsprojection - desired geometry projectionpublic String buildResultsInfoMessageAndClose(FeatureIndexResults results, double tolerance, LatLng clickLocation)
results - feature index resultstolerance - distance toleranceclickLocation - map click locationpublic String buildResultsInfoMessageAndClose(FeatureIndexResults results, double tolerance, LatLng clickLocation, Projection projection)
results - feature index resultstolerance - distance toleranceclickLocation - map click locationprojection - desired geometry projectionpublic String buildResultsInfoMessage(FeatureIndexResults results, double tolerance)
results - feature index resultstolerance - distance tolerancepublic String buildResultsInfoMessage(FeatureIndexResults results, double tolerance, Projection projection)
results - feature index resultstolerance - distance toleranceprojection - desired geometry projectionpublic String buildResultsInfoMessage(FeatureIndexResults results, double tolerance, LatLng clickLocation)
results - feature index resultstolerance - distance toleranceclickLocation - map click locationpublic String buildResultsInfoMessage(FeatureIndexResults results, double tolerance, LatLng clickLocation, Projection projection)
results - feature index resultstolerance - distance toleranceclickLocation - map click locationprojection - desired geometry projectionpublic FeatureTableData buildTableDataAndClose(FeatureIndexResults results,
double tolerance,
LatLng clickLocation)
results - feature index resultstolerance - distance toleranceclickLocation - map click locationpublic FeatureTableData buildTableDataAndClose(FeatureIndexResults results,
double tolerance,
LatLng clickLocation,
Projection projection)
results - feature index resultstolerance - distance toleranceclickLocation - map click locationprojection - desired geometry projectionpublic void projectGeometry(GeoPackageGeometryData geometryData, Projection projection)
geometryData - geometry dataprojection - projection