Changeset 37f674d for src/common/gnuboat_common/spatial/tilegenerator.py
- Timestamp:
- Apr 5, 2020, 9:54:06 AM (7 years ago)
- Branches:
- debian/bullseye, master
- Children:
- be923cd
- Parents:
- 1a7f9da
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/common/gnuboat_common/spatial/tilegenerator.py
r1a7f9da r37f674d 108 108 109 109 def from_dict(dictionary): 110 if dictionary is None: 111 return None 110 112 return LngLatBbox(dictionary['west'], dictionary['south'], dictionary['east'], dictionary['north']) 111 113 … … 139 141 140 142 def from_dict(dictionary): 143 if dictionary is None: 144 return None 141 145 return RasterSlice(LngLatBbox.from_dict(dictionary['lng_lat_box']), ZoomRange.from_dict(dictionary['zoom_range']), dictionary['tile_size'], dictionary['grid_width'], dictionary['grid_height']) 142 146
Note:
See TracChangeset
for help on using the changeset viewer.
