geoai 1.0.0-rc.3 → 1.0.1
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 +33 -0
- package/README.md +24 -11
- package/geoai.js +595 -8098
- package/package.json +5 -2
- package/index.d.ts +0 -541
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,27 @@ All notable changes to the geoai project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- Removed OpenCV.js dependency across all AI models for improved performance and reduced bundle size
|
|
12
|
+
- Migrated building-footprint-segmentation and landcover-classification to use d3-contours for contour processing
|
|
13
|
+
- Replaced OpenCV implementations with native JavaScript solutions
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
- Tile stitching method to GeoRawImage for improved image handling capabilities
|
|
17
|
+
- GeoJSON output option for landcover classification results
|
|
18
|
+
- Result layer type selector for better visualization control
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
- Mask generation post-processing improvements
|
|
22
|
+
- Multipolygon issues in mask generation
|
|
23
|
+
- Landcover classification mask to polygon conversion accuracy
|
|
24
|
+
|
|
25
|
+
### Improved
|
|
26
|
+
- Overall library performance with removal of heavy OpenCV dependency
|
|
27
|
+
- Memory usage optimization in geospatial processing tasks
|
|
28
|
+
|
|
8
29
|
## [1.0.0-rc.1] - 2024-01-XX
|
|
9
30
|
|
|
10
31
|
### Release Candidate
|
|
@@ -95,3 +116,15 @@ To migrate from the old package:
|
|
|
95
116
|
### Release Candidate
|
|
96
117
|
- Fix: remove hardcoded modelParams from the image-feature-extraction task
|
|
97
118
|
|
|
119
|
+
|
|
120
|
+
## [1.0.0-rc.4] - 2025-08-22
|
|
121
|
+
|
|
122
|
+
### Release Candidate
|
|
123
|
+
- Update docs. Minor bug fixes.
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
## [1.0.1] - 2025-08-28
|
|
127
|
+
|
|
128
|
+
### Release Candidate
|
|
129
|
+
- Removed OpenCV.js dependency across all AI models for improved performance and reduced bundle size.
|
|
130
|
+
|
package/README.md
CHANGED
|
@@ -11,15 +11,14 @@
|
|
|
11
11
|
<a href="https://docs.geobase.app/geoai" style="margin-left:6px"><img alt="docs" src="https://img.shields.io/badge/docs-online-blue"></a>
|
|
12
12
|
</p>
|
|
13
13
|
|
|
14
|
-
<div align="center"
|
|
15
|
-
<
|
|
16
|
-
<video width="120%" max-width="1200px" autoplay muted loop style="display: block; object-fit: cover; object-position: center;">
|
|
17
|
-
<source src="https://docs.geobase.app/geoai-live/video/image-feature-extraction-sm.mp4" type="video/mp4">
|
|
18
|
-
Your browser does not support the video tag.
|
|
19
|
-
</video>
|
|
20
|
-
</div>
|
|
14
|
+
<div align="center">
|
|
15
|
+
<img src="_docs4devs/geoai.gif" alt="GeoAI Demo" width="80%" style="border-radius: 16px;">
|
|
21
16
|
</div>
|
|
22
17
|
|
|
18
|
+
<p align="center" style="font-style:italic; margin:2px;">
|
|
19
|
+
Caption: <i>example of feature extraction using the transformerjs version of dino v3, see examples at <a href="https://docs.geobase.app/geoai-live/" style="font-style:normal;">docs.geobase.app/geoai-live</a></i>
|
|
20
|
+
</p>
|
|
21
|
+
|
|
23
22
|
### Quick install
|
|
24
23
|
|
|
25
24
|
### NPM Package
|
|
@@ -41,16 +40,26 @@ You can also use GeoAI directly in the browser via CDN:
|
|
|
41
40
|
|
|
42
41
|
#### Unpkg CDN
|
|
43
42
|
```html
|
|
44
|
-
<script src="https://unpkg.com/geoai@1.0.
|
|
43
|
+
<script src="https://unpkg.com/geoai@1.0.1/geoai.js"></script>
|
|
45
44
|
```
|
|
46
45
|
|
|
47
46
|
#### jsDelivr CDN
|
|
48
47
|
```html
|
|
49
|
-
<script src="https://cdn.jsdelivr.net/npm/geoai@1.0.
|
|
48
|
+
<script src="https://cdn.jsdelivr.net/npm/geoai@1.0.1/geoai.min.js"></script>
|
|
50
49
|
```
|
|
51
50
|
|
|
52
51
|
When using CDN, the library is available globally as `geoai`.
|
|
53
52
|
|
|
53
|
+
Get Started: Follow the [Quickstart Guide](https://docs.geobase.app/geoai) or clone the quick start example.
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
git init
|
|
57
|
+
touch README.md
|
|
58
|
+
git add .
|
|
59
|
+
git commit -m "Initial commit"
|
|
60
|
+
git subtree add --prefix=examples/01-quickstart https://github.com/decision-labs/geoai.js main --squash
|
|
61
|
+
```
|
|
62
|
+
|
|
54
63
|
## Usage
|
|
55
64
|
|
|
56
65
|
### Core Library (Node.js and Browser)
|
|
@@ -149,9 +158,13 @@ function MyComponent() {
|
|
|
149
158
|
|
|
150
159
|
For more see the [supported tasks](https://docs.geobase.app/geoai/supported-tasks)
|
|
151
160
|
|
|
152
|
-
##
|
|
161
|
+
## Links
|
|
153
162
|
|
|
154
|
-
|
|
163
|
+
- **Documentation**: [docs.geobase.app/geoai](https://docs.geobase.app/geoai) - Comprehensive documentation, examples, and API reference
|
|
164
|
+
- **Live Examples**: [docs.geobase.app/geoai-live](https://docs.geobase.app/geoai-live) - Interactive examples and demos
|
|
165
|
+
- **Community**: [GitHub Discussions](https://github.com/decision-labs/geoai.js/discussions) - Ask questions, share ideas, and connect with other developers
|
|
166
|
+
- **Code**: [GitHub Repository](https://github.com/decision-labs/geoai.js) - Source code and contributions
|
|
167
|
+
- **Issues**: [GitHub Issues](https://github.com/decision-labs/geoai.js/issues) - Report bugs and request features
|
|
155
168
|
|
|
156
169
|
## Contributing
|
|
157
170
|
|