Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feature--#349-list-countries' in…
Browse files Browse the repository at this point in the history
…to feature--#349-list-countries

# Conflicts:
#	openrouteservice/src/main/java/heigit/ors/routing/graphhopper/extensions/storages/builders/BordersGraphStorageBuilder.java
  • Loading branch information
Julian Psotta committed May 20, 2019
2 parents 7013b5f + 6ba8c30 commit 099c75e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ public static int getFromString(String value) {
case "countryinfo":
res |= CountryInfo;
break;
case "countryinfo":
res |= CountryInfo;
break;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ public void processEdge(ReaderWay way, EdgeIteratorState edge) {
try {
start = Short.parseShort(cbReader.getId(startVal));
end = Short.parseShort(cbReader.getId(endVal));
} catch (Exception ex) {
LOGGER.info("Skipping country borders for edge: " + edge.getEdge());
} catch (Exception ignore) {
} finally {
if (start != end) {
type = (cbReader.isOpen(cbReader.getEngName(startVal), cbReader.getEngName(endVal))) ? (short) 2 : (short) 1;
Expand Down

0 comments on commit 099c75e

Please sign in to comment.