Package org.ka2ddo.yaac.osm

This package contains classes for reading, decoding, writing, and optimizing OpenStreetMap map information for convenient and efficient use by YAAC.

See:
          Description

Interface Summary
AmenityOrWay This interface identifies an OSM enumeration whose individual values could be amenities or ways, depending on the specific values.
MaybeArea This interface specifies a method by which OSM attribute enums that may (but do not always) imply that the specified Way is an area, can specifically indicate whether this particular value of the enum implies an area.
OsmSearcherProgressListener This interface defines a means by which a user of OsmSearcher can be informed of the progress of a search, and optionally pre-maturely abort a search.
QuantityUnitMeasure<T extends Enum> This interface tags a class that contains a magnitude value and unit thereof.
VisibleEnum Interface to be applied to enum types to specify whether instances of the enum control the visibility of the tagged objects.
 

Class Summary
ChangeSet This class contains the data extracted from a OSM changeset record.
GenericTaggedNode<T extends GenericTaggedNode> Abstract class describing common attributes of a OSM dataset object.
GTNWrapper This class wraps a OpenStreetMap record (way or node) found by the OsmSearcher to conveniently provide its position and distance from the map center so the GUI can sort it in with other search results.
Length This class defines a compound object containing a length, width, or height value and the unit of length.
Member This class represents Member sub-tags of a Relation element of a OSM file.
Node This class represents a Node element of an OSM file.
OsmSearcher This class provides a standardized mechanism to search the imported OSM tiles for a landmark matching the specified name string.
OsmXmlSegmenter This class parses an OpenStreetMaps compressed XML file into a series of one-degree "square" tiles of map data, stored in a compact binary format suitable for efficient and fast rendering.
Relation This class represents a Relation element of an OSM file.
Speed This class defines a compound object containing a speed value and the units of speed.
Way This class implements a Way element of an OSM file.
Weight This class defines a compound object containing a weight value and the unit of weight.
YAACEnumMap This class implements a fast access map keyed by the values of a particular enumeration.
 

Enum Summary
Aeroway Supported types of the OSM aeroway="*" attribute.
AmenityCategory Enum of the categorizations for different types of amenities.
AmenityType This enumeration defines the well-known type names for the OSM attributes "amenity", "office", and "shop".
BorderType This enum defines the supported values of the border_type="*" attribute of OSM.
Boundary Supported types of the OSM boundary="*" attribute.
Highway Supported types of the OSM highway="*" attribute.
LandUse This enum defines the supported values of the landuse="*" attribute in OSM.
Leisure This enum defines the commonly-used values of the leisure="*" attribute of OSM.
Man_Made This enum describes the supported types of man_made objects described in OSM.
Natural This enums defines the supported types of natural structures defined by OSM.
OSMLayerEnum This enum identifies the information that will be stored in *.nodes and *.ways files by the OsmXmlSegmenter for use by OSMLayer.
Place Supported types of the OSM place="*" attribute.
Power This enum describes the supported values for the power="*" attribute of OSM, representing types of electrical utility transmission network components.
Railway Supported types of the OSM railway="*" attribute.
Religion Supported types of the OSM religion="*" attribute.
SupportedTagKeys This enum defines the names of OpenStreetMap tags the OSMLayer renderer might care about, which therefore should be saved in the imported tile files.
Tourism Supported types of the OSM tourism="*" attribute.
Waterway Supported types of the OSM waterway="*" attribute.
WayType This enumeration lists all the supported categories of Ways that can be rendered on the map.
 

Package org.ka2ddo.yaac.osm Description

This package contains classes for reading, decoding, writing, and optimizing OpenStreetMap map information for convenient and efficient use by YAAC. The OpenStreetMap database is made available in a compressed XML file, which is not efficient for random location rendering, so YAAC compiles the XML into a proprietary binary storage format, discarding all information not necessary for actual map rendering. The Way and Node classes are the in-memory representations of the basic OpenStreetMap data structures rendered on maps by the OSMLayer graphical widget.