public class OSMSpecifier extends Object
Constructor and Description |
---|
OSMSpecifier() |
OSMSpecifier(String spec) |
Modifier and Type | Method and Description |
---|---|
void |
addTag(String key,
String value) |
int |
matchScore(OSMWithTags match)
Calculates a score expressing how well an OSM entity's tags match this specifier.
|
P2<Integer> |
matchScores(OSMWithTags match)
Calculates a pair of scores expressing how well an OSM entity's tags match this specifier.
|
void |
setKvpairs(String spec) |
String |
toString() |
public OSMSpecifier()
public OSMSpecifier(String spec)
public void setKvpairs(String spec)
public P2<Integer> matchScores(OSMWithTags match)
match
- an OSM tagged object to compare to this specifierpublic int matchScore(OSMWithTags match)
Copyright © 2019. All rights reserved.