umap-project 3.1.2__py3-none-any.whl → 3.2.0__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.

Potentially problematic release.


This version of umap-project might be problematic. Click here for more details.

Files changed (151) hide show
  1. umap/__init__.py +1 -1
  2. umap/locale/en/LC_MESSAGES/django.po +21 -17
  3. umap/locale/fr/LC_MESSAGES/django.mo +0 -0
  4. umap/locale/fr/LC_MESSAGES/django.po +21 -17
  5. umap/management/commands/export_pictogram.py +29 -0
  6. umap/management/commands/migrate_to_S3.py +5 -1
  7. umap/management/commands/purge_old_versions.py +8 -6
  8. umap/settings/__init__.py +21 -0
  9. umap/settings/base.py +1 -0
  10. umap/static/umap/content.css +7 -2
  11. umap/static/umap/css/icon.css +77 -3
  12. umap/static/umap/css/panel.css +31 -1
  13. umap/static/umap/js/modules/browser.js +1 -1
  14. umap/static/umap/js/modules/data/features.js +14 -29
  15. umap/static/umap/js/modules/data/layer.js +248 -136
  16. umap/static/umap/js/modules/facets.js +2 -2
  17. umap/static/umap/js/modules/form/fields.js +56 -19
  18. umap/static/umap/js/modules/formatter.js +36 -8
  19. umap/static/umap/js/modules/importers/opendata.js +23 -6
  20. umap/static/umap/js/modules/managers.js +59 -0
  21. umap/static/umap/js/modules/rendering/icon.js +3 -5
  22. umap/static/umap/js/modules/rendering/layers/classified.js +8 -7
  23. umap/static/umap/js/modules/rendering/map.js +1 -1
  24. umap/static/umap/js/modules/rendering/ui.js +13 -0
  25. umap/static/umap/js/modules/rules.js +76 -23
  26. umap/static/umap/js/modules/schema.js +3 -0
  27. umap/static/umap/js/modules/slideshow.js +1 -1
  28. umap/static/umap/js/modules/sync/updaters.js +1 -6
  29. umap/static/umap/js/modules/tableeditor.js +13 -37
  30. umap/static/umap/js/modules/templates.js +7 -6
  31. umap/static/umap/js/modules/ui/panel.js +7 -0
  32. umap/static/umap/js/modules/umap.js +17 -6
  33. umap/static/umap/js/modules/utils.js +8 -7
  34. umap/static/umap/locale/am_ET.js +43 -6
  35. umap/static/umap/locale/am_ET.json +43 -6
  36. umap/static/umap/locale/ar.js +43 -6
  37. umap/static/umap/locale/ar.json +43 -6
  38. umap/static/umap/locale/ast.js +43 -6
  39. umap/static/umap/locale/ast.json +43 -6
  40. umap/static/umap/locale/bg.js +43 -6
  41. umap/static/umap/locale/bg.json +43 -6
  42. umap/static/umap/locale/br.js +30 -26
  43. umap/static/umap/locale/br.json +30 -26
  44. umap/static/umap/locale/ca.js +50 -13
  45. umap/static/umap/locale/ca.json +50 -13
  46. umap/static/umap/locale/cs_CZ.js +43 -6
  47. umap/static/umap/locale/cs_CZ.json +43 -6
  48. umap/static/umap/locale/da.js +10 -6
  49. umap/static/umap/locale/da.json +10 -6
  50. umap/static/umap/locale/de.js +10 -6
  51. umap/static/umap/locale/de.json +10 -6
  52. umap/static/umap/locale/el.js +20 -10
  53. umap/static/umap/locale/el.json +20 -10
  54. umap/static/umap/locale/en.js +10 -6
  55. umap/static/umap/locale/en.json +10 -6
  56. umap/static/umap/locale/en_US.json +43 -6
  57. umap/static/umap/locale/es.js +10 -6
  58. umap/static/umap/locale/es.json +10 -6
  59. umap/static/umap/locale/et.js +43 -6
  60. umap/static/umap/locale/et.json +43 -6
  61. umap/static/umap/locale/eu.js +43 -6
  62. umap/static/umap/locale/eu.json +43 -6
  63. umap/static/umap/locale/fa_IR.js +43 -6
  64. umap/static/umap/locale/fa_IR.json +43 -6
  65. umap/static/umap/locale/fi.js +43 -6
  66. umap/static/umap/locale/fi.json +43 -6
  67. umap/static/umap/locale/fr.js +10 -6
  68. umap/static/umap/locale/fr.json +10 -6
  69. umap/static/umap/locale/gl.js +43 -6
  70. umap/static/umap/locale/gl.json +43 -6
  71. umap/static/umap/locale/he.js +43 -6
  72. umap/static/umap/locale/he.json +43 -6
  73. umap/static/umap/locale/hr.js +43 -6
  74. umap/static/umap/locale/hr.json +43 -6
  75. umap/static/umap/locale/hu.js +34 -24
  76. umap/static/umap/locale/hu.json +34 -24
  77. umap/static/umap/locale/id.js +43 -6
  78. umap/static/umap/locale/id.json +43 -6
  79. umap/static/umap/locale/is.js +43 -6
  80. umap/static/umap/locale/is.json +43 -6
  81. umap/static/umap/locale/it.js +10 -6
  82. umap/static/umap/locale/it.json +10 -6
  83. umap/static/umap/locale/ja.js +43 -6
  84. umap/static/umap/locale/ja.json +43 -6
  85. umap/static/umap/locale/ko.js +43 -6
  86. umap/static/umap/locale/ko.json +43 -6
  87. umap/static/umap/locale/lt.js +43 -6
  88. umap/static/umap/locale/lt.json +43 -6
  89. umap/static/umap/locale/ms.js +43 -6
  90. umap/static/umap/locale/ms.json +43 -6
  91. umap/static/umap/locale/nl.js +10 -6
  92. umap/static/umap/locale/nl.json +10 -6
  93. umap/static/umap/locale/no.js +43 -6
  94. umap/static/umap/locale/no.json +43 -6
  95. umap/static/umap/locale/pl.js +43 -6
  96. umap/static/umap/locale/pl.json +43 -6
  97. umap/static/umap/locale/pl_PL.json +43 -6
  98. umap/static/umap/locale/pt.js +43 -6
  99. umap/static/umap/locale/pt.json +43 -6
  100. umap/static/umap/locale/pt_BR.js +53 -16
  101. umap/static/umap/locale/pt_BR.json +53 -16
  102. umap/static/umap/locale/pt_PT.js +43 -6
  103. umap/static/umap/locale/pt_PT.json +43 -6
  104. umap/static/umap/locale/ro.js +43 -6
  105. umap/static/umap/locale/ro.json +43 -6
  106. umap/static/umap/locale/ru.js +43 -6
  107. umap/static/umap/locale/ru.json +43 -6
  108. umap/static/umap/locale/sk_SK.js +43 -6
  109. umap/static/umap/locale/sk_SK.json +43 -6
  110. umap/static/umap/locale/sl.js +43 -6
  111. umap/static/umap/locale/sl.json +43 -6
  112. umap/static/umap/locale/sr.js +43 -6
  113. umap/static/umap/locale/sr.json +43 -6
  114. umap/static/umap/locale/sv.js +43 -6
  115. umap/static/umap/locale/sv.json +43 -6
  116. umap/static/umap/locale/th_TH.js +43 -6
  117. umap/static/umap/locale/th_TH.json +43 -6
  118. umap/static/umap/locale/tr.js +43 -6
  119. umap/static/umap/locale/tr.json +43 -6
  120. umap/static/umap/locale/uk_UA.js +43 -6
  121. umap/static/umap/locale/uk_UA.json +43 -6
  122. umap/static/umap/locale/vi.js +43 -6
  123. umap/static/umap/locale/vi.json +43 -6
  124. umap/static/umap/locale/vi_VN.json +43 -6
  125. umap/static/umap/locale/zh.js +43 -6
  126. umap/static/umap/locale/zh.json +43 -6
  127. umap/static/umap/locale/zh_CN.json +43 -6
  128. umap/static/umap/locale/zh_TW.Big5.json +43 -6
  129. umap/static/umap/locale/zh_TW.js +43 -6
  130. umap/static/umap/locale/zh_TW.json +43 -6
  131. umap/static/umap/map.css +239 -65
  132. umap/static/umap/vendors/betterknown/betterknown.mjs +287 -0
  133. umap/storage/fs.py +3 -2
  134. umap/templates/base.html +4 -1
  135. umap/tests/base.py +9 -1
  136. umap/tests/integration/test_basics.py +1 -1
  137. umap/tests/integration/test_conditional_rules.py +62 -20
  138. umap/tests/integration/test_edit_datalayer.py +1 -1
  139. umap/tests/integration/test_edit_marker.py +1 -1
  140. umap/tests/integration/test_export_map.py +10 -0
  141. umap/tests/integration/test_import.py +140 -0
  142. umap/tests/integration/test_optimistic_merge.py +72 -12
  143. umap/tests/integration/test_tableeditor.py +6 -3
  144. umap/utils.py +33 -0
  145. umap/views.py +16 -2
  146. umap_project-3.2.0.dist-info/METADATA +76 -0
  147. {umap_project-3.1.2.dist-info → umap_project-3.2.0.dist-info}/RECORD +150 -148
  148. umap_project-3.1.2.dist-info/METADATA +0 -68
  149. {umap_project-3.1.2.dist-info → umap_project-3.2.0.dist-info}/WHEEL +0 -0
  150. {umap_project-3.1.2.dist-info → umap_project-3.2.0.dist-info}/entry_points.txt +0 -0
  151. {umap_project-3.1.2.dist-info → umap_project-3.2.0.dist-info}/licenses/LICENSE +0 -0
