Class for manipulating GeographicMap data.
Warning
This module is unstable and still evolving. It will probably end up residing in some other package.
GeoMap provides an internal geographic_msgs/GeographicMap representation.
Parameters: | gmap – geographic_msgs/GeographicMap message. |
---|
Returns: | geographic_msgs/BoundingBox from the geographic_msgs/GeographicMap message. |
---|
Returns: | std_msgs/Header from the geographic_msgs/GeographicMap message. |
---|
GeoMapFeatures provides a filtering iterator for the features in a osm_cartography.geo_map.GeoMap.
Parameters: | geomap – GeoMap object. |
---|
GeoMapFeatures provides these standard container operations:
Returns : | The number of points in the set. |
---|
Returns : | The point with key uuid. Raises a KeyError if uuid is not in the set. |
---|
Returns : | True if features has a key uuid, else False. |
---|
Equivalent to not uuid in features.
Returns : | An iterator over all the features. This is a shortcut for iterkeys(). |
---|
Example:
gm = GeoMap(msg)
gf = GeoMapFeatures(gm)
for feat in gf:
print str(feat)