-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.50..v0.2.51 changeset Map.java
Garret Voltz edited this page Jan 15, 2020
·
1 revision
diff --git a/hoot-services/src/main/java/hoot/services/models/osm/Map.java b/hoot-services/src/main/java/hoot/services/models/osm/Map.java
index e88493e..a3eb009 100644
--- a/hoot-services/src/main/java/hoot/services/models/osm/Map.java
+++ b/hoot-services/src/main/java/hoot/services/models/osm/Map.java
@@ -645,8 +645,10 @@ public class Map extends Maps {
} else {
mapLayer.setLastAccessed(MapLayer.format.format(mapLayerRecord.getCreatedAt()));
}
- mapLayer.setGrail(tags.get("grail") != null && tags.get("grail").equals("true"));
-
+ mapLayer.setGrailMerged(tags.get("grailMerged") != null && tags.get("grailMerged").equals("true"));
+ mapLayer.setGrailReference(tags.get("grailReference") != null && tags.get("grailReference").equals("true"));
+ //add bbox if used to create layer
+ if (tags.get("bbox") != null) mapLayer.setBbox(tags.get("bbox"));
mapLayerList.add(mapLayer);
}