Class Helper
java.lang.Object
org.openstreetmap.josm.plugins.mapathoner.Helper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
that_building
(org.openstreetmap.josm.data.osm.Way w, double is_squared_threshold, double maybe_squared_threshold, double is_rounded_threshold, double maybe_rounded_threshold) Decide if the building is squared or rounded.
-
Constructor Details
-
Helper
public Helper()
-
-
Method Details
-
that_building
public static int that_building(org.openstreetmap.josm.data.osm.Way w, double is_squared_threshold, double maybe_squared_threshold, double is_rounded_threshold, double maybe_rounded_threshold) Decide if the building is squared or rounded. Returns 1 for is rounded, 2 for is squared, 3 for should be rounded, 4 for should be squared. Returns 0 otherwise. This function is inspired by Peculiar Theater's josm-scripts.
-