@@ -16,7 +16,6 @@
16
16
  "Activate slideshow mode": "開啟幻燈片模式",
17
17
  "Add a layer": "新增圖層",
18
18
  "Add a line to the current multi": "新增線段",
19
- "Add a new property": "新增屬性",
20
19
  "Add a polygon to the current multi": "新增多邊形",
21
20
  "Add image URL": "新增圖片URL",
22
21
  "Advanced actions": "進階動作",
@@ -29,7 +28,6 @@
29
28
  "Animated transitions": "動畫轉換",
30
29
  "Are you sure you want to clone this map and all its datalayers?": "您確定要複製此地圖及所有資料圖層?",
31
30
  "Are you sure you want to delete this map?": "您確定要刪除此地圖?",
32
- "Are you sure you want to delete this property on all the features?": "您確定要刪除所有圖徵中的此項屬性?",
33
31
  "Are you sure you want to restore this version?": "您確定要回復此一版本嗎?",
34
32
  "Attach the map to my account": "將地圖加入到我的帳號",
35
33
  "attribution": "表彰",
@@ -157,7 +155,6 @@
157
155
  "Format": "格式",
158
156
  "From zoom": "由縮放大小",
159
157
  "full backup": " 完全備份",
160
- "Generic": "一般常用符號",
161
158
  "GeoRSS (only link)": "GeoRSS (只有連結)",
