@opengis/gis 0.2.206 → 0.2.208

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.
Files changed (166) hide show
  1. package/README.md +181 -181
  2. package/dist/{CardIcon-Das_4-zP.js → CardIcon-iGo8QJu9.js} +1 -1
  3. package/dist/{EntityTablePage-VnczwXQf.js → EntityTablePage-BiVoVAhN.js} +2 -2
  4. package/dist/{ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-CSmMFcSb.js → ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-BdL5cQgN.js} +1 -1
  5. package/dist/{MapSettings-DQ8UiQm3.js → MapSettings-CXqiYxV4.js} +2 -2
  6. package/dist/{MapToolbarRight.vue_vue_type_script_setup_true_lang-D1pkL5Zi.js → MapToolbarRight.vue_vue_type_script_setup_true_lang-BHCChxmg.js} +1 -1
  7. package/dist/{RastersTablePage-P5UlG30e.js → RastersTablePage-Dgk1wp3d.js} +2 -2
  8. package/dist/{cartocss-jQ06BuDY.js → cartocss-BIpgQU6F.js} +6 -6
  9. package/dist/{import-utils-BSzqf3hF.js → import-utils-CfXKgZFd.js} +1 -1
  10. package/dist/{index-Bbe7SAdS.js → index-CM_DTEUa.js} +49 -43
  11. package/dist/index.css +1 -1
  12. package/dist/index.js +1 -1
  13. package/dist/index.umd.cjs +48 -42
  14. package/dist/{raster-C9rmMnma.js → raster-D_vEBha8.js} +3 -3
  15. package/dist/{register-j_ATka3H.js → register-C5_Un1Ms.js} +3 -3
  16. package/dist/service-JN82JN81.js +3676 -0
  17. package/dist/{vs-datatable-Zl_KZIHN.js → vs-datatable--K-DxayK.js} +2 -2
  18. package/module/gis/cls/service_type.json +42 -42
  19. package/module/gis/form/gis.registers.form.json +127 -127
  20. package/module/test/map/addr.json +302 -302
  21. package/module/test/map/addr1.yml +23 -23
  22. package/module/test/select/address.str_id.sql +3 -3
  23. package/package.json +79 -79
  24. package/plugin.js +64 -64
  25. package/server/migrations/array_intersect.sql +13 -13
  26. package/server/migrations/cartocss.sql +27 -27
  27. package/server/migrations/group_list.sql +74 -74
  28. package/server/migrations/maps.sql +30 -30
  29. package/server/migrations/metadata.sql +415 -415
  30. package/server/migrations/ogc.sql +106 -106
  31. package/server/migrations/rasters.sql +265 -265
  32. package/server/migrations/services.sql +248 -247
  33. package/server/migrations/services_users_rel.sql +22 -22
  34. package/server/migrations/widgets.sql +20 -20
  35. package/server/plugins/crons.js +21 -21
  36. package/server/plugins/mapnik/funcs/checkRasterFile.js +107 -107
  37. package/server/plugins/mapnik/funcs/mapnik.js +151 -151
  38. package/server/plugins/mapnik/funcs/rootFolder.mjs +8 -8
  39. package/server/plugins/mapnik/map.proto +437 -437
  40. package/server/plugins/vite.js +74 -74
  41. package/server/routes/cartocss/cartocss.route.js +31 -31
  42. package/server/routes/cartocss/cartocss.route.test.js +78 -78
  43. package/server/routes/cartocss/cartocss.schema.js +76 -73
  44. package/server/routes/cartocss/functions/add.cartocss.js +39 -39
  45. package/server/routes/cartocss/functions/get.cartocss.js +57 -57
  46. package/server/routes/gis/functions/checkXML.js +107 -107
  47. package/server/routes/gis/functions/dashboard.js +24 -24
  48. package/server/routes/gis/gis.route.js +26 -26
  49. package/server/routes/gis/gis.route.test.js +33 -33
  50. package/server/routes/map/fonts/index.js +1933 -1933
  51. package/server/routes/map/functions/clearTiles.js +35 -35
  52. package/server/routes/map/functions/geojson.js +187 -187
  53. package/server/routes/map/functions/gis.convert.js +65 -65
  54. package/server/routes/map/functions/gis.icon.js +327 -327
  55. package/server/routes/map/functions/jsonData.js +206 -206
  56. package/server/routes/map/functions/layerList.js +144 -144
  57. package/server/routes/map/functions/map.js +122 -122
  58. package/server/routes/map/functions/mapCatalog.js +72 -72
  59. package/server/routes/map/functions/mapCatalogAttribute.js +53 -53
  60. package/server/routes/map/functions/mapFeatures.js +133 -133
  61. package/server/routes/map/functions/mapFormat.js +246 -246
  62. package/server/routes/map/functions/mapTiles.js +162 -162
  63. package/server/routes/map/functions/maps.js +15 -15
  64. package/server/routes/map/functions/marker_icon.js +43 -43
  65. package/server/routes/map/functions/parseGeoFile.js +85 -85
  66. package/server/routes/map/functions/pointHeight.js +51 -51
  67. package/server/routes/map/functions/vtile.js +174 -174
  68. package/server/routes/map/functions/vtile1.js +191 -191
  69. package/server/routes/map/map.route.js +283 -283
  70. package/server/routes/map/map.route.test.js +693 -693
  71. package/server/routes/map/map.schema.js +356 -356
  72. package/server/routes/map/pin/circle1.svg +76 -76
  73. package/server/routes/map/pin/circle2.svg +18 -18
  74. package/server/routes/map/pin/none.svg +12 -12
  75. package/server/routes/map/pin/pin.svg +14 -14
  76. package/server/routes/map/pin/pin1.svg +16 -16
  77. package/server/routes/map/pin/pin2.svg +7 -7
  78. package/server/routes/map/pin/pin3.svg +34 -34
  79. package/server/routes/map/pin/pin4.svg +14 -14
  80. package/server/routes/map/pin/pin5.svg +7 -7
  81. package/server/routes/map/pin/pin6.svg +12 -12
  82. package/server/routes/map/pin/pin7.svg +12 -12
  83. package/server/routes/mapnik/functions/cartoBounds.js +32 -32
  84. package/server/routes/mapnik/functions/clearTiles.js +103 -103
  85. package/server/routes/mapnik/functions/convertBoundToTile.js +27 -27
  86. package/server/routes/mapnik/functions/createXml.js +76 -76
  87. package/server/routes/mapnik/functions/createXmlMulti.js +72 -72
  88. package/server/routes/mapnik/functions/fileSearch.js +35 -35
  89. package/server/routes/mapnik/functions/fileStat.js +28 -28
  90. package/server/routes/mapnik/functions/pretile.js +138 -138
  91. package/server/routes/mapnik/functions/rasterInfo.js +66 -66
  92. package/server/routes/mapnik/functions/readDir.js +22 -22
  93. package/server/routes/mapnik/functions/rtile.js +164 -164
  94. package/server/routes/mapnik/functions/uploadRaster.js +152 -152
  95. package/server/routes/mapnik/functions/uploadXML.js +140 -140
  96. package/server/routes/mapnik/mapnik.route.js +102 -102
  97. package/server/routes/mapnik/mapnik.route.test.js +370 -370
  98. package/server/routes/mapnik/mapnik.schema.mjs +195 -195
  99. package/server/routes/mapnik.prefixless/functions/mapnikLogger.js +31 -31
  100. package/server/routes/mapnik.prefixless/functions/mapnikStat.js +21 -21
  101. package/server/routes/mapnik.prefixless/mapnik.prefixless.route.js +20 -20
  102. package/server/routes/mapnik.prefixless/mapnik.prefixless.route.test.js +91 -91
  103. package/server/routes/mapnik.prefixless/mapnik.prefixless.schema.mjs +27 -27
  104. package/server/routes/maps/functions/add.map.js +42 -42
  105. package/server/routes/maps/functions/del.map.js +17 -17
  106. package/server/routes/maps/functions/get.map.js +119 -119
  107. package/server/routes/maps/maps.route.js +58 -58
  108. package/server/routes/maps/maps.route.test.js +231 -231
  109. package/server/routes/maps/maps.schema.js +9 -9
  110. package/server/routes/metadata/functions/editMetadata.js +35 -35
  111. package/server/routes/metadata/functions/metadataXML.js +19 -19
  112. package/server/routes/metadata/metadata.route.js +26 -26
  113. package/server/routes/metadata/metadata.route.test.js +46 -46
  114. package/server/routes/metadata/metadata.schema.js +53 -53
  115. package/server/routes/ogc/functions/map.info.point.js +117 -117
  116. package/server/routes/ogc/ogc.route.js +21 -21
  117. package/server/routes/ogc/ogc.route.test.js +53 -53
  118. package/server/routes/ogc/ogc.schema.js +16 -16
  119. package/server/routes/permissions/functions/catalog.permissions.edit.js +20 -20
  120. package/server/routes/permissions/functions/catalog.permissions.js +12 -12
  121. package/server/routes/permissions/functions/get.permissions.js +59 -59
  122. package/server/routes/permissions/functions/gis.catalog.js +80 -80
  123. package/server/routes/permissions/permissions.route.js +35 -35
  124. package/server/routes/permissions/permissions.route.test.js +35 -35
  125. package/server/routes/permissions/permissions.schema.js +43 -43
  126. package/server/routes/registers/functions/add.registry.js +37 -37
  127. package/server/routes/registers/functions/classifiers.js +100 -100
  128. package/server/routes/registers/functions/columns.js +3 -3
  129. package/server/routes/registers/functions/content.type.js +9 -9
  130. package/server/routes/registers/functions/del.registry.js +14 -14
  131. package/server/routes/registers/functions/get.info.js +93 -93
  132. package/server/routes/registers/functions/getFilterSQLParametrized/formatValue.js +328 -328
  133. package/server/routes/registers/functions/getFilterSQLParametrized/getFilterQuery.js +126 -126
  134. package/server/routes/registers/functions/getFilterSQLParametrized/getRangeQuery.js +353 -353
  135. package/server/routes/registers/functions/getFilterSQLParametrized/index.js +81 -81
  136. package/server/routes/registers/functions/getTableColumnMeta.js +148 -148
  137. package/server/routes/registers/functions/gis.export.js +159 -159
  138. package/server/routes/registers/functions/gis.registry.js +71 -71
  139. package/server/routes/registers/functions/gis.registry.list.js +61 -61
  140. package/server/routes/registers/functions/gis.suggest.js +310 -310
  141. package/server/routes/registers/functions/handleRegistryRequest.js +178 -178
  142. package/server/routes/registers/functions/map.registry.js +87 -87
  143. package/server/routes/registers/registers.route.js +92 -92
  144. package/server/routes/registers/registers.route.test.js +173 -173
  145. package/server/routes/registers/registers.schema.js +276 -276
  146. package/server/routes/root.mjs +3 -3
  147. package/server/routes/services/functions/add.service.js +62 -62
  148. package/server/routes/services/functions/create.route.js +93 -93
  149. package/server/routes/services/functions/del.service.js +12 -12
  150. package/server/routes/services/functions/get.layer.geom.js +27 -27
  151. package/server/routes/services/functions/get.service.users.js +76 -76
  152. package/server/routes/services/functions/get.services.col.js +34 -34
  153. package/server/routes/services/functions/get.services.js +124 -124
  154. package/server/routes/services/functions/legend.auto.js +77 -77
  155. package/server/routes/services/services.route.js +76 -76
  156. package/server/routes/services/services.route.test.js +171 -171
  157. package/server/routes/services/services.schema.js +459 -459
  158. package/server/routes/widgets/functions/add.widget.js +38 -38
  159. package/server/routes/widgets/functions/del.widget.js +17 -17
  160. package/server/routes/widgets/functions/get.widget.js +41 -41
  161. package/server/routes/widgets/widgets.route.js +61 -61
  162. package/server/routes/widgets/widgets.route.test.js +144 -144
  163. package/server/routes/widgets/widgets.schema.js +24 -24
  164. package/server/shared/listFiles.js +14 -14
  165. package/utils.js +13 -13
  166. package/dist/service-DJAlc1rE.js +0 -3484
