HTM-1964: Add GeoJSON extract format#1702
Merged
mprins merged 1 commit intoApr 23, 2026
Merged
Conversation
Dependency ReviewThe following issues were found:
Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. License Issuespom.xml
OpenSSF Scorecard
Scanned Files
|
12 tasks
Contributor
There was a problem hiding this comment.
Pull request overview
Adds initial support for exporting layer extracts as GeoJSON in the Tailormap API extract pipeline (controller/service + integration test), including a GeoTools GeoJSON store dependency.
Changes:
- Add GeoJSON extract handling via
GeoJSONDataStoreFactoryinCreateLayerExtractService. - Update extract output filename extension for GeoJSON to
.geojson. - Add an integration test that exercises GeoJSON extract creation + download + basic GeoJSON structure assertions.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
src/main/java/org/tailormap/api/service/CreateLayerExtractService.java |
Adds GeoJSON datastore creation and notes GeoTools workaround considerations. |
src/main/java/org/tailormap/api/controller/LayerExtractController.java |
Changes GeoJSON extension from json to geojson. |
src/test/java/org/tailormap/api/controller/LayerExtractControllerIntegrationTest.java |
Adds GeoJSON extract integration test and JSONPath assertions. |
pom.xml |
Adds org.geotools:gt-geojson-store dependency. |
Codecov Report❌ Patch coverage is
@@ Coverage Diff @@
## HTM-1960_Custom_extract_functionality_for_layer_attributes #1702 +/- ##
============================================================================================
- Coverage 77% 77% -0%
Complexity 136 136
============================================================================================
Files 161 161
Lines 8120 8123 +3
Branches 757 757
============================================================================================
+ Hits 6226 6228 +2
- Misses 1451 1452 +1
Partials 443 443
🚀 New features to boost your workflow:
|
59ebd49 to
b348fa6
Compare
340392d to
e6a4eb8
Compare
22efd3e to
4560e54
Compare
For now use GeoTools 35-SNAPSHOT to make geojson export work, see https://osgeo-org.atlassian.net/browse/GEOT-7894
6d16394 to
9042324
Compare
a66c1a0
into
HTM-1960_Custom_extract_functionality_for_layer_attributes
20 checks passed
mprins
added a commit
that referenced
this pull request
Apr 24, 2026
For now use GeoTools 35-SNAPSHOT to make geojson export work, see https://osgeo-org.atlassian.net/browse/GEOT-7894
mprins
added a commit
that referenced
this pull request
Apr 28, 2026
For now use GeoTools 35-SNAPSHOT to make geojson export work, see https://osgeo-org.atlassian.net/browse/GEOT-7894
mprins
added a commit
that referenced
this pull request
Apr 28, 2026
For now use GeoTools 35-SNAPSHOT to make geojson export work, see https://osgeo-org.atlassian.net/browse/GEOT-7894
mprins
added a commit
that referenced
this pull request
Apr 29, 2026
For now use GeoTools 35-SNAPSHOT to make geojson export work, see https://osgeo-org.atlassian.net/browse/GEOT-7894
mprins
added a commit
that referenced
this pull request
May 5, 2026
For now use GeoTools 35-SNAPSHOT to make geojson export work, see https://osgeo-org.atlassian.net/browse/GEOT-7894
mprins
added a commit
that referenced
this pull request
May 5, 2026
For now use GeoTools 35-SNAPSHOT to make geojson export work, see https://osgeo-org.atlassian.net/browse/GEOT-7894
mprins
added a commit
that referenced
this pull request
May 8, 2026
For now use GeoTools 35-SNAPSHOT to make geojson export work, see https://osgeo-org.atlassian.net/browse/GEOT-7894
mprins
added a commit
that referenced
this pull request
May 11, 2026
For now use GeoTools 35-SNAPSHOT to make geojson export work, see https://osgeo-org.atlassian.net/browse/GEOT-7894
mprins
added a commit
that referenced
this pull request
May 12, 2026
For now use GeoTools 35-SNAPSHOT to make geojson export work, see https://osgeo-org.atlassian.net/browse/GEOT-7894
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Due to:
We are now using a GeoTools snapshot