162
159
  "GeoRSS (title + image)": "GeoRSS (標題與圖片)",
163
160
  "Go to \"{coords}\"": "去 \"{coords}\"",
@@ -273,7 +270,6 @@
273
270
  "Please be sure the licence is compliant with your use.": "請再次確認所選的授權方式符合您的需求",
274
271
  "Please choose a format": "請選擇地圖格式",
275
272
  "Please enter the name of the property": "請輸入物件名稱",
276
- "Please enter the new name of this property": "請輸入新的物件名稱",
277
273
  "Please save the map first": "請先儲存地圖",
278
274
  "Popup (large)": "彈出式視窗 (大)",
279
275
  "Popup content style": "彈出式視窗内容樣式",
@@ -406,7 +402,6 @@
406
402
  "Until": "至",
407
403
  "Example: key1,key2|Label 2,key3|Label 3|checkbox": "例如:key1,key2|Label 2,key3|Label 3|checkbox",
408
404
  "Edit in OpenStreetMap": "在開放街圖編輯",
409
- "Cannot determine latitude and longitude columns.": "無法決定緯度與經度欄。",
410
405
  "Back to layers": "回到圖層",
411
406
  "Filters": "篩選",
412
407
  "Comma separated list of properties to use when filtering features by text input": "逗號分隔清單的屬性,用在文字輸入時篩選用途",