package/README.md CHANGED
@@ -1,181 +1,181 @@
1
- <!-- ![alt text](https://cdn.softpro.ua/data/npm/admin/opengis-admin.png) -->
2
-
3
- # @opengis/gis
4
-
5
- [![NPM version](https://img.shields.io/npm/v/@opengis/gis?style=plain)](https://www.npmjs.com/package/@opengis/gis)
6
- [![NPM last update](https://img.shields.io/npm/last-update/@opengis/gis?style=plain)]()
7
- [![NPM downloads](https://img.shields.io/npm/dw/@opengis/gis?style=plain)]()
8
- [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=plain)](http://standardjs.com/)
9
-
10
- Tools for mapping, geodata management, and integration into modern web services.
11
-
12
- ## Features
13
-
14
- **Core Platform Capabilities:**
15
-
16
- - **Web-based GIS Platform** – Access and manage geospatial data through a cloud-based environment.
17
- - **User & Admin Management** – Control access and permissions.
18
- - **No-Code Map Builder** – Create and configure web maps without programming skills.
19
- - **Configurable User Interface** – Customize map layout and widgets based on user needs.
20
- - **Admin Panel** – Centrally manage system settings, users, and datasets.
21
-
22
- **Visualization & Mapping:**
23
-
24
- - **Interactive Web Maps** – View and explore geographic data online.
25
- - **Map Catalog** – Access and manage a collection of thematic maps.
26
- - **Layer Management** – Control visibility and organization of map layers.
27
- - **Advanced Filtering** – Query and filter data based on attributes.
28
- - **Search Functionality** – Find objects by address, ID, or attributes.
29
- - **CartoCSS Styling** – Customize map appearance with flexible styling rules.
30
-
31
- **Raster Management:**
32
-
33
- - **Single Raster Support** – Upload, store, and visualize individual raster datasets.
34
- - **Multi-Raster VRT Builder** – Combine multiple raster files into a single virtual raster (VRT).
35
- - **Recursive Raster Processing** – Automatically build VRTs from nested folder structures.
36
- - **Raster Data Visualization** – Display raster layers alongside vector data on maps.
37
- - **Raster Layer Management** – Control visibility and ordering of raster datasets.
38
- - **Scalable Raster Handling** – Efficient processing of large raster collections.
39
-
40
- **Data Management:**
41
-
42
- - **Dataset View** – Explore spatial data in a synchronized tabular format.
43
- - **Data Import & Storage** – Upload and store spatial and tabular data.
44
- - **Large Dataset Support** – Efficiently handle datasets with 100,000+ features.
45
- - **Dataset Management** – Upload and manage spatial data (Shapefile, GeoJSON, CSV, etc.).
46
- - **Registers Management** – Create and maintain structured geospatial datasets.
47
-
48
- **Integration & Distribution:**
49
-
50
- - **API & OGC Standards Support** – Supports WMS, WFS, WMTS services.
51
- - **API Integration** – Connect with external systems and services.
52
- - **Geoportal Access** – Centralized platform for all maps and datasets.
53
- - **Data Export** – Export geospatial data in standard formats.
54
- - **Map Publishing** – Publish and share maps quickly online.
55
-
56
- ## Install
57
-
58
- ```bash
59
- npm i @opengis/gis
60
- ```
61
-
62
- ## Usage Portal
63
-
64
- ```vue
65
- <template>
66
- <!--$route.params.id-->
67
- <MapWidget :id="'home'" />
68
- </template>
69
-
70
- <script setup lang="ts">
71
- const MapWidget = defineAsyncComponent(() =>
72
- import("@opengis/gis").then((m) => m.MapWidget),
73
- );
74
- </script>
75
- ```
76
-
77
- ## Usage Admin
78
-
79
- ```js
80
- // router.config
81
- export default [
82
- {
83
- path: "/gis.registers/:id?",
84
- component: () => import("@opengis/gis").then((m) => m.Register),
85
- },
86
- {
87
- path: "/gis.services/:id?",
88
- component: () => import("@opengis/gis").then((m) => m.Service),
89
- },
90
- {
91
- path: "/gis.rasters/:id?",
92
- component: () => import("@opengis/gis").then((m) => m.Raster),
93
- },
94
- {
95
- path: "/gis.cartocss/:id?",
96
- component: () => import("@opengis/gis").then((m) => m.CartoCSS),
97
- },
98
- {
99
- path: "/gis.maps/:id?",
100
- component: () => import("@opengis/gis").then((m) => m.MapSettings),
101
- },
102
- ];
103
- ```
104
-
105
- ## Config
106
-
107
- ```js
108
- // main.ts
109
- app.config.globalProperties.$settings = {
110
- map: {
111
- center: [34.71, 48.51],
112
- zoom: 14,
113
- basemaps: [
114
- {
115
- name: "Оглядова карта",
116
- url: "https://data.gki.com.ua/api-user/rtile/voyager/ua/{z}/{x}/{y}.png",
117
- },
118
- {
119
- name: "Ортофото 1:10K",
120
- url: "https://data.gki.com.ua/api-user/rtile/orto10/ua/{z}/{x}/{y}.png",
121
- },
122
- {
123
- name: "Open Street Maps",
124
- url: "https://tile.openstreetmap.org.ua/styles/osm-bright/{z}/{x}/{y}.png",
125
- },
126
- {
127
- name: "Топографічна карта 1:2000",
128
- url: "/api/gis-rtile/3830082297432900636/{z}/{x}/{y}.png",
129
- preview: "/api/gis-rtile/3830082297432900636/17/78138/45286.png",
130
- },
131
- ],
132
- },
133
- };
134
- ```
135
-
136
- ## Documentation
137
-
138
- For a detailed understanding of `cms`, its features, and how to use them, refer to our [Documentation](https://gis.opengis.info/).
139
-
140
- ## Technology stack
141
-
142
- <a href="https://fastify.dev/" target="_blank">
143
- <img src="https://img.shields.io/badge/Fastify-323330?style=for-the-badge&logo=fastify" /></a>
144
-
145
- <a href="https://vuejs.org/" target="_blank">
146
- <img src="https://img.shields.io/badge/Vue%20js-323330?style=for-the-badge&logo=vuedotjs&logoColor=4FC08D" /></a>
147
-
148
- <a href="https://vite.dev/" target="_blank">
149
- <img src="https://img.shields.io/badge/Vite-323330?style=for-the-badge&logo=vite" /></a>
150
-
151
- <a href="https://www.postgresql.org/" target="_blank">
152
- <img src="https://img.shields.io/badge/PostgreSQL-323330?style=for-the-badge&logo=postgresql&logoColor=white" /></a>
153
-
154
- <a href="https://redis.io/" target="_blank">
155
- <img src="https://img.shields.io/badge/redis-323330.svg?&style=for-the-badge&logo=redis&logoColor=%23DD0031" /></a>
156
-
157
- <a href="https://nodejs.org/" target="_blank">
158
- <img src="https://img.shields.io/badge/Node.js-323330?style=for-the-badge&logo=node.js&logoColor=white" /></a>
159
-
160
- ## Contribute
161
-
162
- Feel free to contact us through our website [SOFTPRO.UA](https://softpro.ua) or email <info@softpro.ua>
163
-
164
- - Report bugs
165
- - Share your ideas
166
- - Ask questions
167
-
168
- ## Follow Us
169
-
170
- [Official site](https://softpro.ua)
171
-
172
- <p>
173
- <a href="https://www.instagram.com/gissoftpro/" target="_blank"><img src="https://cdn.softpro.ua/data/npm/instagram.png" alt="Softpro Instagram" title="oftpro Instagram"></a>&nbsp;&nbsp;
174
- <a href="https://www.facebook.com/gissoftpro" target="_blank"><img src="https://cdn.softpro.ua/data/npm/facebook.png" alt="Softpro Facebook" title="Softpro Facebook"></a>&nbsp;&nbsp;
175
- <a href="https://t.me/softprogis" target="_blank"><img src="https://cdn.softpro.ua/data/npm/telegram.png" alt="Softpro Telegram" title="Softpro Telegram"></a>&nbsp;&nbsp;
176
- <a href="https://www.linkedin.com/in/softpro-ukraine-a8876b282/recent-activity/all/" target="_blank"><img src="https://cdn.softpro.ua/data/npm/social/linkedin.png" alt="Softpro Linkedin" title="Softpro LinkedIn"></a>&nbsp;&nbsp;
177
- </p>
178
-
179
- ## License
180
-
181
- Copyright © SOFTPRO. All rights reserved.
1
+ <!-- ![alt text](https://cdn.softpro.ua/data/npm/admin/opengis-admin.png) -->
2
+
3
+ # @opengis/gis
4
+
5
+ [![NPM version](https://img.shields.io/npm/v/@opengis/gis?style=plain)](https://www.npmjs.com/package/@opengis/gis)
6
+ [![NPM last update](https://img.shields.io/npm/last-update/@opengis/gis?style=plain)]()
7
+ [![NPM downloads](https://img.shields.io/npm/dw/@opengis/gis?style=plain)]()
8
+ [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=plain)](http://standardjs.com/)
9
+
10
+ Tools for mapping, geodata management, and integration into modern web services.
11
+
12
+ ## Features
13
+
14
+ **Core Platform Capabilities:**
15
+
16
+ - **Web-based GIS Platform** – Access and manage geospatial data through a cloud-based environment.
17
+ - **User & Admin Management** – Control access and permissions.
18
+ - **No-Code Map Builder** – Create and configure web maps without programming skills.
19
+ - **Configurable User Interface** – Customize map layout and widgets based on user needs.
20
+ - **Admin Panel** – Centrally manage system settings, users, and datasets.
21
+
22
+ **Visualization & Mapping:**
23
+
24
+ - **Interactive Web Maps** – View and explore geographic data online.
25
+ - **Map Catalog** – Access and manage a collection of thematic maps.
26
+ - **Layer Management** – Control visibility and organization of map layers.
27
+ - **Advanced Filtering** – Query and filter data based on attributes.
28
+ - **Search Functionality** – Find objects by address, ID, or attributes.
29
+ - **CartoCSS Styling** – Customize map appearance with flexible styling rules.
30
+
31
+ **Raster Management:**
32
+
33
+ - **Single Raster Support** – Upload, store, and visualize individual raster datasets.
34
+ - **Multi-Raster VRT Builder** – Combine multiple raster files into a single virtual raster (VRT).
35
+ - **Recursive Raster Processing** – Automatically build VRTs from nested folder structures.
36
+ - **Raster Data Visualization** – Display raster layers alongside vector data on maps.
37
+ - **Raster Layer Management** – Control visibility and ordering of raster datasets.
38
+ - **Scalable Raster Handling** – Efficient processing of large raster collections.
39
+
40
+ **Data Management:**
41
+
42
+ - **Dataset View** – Explore spatial data in a synchronized tabular format.
43
+ - **Data Import & Storage** – Upload and store spatial and tabular data.
44
+ - **Large Dataset Support** – Efficiently handle datasets with 100,000+ features.
45
+ - **Dataset Management** – Upload and manage spatial data (Shapefile, GeoJSON, CSV, etc.).
46
+ - **Registers Management** – Create and maintain structured geospatial datasets.
47
+
48
+ **Integration & Distribution:**
49
+
50
+ - **API & OGC Standards Support** – Supports WMS, WFS, WMTS services.
51
+ - **API Integration** – Connect with external systems and services.
52
+ - **Geoportal Access** – Centralized platform for all maps and datasets.
53
+ - **Data Export** – Export geospatial data in standard formats.
54
+ - **Map Publishing** – Publish and share maps quickly online.
55
+
56
+ ## Install
57
+
58
+ ```bash
59
+ npm i @opengis/gis
60
+ ```
61
+
62
+ ## Usage Portal
63
+
64
+ ```vue
65
+ <template>
66
+ <!--$route.params.id-->
67
+ <MapWidget :id="'home'" />
68
+ </template>
69
+
70
+ <script setup lang="ts">
71
+ const MapWidget = defineAsyncComponent(() =>
72
+ import("@opengis/gis").then((m) => m.MapWidget),
73
+ );
74
+ </script>
75
+ ```
76
+
77
+ ## Usage Admin
78
+
79
+ ```js
80
+ // router.config
81
+ export default [
82
+ {
83
+ path: "/gis.registers/:id?",
84
+ component: () => import("@opengis/gis").then((m) => m.Register),
85
+ },
86
+ {
87
+ path: "/gis.services/:id?",
88
+ component: () => import("@opengis/gis").then((m) => m.Service),
89
+ },
90
+ {
91
+ path: "/gis.rasters/:id?",
92
+ component: () => import("@opengis/gis").then((m) => m.Raster),
93
+ },
94
+ {
95
+ path: "/gis.cartocss/:id?",
96
+ component: () => import("@opengis/gis").then((m) => m.CartoCSS),
97
+ },
98
+ {
99
+ path: "/gis.maps/:id?",
100
+ component: () => import("@opengis/gis").then((m) => m.MapSettings),
101
+ },
102
+ ];
103
+ ```
104
+
105
+ ## Config
106
+
107
+ ```js
108
+ // main.ts
109
+ app.config.globalProperties.$settings = {
110
+ map: {
111
+ center: [34.71, 48.51],
112
+ zoom: 14,
113
+ basemaps: [
114
+ {
115
+ name: "Оглядова карта",
116
+ url: "https://data.gki.com.ua/api-user/rtile/voyager/ua/{z}/{x}/{y}.png",
117
+ },
118
+ {
119
+ name: "Ортофото 1:10K",
120
+ url: "https://data.gki.com.ua/api-user/rtile/orto10/ua/{z}/{x}/{y}.png",
121
+ },
122
+ {
123
+ name: "Open Street Maps",
124
+ url: "https://tile.openstreetmap.org.ua/styles/osm-bright/{z}/{x}/{y}.png",
125
+ },
126
+ {
127
+ name: "Топографічна карта 1:2000",
128
+ url: "/api/gis-rtile/3830082297432900636/{z}/{x}/{y}.png",
129
+ preview: "/api/gis-rtile/3830082297432900636/17/78138/45286.png",
130
+ },
131
+ ],
132
+ },
133
+ };
134
+ ```
135
+
136
+ ## Documentation
137
+
138
+ For a detailed understanding of `cms`, its features, and how to use them, refer to our [Documentation](https://gis.opengis.info/).
139
+
140
+ ## Technology stack
141
+
142
+ <a href="https://fastify.dev/" target="_blank">
143
+ <img src="https://img.shields.io/badge/Fastify-323330?style=for-the-badge&logo=fastify" /></a>
144
+
145
+ <a href="https://vuejs.org/" target="_blank">
146
+ <img src="https://img.shields.io/badge/Vue%20js-323330?style=for-the-badge&logo=vuedotjs&logoColor=4FC08D" /></a>
147
+
148
+ <a href="https://vite.dev/" target="_blank">
149
+ <img src="https://img.shields.io/badge/Vite-323330?style=for-the-badge&logo=vite" /></a>
150
+
151
+ <a href="https://www.postgresql.org/" target="_blank">
152
+ <img src="https://img.shields.io/badge/PostgreSQL-323330?style=for-the-badge&logo=postgresql&logoColor=white" /></a>
153
+
154
+ <a href="https://redis.io/" target="_blank">
155
+ <img src="https://img.shields.io/badge/redis-323330.svg?&style=for-the-badge&logo=redis&logoColor=%23DD0031" /></a>
156
+
157
+ <a href="https://nodejs.org/" target="_blank">
158
+ <img src="https://img.shields.io/badge/Node.js-323330?style=for-the-badge&logo=node.js&logoColor=white" /></a>
159
+
160
+ ## Contribute
161
+
162
+ Feel free to contact us through our website [SOFTPRO.UA](https://softpro.ua) or email <info@softpro.ua>
163
+
164
+ - Report bugs
165
+ - Share your ideas
166
+ - Ask questions
167
+
168
+ ## Follow Us
169
+
170
+ [Official site](https://softpro.ua)
171
+
172
+ <p>
173
+ <a href="https://www.instagram.com/gissoftpro/" target="_blank"><img src="https://cdn.softpro.ua/data/npm/instagram.png" alt="Softpro Instagram" title="oftpro Instagram"></a>&nbsp;&nbsp;
174
+ <a href="https://www.facebook.com/gissoftpro" target="_blank"><img src="https://cdn.softpro.ua/data/npm/facebook.png" alt="Softpro Facebook" title="Softpro Facebook"></a>&nbsp;&nbsp;
175
+ <a href="https://t.me/softprogis" target="_blank"><img src="https://cdn.softpro.ua/data/npm/telegram.png" alt="Softpro Telegram" title="Softpro Telegram"></a>&nbsp;&nbsp;
176
+ <a href="https://www.linkedin.com/in/softpro-ukraine-a8876b282/recent-activity/all/" target="_blank"><img src="https://cdn.softpro.ua/data/npm/social/linkedin.png" alt="Softpro Linkedin" title="Softpro LinkedIn"></a>&nbsp;&nbsp;
177
+ </p>
178
+
179
+ ## License
180
+
181
+ Copyright © SOFTPRO. All rights reserved.
@@ -1,5 +1,5 @@
1
1
  import { openBlock as t, createElementBlock as n, createElementVNode as l } from "vue";
2
- import { _ as o } from "./index-Bbe7SAdS.js";
2
+ import { _ as o } from "./index-CM_DTEUa.js";
3
3
  const s = {}, a = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  width: "24",
@@ -3,7 +3,7 @@ import { RefreshCw as ie, Plus as ue } from "lucide-vue-next";
3
3
  import { useRoute as ce, useRouter as de } from "vue-router";
4
4
  import { VsPagination as fe, notify as Q } from "@opengis/core";
5
5
  import { FilterField as me, Filter as he } from "@opengis/filter";
6
- import { F as ge, _ as ve } from "./index-Bbe7SAdS.js";
6
+ import { F as ge, _ as ve } from "./index-CM_DTEUa.js";
7
7
  import { _ as pe } from "./TableFormHeader.vue_vue_type_script_setup_true_lang-Mci_tseM.js";
8
8
  const xe = { class: "flex-1 flex flex-col bg-gray-50 h-screen overflow-hidden p-0 m-0" }, be = {
9
9
  key: 0,
@@ -276,7 +276,7 @@ const xe = { class: "flex-1 flex flex-col bg-gray-50 h-screen overflow-hidden p-
276
276
  ])
277
277
  ]));
278
278
  }
279
- }), De = /* @__PURE__ */ ve(je, [["__scopeId", "data-v-821aeb35"]]);
279
+ }), De = /* @__PURE__ */ ve(je, [["__scopeId", "data-v-469c2953"]]);
280
280
  export {
281
281
  De as default
282
282
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as y, computed as f, watch as d, createCommentVNode as x } from "vue";
2
- import { f as C, u as b } from "./index-Bbe7SAdS.js";
2
+ import { f as C, u as b } from "./index-CM_DTEUa.js";
3
3
  const h = /* @__PURE__ */ y({
4
4
  __name: "ExtentOutlineLayer",
5
5
  props: {
@@ -5,7 +5,7 @@ import { confirm as H, notify as F } from "@opengis/core";
5
5
  import { _ as de } from "./TableFormHeader.vue_vue_type_script_setup_true_lang-Mci_tseM.js";
6
6
  import { _ as ue } from "./MapSettingsTabs.vue_vue_type_script_setup_true_lang-CKCK3NqY.js";
7
7
  import { VsInputArraySelect as ce } from "@opengis/form";
8
- import { v as me, _ as pe } from "./index-Bbe7SAdS.js";
8
+ import { v as me, _ as pe } from "./index-CM_DTEUa.js";
9
9
  import { _ as ye } from "./MonacoEditor.vue_vue_type_script_setup_true_lang-D3ZPeXMw.js";
10
10
  const fe = { class: "rounded-lg border border-gray-200 bg-[rgba(252,252,252,0.8)] p-6" }, ge = /* @__PURE__ */ I({
11
11
  __name: "GeneralSettings",
@@ -666,7 +666,7 @@ const fe = { class: "rounded-lg border border-gray-200 bg-[rgba(252,252,252,0.8)
666
666
  ]);
667
667
  };
668
668
  }
669
- }), yt = /* @__PURE__ */ pe(st, [["__scopeId", "data-v-df90fbac"]]);
669
+ }), yt = /* @__PURE__ */ pe(st, [["__scopeId", "data-v-49efd239"]]);
670
670
  export {
671
671
  yt as default
672
672
  };
@@ -1,5 +1,5 @@
1
1
  import { openBlock as s, createElementBlock as b, createElementVNode as a, defineComponent as I, normalizeClass as ee, createVNode as j, createBlock as J, unref as U, ref as h, computed as k, watch as ce, withDirectives as Me, vModelText as Ee, createCommentVNode as G, Fragment as X, renderList as K, createStaticVNode as Be, toDisplayString as $, defineAsyncComponent as re, createTextVNode as ye, withCtx as Q, nextTick as Te, onMounted as ne, onUnmounted as Le, withModifiers as we, Teleport as Ue, normalizeStyle as ke, renderSlot as Ce, onBeforeUnmount as je } from "vue";
2
- import { _ as Ne, f as de } from "./index-Bbe7SAdS.js";
2
+ import { _ as Ne, f as de } from "./index-CM_DTEUa.js";
3
3
  import { Settings as Ae, BrushCleaning as he, SquareCode as xe, Pencil as Re, ZoomIn as Fe, ZoomOut as Oe, Compass as Ie } from "lucide-vue-next";
4
4
  import { notify as W } from "@opengis/core";
5
5
  const De = {}, Pe = {
@@ -3,7 +3,7 @@ import { useRoute as ne, useRouter as oe } from "vue-router";
3
3
  import { VsPagination as le, notify as B } from "@opengis/core";
4
4
  import { FilterField as re, Filter as ie } from "@opengis/filter";
5
5
  import { RefreshCw as ue, Plus as ce } from "lucide-vue-next";
6
- import { F as de, _ as ve } from "./index-Bbe7SAdS.js";
6
+ import { F as de, _ as ve } from "./index-CM_DTEUa.js";
7
7
  import { _ as fe } from "./TableFormHeader.vue_vue_type_script_setup_true_lang-Mci_tseM.js";
8
8
  const ge = { class: "flex-1 flex flex-col bg-gray-50 h-screen overflow-hidden p-0 m-0" }, me = {
9
9
  href: "/api/gis-create-xml",
@@ -241,7 +241,7 @@ const ge = { class: "flex-1 flex flex-col bg-gray-50 h-screen overflow-hidden p-
241
241
  ])
242
242
  ]));
243
243
  }
244
- }), Be = /* @__PURE__ */ ve(Re, [["__scopeId", "data-v-63309b89"]]);
244
+ }), Be = /* @__PURE__ */ ve(Re, [["__scopeId", "data-v-827c1663"]]);
245
245
  export {
246
246
  Be as default
247
247
  };
@@ -2,12 +2,12 @@ import { openBlock as x, createElementBlock as P, createElementVNode as l, defin
2
2
  import { useRouter as _t, useRoute as wt } from "vue-router";
3
3
  import { notify as D } from "@opengis/core";
4
4
  import { Minimize2 as kt, Maximize2 as Ct, Link2 as Mt, Ruler as St, Eye as $t, EyeOff as Lt } from "lucide-vue-next";
5
- import { _ as Ye, f as ne, o as Et, p as Vt, q as zt, M as Rt, i as Bt, j as qe, r as Pt, t as Tt, m as At } from "./index-Bbe7SAdS.js";
6
- import { S as Ft, C as Nt } from "./CardIcon-Das_4-zP.js";
7
- import { h as pe, _ as jt, a as Ot, b as Dt, c as Ut, d as qt, e as Zt, f as It, g as Qt } from "./MapToolbarRight.vue_vue_type_script_setup_true_lang-D1pkL5Zi.js";
5
+ import { _ as Ye, f as ne, o as Et, p as Vt, q as zt, M as Rt, i as Bt, j as qe, r as Pt, t as Tt, m as At } from "./index-CM_DTEUa.js";
6
+ import { S as Ft, C as Nt } from "./CardIcon-iGo8QJu9.js";
7
+ import { h as pe, _ as jt, a as Ot, b as Dt, c as Ut, d as qt, e as Zt, f as It, g as Qt } from "./MapToolbarRight.vue_vue_type_script_setup_true_lang-BHCChxmg.js";
8
8
  import { _ as He } from "./MonacoEditor.vue_vue_type_script_setup_true_lang-D3ZPeXMw.js";
9
- import { V as Yt } from "./vs-datatable-Zl_KZIHN.js";
10
- import { _ as Ze } from "./ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-CSmMFcSb.js";
9
+ import { V as Yt } from "./vs-datatable--K-DxayK.js";
10
+ import { _ as Ze } from "./ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-BdL5cQgN.js";
11
11
  const Ht = {}, Jt = {
12
12
  xmlns: "http://www.w3.org/2000/svg",
13
13
  width: "24",
@@ -631,7 +631,7 @@ const Wt = /* @__PURE__ */ Ye(Ht, [["render", Kt]]), Xt = { class: "flex flex-co
631
631
  _: 1
632
632
  }));
633
633
  }
634
- }), ka = /* @__PURE__ */ Ye(wa, [["__scopeId", "data-v-ca77aba8"]]), Ca = { class: "text-[0.7rem] font-bold tabular-nums leading-none text-gray-600" }, Ce = 5, Me = 20, Ma = 13, Sa = 0.01, $a = 200, La = /* @__PURE__ */ U({
634
+ }), ka = /* @__PURE__ */ Ye(wa, [["__scopeId", "data-v-1f992329"]]), Ca = { class: "text-[0.7rem] font-bold tabular-nums leading-none text-gray-600" }, Ce = 5, Me = 20, Ma = 13, Sa = 0.01, $a = 200, La = /* @__PURE__ */ U({
635
635
  __name: "MapZoomLevelButton",
636
636
  setup(L) {
637
637
  const { map: s, ready: n } = ne(), k = b(!1), _ = b(!1), p = b(Ma), g = b(!1), y = b(Ce), h = b(Me), u = B(() => String(p.value));
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as V, mergeModels as S, useModel as w, defineAsyncComponent as $, computed as h, openBlock as p, createBlock as A, unref as C, withCtx as T, createElementVNode as r, toDisplayString as y, createElementBlock as b, Fragment as D, renderList as E, normalizeClass as L, resolveDynamicComponent as N, createCommentVNode as f } from "vue";
2
- import { i as P, g as j } from "./vs-datatable-Zl_KZIHN.js";
2
+ import { i as P, g as j } from "./vs-datatable--K-DxayK.js";
3
3
  const R = { class: "p-4 text-[13px]" }, U = { class: "grid grid-cols-2 gap-x-6 gap-y-2" }, q = ["id", "checked", "onChange"], G = { class: "ml-2 flex-1 min-w-0 flex items-center gap-2" }, H = { class: "font-medium text-gray-900 truncate" }, J = { class: "text-xs text-gray-500" }, O = {
4
4
  key: 0,
5
5
  class: "text-xs text-[#B2C9D6]"