cartography 0.10.0

Cartography is a map rendering library for Geographic features expressed using [georust](https://georust.org/) libraries.
Documentation
//! OSM feature type

use crate::GeometryRef;

/// A single OSM feature with an id, geometry, and tags.
pub struct OsmFeature
{
  /// The OSM element id
  pub id: i64,
  /// The geometry of the feature
  pub geometry: geo::Geometry,
  /// The tags of the feature as key-value pairs
  pub tags: Vec<(String, String)>,
}

impl GeometryRef for OsmFeature
{
  fn geometry_ref(&self) -> &geo::Geometry
  {
    &self.geometry
  }
}