@@ -543,5 +538,47 @@
543
538
  "Back to list": "Back to list",
544
539
  "Toggle rule": "Toggle rule",
545
540
  "Delete rule": "Delete rule",
546
- "Cannot save layer, please try again in a few minutes.": "Cannot save layer, please try again in a few minutes."
541
+ "Cannot save layer, please try again in a few minutes.": "Cannot save layer, please try again in a few minutes.",
542
+ "Activate collaborative live editing on this map. Other users must reload the map after changing this setting.": "Activate collaborative live editing on this map. Other users must reload the map after changing this setting.",
543
+ "More help resources": "More help resources",
544
+ "This map is a template": "This map is a template",
545
+ "Add text along path": "Add text along path",
546
+ "Text color": "Text color",
547
+ "Text offset": "Text offset",
548
+ "Text position": "Text position",
549
+ "start": "start",
550
+ "center": "center",
551
+ "end": "end",
552
+ "Text repeat": "Text repeat",
553
+ "Text rotate": "Text rotate",
554
+ "Text size": "Text size",
555
+ "Load map template": "Load map template",
556
+ "My templates": "My templates",
557
+ "From staff": "From staff",
558
+ "From community": "From community",
559
+ "You must select a template.": "You must select a template.",
560
+ "Line decoration": "Line decoration",
561
+ "Reuse this template": "Reuse this template",
562
+ "Create a new map using this template": "Create a new map using this template",
563
+ "Save template": "Save template",
564
+ "Load template": "Load template",
565
+ "Loading a template will apply predefined styles and settings to your map": "Loading a template will apply predefined styles and settings to your map",
566
+ "Load template with data": "Load template with data",
567
+ "You have no registered template yet. You can add one by creating a new map and flagging it as \"template\".": "You have no registered template yet. You can add one by creating a new map and flagging it as \"template\".",
568
+ "There is no recommended template yet. Recommended templates are the ones starred by uMap administrators.": "There is no recommended template yet. Recommended templates are the ones starred by uMap administrators.",
569
+ "There is no public template yet.": "There is no public template yet.",
570
+ "Explore": "Explore",
571
+ "Import data from public open data portals": "Import data from public open data portals",
572
+ "Choose a portal": "Choose a portal",
573
+ "Limit results to current map view": "Limit results to current map view",
574
+ "Please choose an instance first.": "Please choose an instance first.",
575
+ "No geo column found: must be either `lat(itude)` and `lon(gitude)` or `geom(etry)`.": "No geo column found: must be either `lat(itude)` and `lon(gitude)` or `geom(etry)`.",
576
+ "Add a new field": "Add a new field",
577
+ "Are you sure you want to delete this field on all the features?": "Are you sure you want to delete this field on all the features?",
578
+ "Please enter the new name of this field": "Please enter the new name of this field",
579
+ "Cannot process MultiPoint": "Cannot process MultiPoint",
580
+ "Manage Fields": "Manage Fields",
581
+ "Rename this field": "Rename this field",
582
+ "Delete this field": "Delete this field",
583
+ "Double click to edit the name": "Double click to edit the name"
547
584
  }