Skip to content

Commit

Permalink
Merge pull request #10235 from gem/mosaic
Browse files Browse the repository at this point in the history
Using mosaic.geojson
  • Loading branch information
micheles authored Dec 19, 2024
2 parents b6b6989 + 2940394 commit 23817cd
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openquake/commonlib/readinput.py
Original file line number Diff line number Diff line change
Expand Up @@ -1714,8 +1714,8 @@ def read_mosaic_df(buffer):
return read_geometries(fname, 'name', buffer)
'''
fname = os.path.join(os.path.dirname(mosaic.__file__),
'ModelBoundaries.shp')
return read_geometries(fname, 'code', buffer)
'mosaic.geojson')
return read_geometries(fname, 'name', buffer)


def read_countries_df(buffer=0.1):
Expand Down
Loading

0 comments on commit 23817cd

Please sign in to comment.