Merge pull request #7 from cpesch/master
need to access OsmPathElement when iterating over result set
This commit is contained in:
commit
e88465f5ec
2 changed files with 10 additions and 9 deletions
|
@ -1,18 +1,19 @@
|
||||||
/**
|
|
||||||
* Container for link between two Osm nodes
|
|
||||||
*
|
|
||||||
* @author ab
|
|
||||||
*/
|
|
||||||
package btools.router;
|
package btools.router;
|
||||||
|
|
||||||
|
import btools.mapaccess.OsmNode;
|
||||||
|
import btools.mapaccess.OsmPos;
|
||||||
|
|
||||||
import java.io.DataInput;
|
import java.io.DataInput;
|
||||||
import java.io.DataOutput;
|
import java.io.DataOutput;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
import btools.mapaccess.OsmNode;
|
/**
|
||||||
import btools.mapaccess.OsmPos;
|
* Container for link between two Osm nodes
|
||||||
|
*
|
||||||
|
* @author ab
|
||||||
|
*/
|
||||||
|
|
||||||
final class OsmPathElement implements OsmPos
|
public final class OsmPathElement implements OsmPos
|
||||||
{
|
{
|
||||||
private int ilat; // latitude
|
private int ilat; // latitude
|
||||||
private int ilon; // longitude
|
private int ilon; // longitude
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -137,7 +137,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
<version>4.12</version>
|
<version>4.11</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
Loading…
Reference in a new issue