Commit 0ece44a4 authored by Jesse Mapel's avatar Jesse Mapel Committed by jlaura
Browse files

Fixed config issue with dem (#339)

parent e16c3b46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -659,7 +659,7 @@ class NetworkNode(Node):
            else:
                boundary = generate_boundary(self.geodata.raster_size[::-1])  # yx to xy
                try:
                    geodata = GeoDataset(spatial.get('dem'))
                    geodata = GeoDataset(config['spatial']['dem'])
                except Exception as e:
                    warnings.warn('Unable to get the Geodata from dem.\n{}'.format(e))
                    geodata = 0.0