geoai 1.0.2 → 1.0.3

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.
package/CHANGELOG.md CHANGED
@@ -128,3 +128,9 @@ To migrate from the old package:
128
128
  ### Release Candidate
129
129
  - Removed OpenCV.js dependency across all AI models for improved performance and reduced bundle size.
130
130
 
131
+
132
+ ## [1.0.3] - 2025-08-28
133
+
134
+ ### Release Candidate
135
+ - Landuse classification vectorisation bug fix
136
+
package/README.md CHANGED
@@ -40,12 +40,12 @@ You can also use GeoAI directly in the browser via CDN:
40
40
 
41
41
  #### Unpkg CDN
42
42
  ```html
43
- <script src="https://unpkg.com/geoai@1.0.1/geoai.js"></script>
43
+ <script src="https://unpkg.com/geoai@1.0.3/geoai.js"></script>
44
44
  ```
45
45
 
46
46
  #### jsDelivr CDN
47
47
  ```html
48
- <script src="https://cdn.jsdelivr.net/npm/geoai@1.0.1/geoai.min.js"></script>
48
+ <script src="https://cdn.jsdelivr.net/npm/geoai@1.0.3/geoai.min.js"></script>
49
49
  ```
50
50
 
51
51
  When using CDN, the library is available globally as `geoai`.
package/geoai.js CHANGED
@@ -2419,7 +2419,7 @@ const _LandCoverClassification = class _LandCoverClassification extends BaseMode
2419
2419
  3,
2420
2420
  geoRawImage.getBounds()
2421
2421
  );
2422
- const maskToFC = maskToGeoJSON({ mask: binaryTensors }, geoRawImage);
2422
+ const maskToFC = maskToGeoJSON({ mask: binaryTensors }, outputRawImage);
2423
2423
  const features = [];
2424
2424
  maskToFC.forEach((fc, idx) => {
2425
2425
  fc.features.forEach((feature2) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geoai",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "A JavaScript library for running Geo AI models in frontend applications",
5
5
  "keywords": [
6
6
  "geoai",