Description | Hierarchy | Fields | Methods | Properties |
type TGeoFilter = class(TObject)
Classes for handling of data filtering
Note: tri-state integer in properties meaning: 0 - must not be 1 - must be 2 - is ignored
![]() |
constructor create; |
![]() |
destructor Destroy; override; |
![]() |
procedure LoadDefault; |
![]() |
procedure LoadFromFile(value: string); |
![]() |
procedure SaveToFile(value: string); |
![]() |
procedure LoadFromName(value: string); |
![]() |
procedure SaveToName(value: string); |
![]() |
procedure LoadFromGUI; |
![]() |
procedure SaveToGUI; |
![]() |
function FilterGeo(const value: TGeo): boolean; |
![]() |
function FilterWpt(const value: TWpt): boolean; |
![]() |
property TypeNames: Tstringlist read FTypeNames; |
![]() |
property Container: TStringlist read FContainer; |
![]() |
property Terrain: TStringlist read FTerrain; |
![]() |
property Difficulty: TStringlist read FDifficulty; |
![]() |
property WIgnoreNames: TStringList read FWIgnoreNames; |
![]() |
property WptNames: Tstringlist read FWptNames; |
![]() |
property PolyName: tstringlist read fpolyname; |
![]() |
property RouteName: tstringlist read froutename; |
![]() |
property PointsName: tstringlist read fpointsname; |
![]() |
property TagHave: tstringlist read ftaghave; |
![]() |
property TagNotHave: tstringlist read ftagnothave; |
![]() |
property FilterFile: string read FFilterFile; |
![]() |
property FilterName: string read FFilterName; |
![]() |
property WaypointHandling: integer read FWaypointHandling write FWaypointHandling; |
![]() |
property Archived: integer read farchived write farchived; |
![]() |
property Own: integer read fown write fown; |
![]() |
property HaveWaypoint: integer read fwaypoint write fwaypoint; |
![]() |
property Disabled: integer read fdisabled write fdisabled; |
![]() |
property IsFound: integer read ffound write ffound; |
![]() |
property FamilyIndex: integer read FFamilyIndex write FFamilyIndex; |
![]() |
property FamilyPrefix: string read FFamilyPrefix write FFamilyPrefix; |
![]() |
property TypeKind: integer read ftypekind write ftypekind; |
![]() |
property Created: integer read fcreated write fcreated; |
![]() |
property CreatedDate: tdatetime read fcreateddate write fcreateddate; |
![]() |
property Updated: integer read fupdated write fupdated; |
![]() |
property UpdatedDate: tdatetime read fupdateddate write fupdateddate; |
![]() |
property LastFound: integer read flastfound write flastfound; |
![]() |
property LastFoundDate: tdatetime read flastfounddate write flastfounddate; |
![]() |
property Found: integer read ffoundd write ffoundd; |
![]() |
property FoundDate: tdatetime read ffoundddate write ffoundddate; |
![]() |
property DCreated: integer read fdcreated write fdcreated; |
![]() |
property DCreatedDays: integer read fdcreateddays write fdcreateddays; |
![]() |
property DUpdated: integer read fdupdated write fdupdated; |
![]() |
property DUpdatedDays: integer read fdupdateddays write fdupdateddays; |
![]() |
property DLastFound: integer read fdlastfound write fdlastfound; |
![]() |
property DLastFoundDays: integer read fdlastfounddays write fdlastfounddays; |
![]() |
property DFound: integer read fdfound write fdfound; |
![]() |
property DFoundDays: integer read fdfounddays write fdfounddays; |
![]() |
property Distance: integer read fdistance write fdistance; |
![]() |
property DistanceValue: double read fdistancevalue write fdistancevalue; |
![]() |
property EmptyCoord: integer read femptycoord write femptycoord; |
![]() |
property InCountry: integer read fincountry write fincountry; |
![]() |
property Country: string read fcountry write fcountry; |
![]() |
property InCountryState: integer read finstate write finstate; |
![]() |
property CountryState: string read fcountrystate write fcountrystate; |
![]() |
property WImported: integer read fwimported write fwimported; |
![]() |
property WEmptyCoord: integer read fwemptycoord write fwemptycoord; |
![]() |
property WPolyCoord: boolean read fwpolycoord write fwpolycoord; |
![]() |
property WUpdated: integer read fwupdated write fwupdated; |
![]() |
property WUpdatedDate: TDateTime read fwupdateddate write fwupdateddate; |
![]() |
property WDUpdated: integer read fwdupdated write fwdupdated; |
![]() |
property WDUpdatedDays: integer read fwdupdateddays write fwdupdateddays; |
![]() |
property HaveListing: integer read fhavelisting write fhavelisting; |
![]() |
property HaveComment: integer read fhavecomment write fhavecomment; |
![]() |
property HaveAttach: integer read fhaveattach write fhaveattach; |
![]() |
property HaveFinal: integer read fhavefinal write fhavefinal; |
![]() |
property WptKind: integer read Fwptkind write Fwptkind; |
![]() |
property WptImported: integer read fwptimported write fwptimported; |
![]() |
property WptEmptyCoord: integer read fwptemptycoord write fwptemptycoord; |
![]() |
property InPoly: integer read finpoly write finpoly; |
![]() |
property PolyCorrected: boolean read fpolycorrected write fpolycorrected; |
![]() |
property InRoute: integer read finroute write finroute; |
![]() |
property RouteCorrected: boolean read froutecorrected write froutecorrected; |
![]() |
property RouteDistance: double read froutedistance write froutedistance; |
![]() |
property InPoints: integer read finPoints write finPoints; |
![]() |
property PointsCorrected: boolean read fPointscorrected write fPointscorrected; |
![]() |
property PointsDistance: double read fPointsdistance write fPointsdistance; |
![]() |
constructor create; |
class constructor
![]() |
destructor Destroy; override; |
class destructor
![]() |
procedure LoadDefault; |
fill all properties by default values
![]() |
procedure LoadFromFile(value: string); |
load properties from the *.GGF file
![]() |
procedure SaveToFile(value: string); |
save properties to the *.GGF file
![]() |
procedure LoadFromName(value: string); |
load properties from the filter name. (Filter with this name must be stored in currect data directory)
![]() |
procedure SaveToName(value: string); |
save properties to the filter name. (Filter with this name will be stored in currect data directory)
![]() |
procedure LoadFromGUI; |
Load properties from the GUI filter dialog.
![]() |
procedure SaveToGUI; |
Save properties to the GUI filter dialog.
![]() |
function FilterGeo(const value: TGeo): boolean; |
Test if TGeo instance can pass current filter.
![]() |
function FilterWpt(const value: TWpt): boolean; |
Test if TWpt instance can pass current filter.
![]() |
property TypeNames: Tstringlist read FTypeNames; |
Set of point type names. Handling depending on TypeKind.
![]() |
property Container: TStringlist read FContainer; |
Set of allowed container sizes.
![]() |
property Terrain: TStringlist read FTerrain; |
Set of allowed terrains.
![]() |
property Difficulty: TStringlist read FDifficulty; |
Set of allowed difficulties.
![]() |
property WIgnoreNames: TStringList read FWIgnoreNames; |
Set of waypoint type names what will be ignored on the filter output.
![]() |
property WptNames: Tstringlist read FWptNames; |
Set of way type names. Handling depending on WptKind.
![]() |
property PolyName: tstringlist read fpolyname; |
Set of polygon names. (Just relative names without file extension.)
![]() |
property RouteName: tstringlist read froutename; |
Set of route names. (Just relative names without file extension.)
![]() |
property PointsName: tstringlist read fpointsname; |
Set of points_set names. (Just relative names without file extension.)
![]() |
property TagHave: tstringlist read ftaghave; |
Tags what point must have. (Each line is the pair category=value)
![]() |
property TagNotHave: tstringlist read ftagnothave; |
Tags what point must not have. (Each line is the pair category=value)
![]() |
property FilterFile: string read FFilterFile; |
filename of filter file after load
![]() |
property FilterName: string read FFilterName; |
name of filter after load
![]() |
property WaypointHandling: integer read FWaypointHandling write FWaypointHandling; |
how to handle points and waypoints. 0 - include points and waypoints 1 - waypoints only 2 - points only
![]() |
property Archived: integer read farchived write farchived; |
point is archived (tri-state)
![]() |
property Own: integer read fown write fown; |
point is your own (tri-state)
![]() |
property HaveWaypoint: integer read fwaypoint write fwaypoint; |
point have some waypoints (tri-state)
![]() |
property Disabled: integer read fdisabled write fdisabled; |
point is disabled (tri-state)
![]() |
property IsFound: integer read ffound write ffound; |
point is found by you (tri-state)
![]() |
property FamilyIndex: integer read FFamilyIndex write FFamilyIndex; |
Filter for point family. 0 - GC 1 - WM 2 - OC (OZ,...) 3 - other (prefix is defined by FamilyPrefix)
![]() |
property FamilyPrefix: string read FFamilyPrefix write FFamilyPrefix; |
While FamilyIndex is 3, then here is wanted point name prefix.
![]() |
property TypeKind: integer read ftypekind write ftypekind; |
point type is one of TypeNames (tri-state)
![]() |
property Created: integer read fcreated write fcreated; |
point created after... (tri-state)
![]() |
property CreatedDate: tdatetime read fcreateddate write fcreateddate; |
date for point created
![]() |
property Updated: integer read fupdated write fupdated; |
point updated after... (tri-state)
![]() |
property UpdatedDate: tdatetime read fupdateddate write fupdateddate; |
date for point updated
![]() |
property LastFound: integer read flastfound write flastfound; |
last-found date after... (tri-state)
![]() |
property LastFoundDate: tdatetime read flastfounddate write flastfounddate; |
date for point last-found
![]() |
property Found: integer read ffoundd write ffoundd; |
you found this point after... (tri-state)
![]() |
property FoundDate: tdatetime read ffoundddate write ffoundddate; |
date for point found
![]() |
property DCreated: integer read fdcreated write fdcreated; |
point is created within last days... (tri-state)
![]() |
property DCreatedDays: integer read fdcreateddays write fdcreateddays; |
days number for point created
![]() |
property DUpdated: integer read fdupdated write fdupdated; |
point is updated within last days... (tri-state)
![]() |
property DUpdatedDays: integer read fdupdateddays write fdupdateddays; |
days number for point updated
![]() |
property DLastFound: integer read fdlastfound write fdlastfound; |
point have last-found within last days... (tri-state)
![]() |
property DLastFoundDays: integer read fdlastfounddays write fdlastfounddays; |
days number for point last-found
![]() |
property DFound: integer read fdfound write fdfound; |
point is found by you within last days... (tri-state)
![]() |
property DFoundDays: integer read fdfounddays write fdfounddays; |
days number for found
![]() |
property Distance: integer read fdistance write fdistance; |
point is within distance from the reference point (tri-state)
![]() |
property DistanceValue: double read fdistancevalue write fdistancevalue; |
Distance from the reference point (in the km)
![]() |
property EmptyCoord: integer read femptycoord write femptycoord; |
point have empty coordinates (tri-state)
![]() |
property InCountry: integer read fincountry write fincountry; |
point is in the country (tri-state)
![]() |
property Country: string read fcountry write fcountry; |
Country name
![]() |
property InCountryState: integer read finstate write finstate; |
point is in the country-state (tri-state)
![]() |
property CountryState: string read fcountrystate write fcountrystate; |
Country-state name
![]() |
property WImported: integer read fwimported write fwimported; |
show imported waypoints (tri-state)
![]() |
property WEmptyCoord: integer read fwemptycoord write fwemptycoord; |
show waypoints with empty coordinates (tri-state)
![]() |
property WPolyCoord: boolean read fwpolycoord write fwpolycoord; |
show waypoints what matching polygon filter (tri-state)
![]() |
property WUpdated: integer read fwupdated write fwupdated; |
show waypoints what was updated after... (tri-state)
![]() |
property WUpdatedDate: TDateTime read fwupdateddate write fwupdateddate; |
Date value for WUpdated
![]() |
property WDUpdated: integer read fwdupdated write fwdupdated; |
show waypoints what was updated within last days... (tri-state)
![]() |
property WDUpdatedDays: integer read fwdupdateddays write fwdupdateddays; |
Days value for WDUpdated
![]() |
property HaveListing: integer read fhavelisting write fhavelisting; |
Point have a listing (tri-state)
![]() |
property HaveComment: integer read fhavecomment write fhavecomment; |
Point have a user comment (tri-state)
![]() |
property HaveAttach: integer read fhaveattach write fhaveattach; |
Point have an attachment (tri-state)
![]() |
property HaveFinal: integer read fhavefinal write fhavefinal; |
Point have an unempty final waypoint (tri-state)
![]() |
property WptKind: integer read Fwptkind write Fwptkind; |
Point must have at least one waypoint of WptNames type (tri-state)
![]() |
property WptImported: integer read fwptimported write fwptimported; |
Point have at least one imported waypoint (tri-state)
![]() |
property WptEmptyCoord: integer read fwptemptycoord write fwptemptycoord; |
Point have at least one waypoint with empty coordinates (tri-state)
![]() |
property InPoly: integer read finpoly write finpoly; |
Point is inside one of polygons specified at PolyName (tri-state)
![]() |
property PolyCorrected: boolean read fpolycorrected write fpolycorrected; |
Use corrected coordinates for polygon match
![]() |
property InRoute: integer read finroute write finroute; |
Point is near the one of routes specified at RouteName (tri-state)
![]() |
property RouteCorrected: boolean read froutecorrected write froutecorrected; |
Use corrected coordinates for route match
![]() |
property RouteDistance: double read froutedistance write froutedistance; |
Allowed point distance from the Route
![]() |
property InPoints: integer read finPoints write finPoints; |
Point is near the one of routes specified at RouteName (tri-state)
![]() |
property PointsCorrected: boolean read fPointscorrected write fPointscorrected; |
Use corrected coordinates for route match
![]() |
property PointsDistance: double read fPointsdistance write fPointsdistance; |
Allowed point distance from the Route