ssb-sgis 1.2.8__py3-none-any.whl → 1.2.9__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
sgis/maps/wms.py CHANGED
@@ -132,7 +132,7 @@ class NorgeIBilderWms(WmsLoader):
132
132
 
133
133
  all_tiles.append(this_tile)
134
134
 
135
- self.tiles = sorted(all_tiles, key=lambda x: x["year"])
135
+ self.tiles = sorted(all_tiles, key=lambda x: (x["year"]))
136
136
 
137
137
  masks = self._get_norge_i_bilder_polygon_masks(verbose=verbose)
138
138
  for tile in self.tiles:
@@ -296,14 +296,13 @@ class NorgeIBilderWms(WmsLoader):
296
296
  def __post_init__(self) -> None:
297
297
  """Fix typings."""
298
298
  if self.contains and isinstance(self.contains, str):
299
- self.contains = [self.contains.lower()]
299
+ self.contains = [self.contains]
300
300
  elif self.contains:
301
- self.contains = [x.lower() for x in self.contains]
302
-
301
+ self.contains = [x for x in self.contains]
303
302
  if self.not_contains and isinstance(self.not_contains, str):
304
- self.not_contains = [self.not_contains.lower()]
303
+ self.not_contains = [self.not_contains]
305
304
  elif self.not_contains:
306
- self.not_contains = [x.lower() for x in self.not_contains]
305
+ self.not_contains = [x for x in self.not_contains]
307
306
 
308
307
  self.years = [str(int(year)) for year in self.years]
309
308
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ssb-sgis
3
- Version: 1.2.8
3
+ Version: 1.2.9
4
4
  Summary: GIS functions used at Statistics Norway.
5
5
  Home-page: https://github.com/statisticsnorway/ssb-sgis
6
6
  License: MIT
@@ -36,7 +36,7 @@ sgis/maps/maps.py,sha256=fLK5WUlQ2YTm7t-8260lYxCFvpZN6j0Y-bVYCyv8NAY,23249
36
36
  sgis/maps/norge_i_bilder.json,sha256=G9DIN_2vyn-18UF5wUC-koZxFCbiNxMu0BbCJhMFJUk,15050340
37
37
  sgis/maps/thematicmap.py,sha256=Z3o_Bca0oty5Cn35pZfX5Qy52sXDVIMVSFD6IlZrovo,25111
38
38
  sgis/maps/tilesources.py,sha256=F4mFHxPwkiPJdVKzNkScTX6xbJAMIUtlTq4mQ83oguw,1746
39
- sgis/maps/wms.py,sha256=oB7jeE3rSRhM-xz7t95hFLjtuG18mw7CV4wNx6IuBes,12001
39
+ sgis/maps/wms.py,sha256=jQGF7na-IruG7FF3nHzvZB0BkdkhiWRRwfhkkx4aWkU,11970
40
40
  sgis/networkanalysis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
41
  sgis/networkanalysis/_get_route.py,sha256=dMX4Vm6O90ISIZPjQWuZMVMuEubkeSdC2osMCbFvrRU,7750
42
42
  sgis/networkanalysis/_od_cost_matrix.py,sha256=zkyPX7ObT996ahaFJ2oI0D0SqQWbWyfy_qLtXwValPg,3434
@@ -61,7 +61,7 @@ sgis/raster/indices.py,sha256=efJmgfPg_VuSzXFosXV661IendF8CwPFWtMhyP4TMUg,222
61
61
  sgis/raster/regex.py,sha256=4idTJ9vFtsGtbxcjJrx2VrpJJuDMP3bLdqF93Vc_cmY,3752
62
62
  sgis/raster/sentinel_config.py,sha256=nySDqn2R8M6W8jguoBeSAK_zzbAsqmaI59i32446FwY,1268
63
63
  sgis/raster/zonal.py,sha256=D4Gyptw-yOLTCO41peIuYbY-DANsJCG19xXDlf1QAz4,2299
64
- ssb_sgis-1.2.8.dist-info/LICENSE,sha256=np3IfD5m0ZUofn_kVzDZqliozuiO6wrktw3LRPjyEiI,1073
65
- ssb_sgis-1.2.8.dist-info/METADATA,sha256=3bsjQU53D8bZVZ7J2VgZDeUeB0wP6hhnXJBKsvLz18M,11740
66
- ssb_sgis-1.2.8.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
67
- ssb_sgis-1.2.8.dist-info/RECORD,,
64
+ ssb_sgis-1.2.9.dist-info/LICENSE,sha256=np3IfD5m0ZUofn_kVzDZqliozuiO6wrktw3LRPjyEiI,1073
65
+ ssb_sgis-1.2.9.dist-info/METADATA,sha256=yFVJtJkPtMRAxhQc10C0urtlsr6SNkjQkaBeFlCdZ88,11740
66
+ ssb_sgis-1.2.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
67
+ ssb_sgis-1.2.9.dist-info/RECORD,,