osm-to-euroscope

A tool to generate Radar Screens from OSM Data
git clone git://archive.git.mtrnord.blog/MTRNord/osm-to-euroscope.git
Log | Files | Refs | README | LICENSE

types.rs (359B)


      1 #[derive(Copy, Clone, Debug, PartialOrd, PartialEq)]
      2 pub(crate) struct LatLon {
      3     pub(crate) lat: f64,
      4     pub(crate) lon: f64,
      5 }
      6 
      7 #[derive(Copy, Clone, Debug, PartialOrd, PartialEq)]
      8 pub(crate) struct Node {
      9     pub(crate) id: i64,
     10     pub(crate) lat: f64,
     11     pub(crate) lon: f64,
     12 }
     13 
     14 pub(crate) type Coords = Vec<LatLon>;
     15 pub(crate) type Refs = Vec<i64>;