|
|
@@ -120,7 +120,7 @@ impl<'a> Node<'a> {
|
|
120
|
120
|
/// An OpenStreetMap way element (See [OSM wiki](http://wiki.openstreetmap.org/wiki/Way)).
|
|
121
|
121
|
///
|
|
122
|
122
|
/// A way contains an ordered list of node references that can be accessed with the `refs` or the
|
|
123
|
|
-/// `refs_slice` method.
|
|
|
123
|
+/// `raw_refs` method.
|
|
124
|
124
|
#[derive(Clone, Debug)]
|
|
125
|
125
|
pub struct Way<'a> {
|
|
126
|
126
|
block: &'a PrimitiveBlock,
|
|
|
@@ -184,8 +184,8 @@ impl<'a> Way<'a> {
|
|
184
|
184
|
}
|
|
185
|
185
|
}
|
|
186
|
186
|
|
|
187
|
|
- /// Returns a slice of references. Each reference should correspond to a node id.
|
|
188
|
|
- pub fn refs_slice(&self) -> &[i64] {
|
|
|
187
|
+ /// Returns a slice of delta coded node ids.
|
|
|
188
|
+ pub fn raw_refs(&self) -> &[i64] {
|
|
189
|
189
|
self.osmway.get_refs()
|
|
190
|
190
|
}
|
|
191
|
191
|
|