Skip to content

Commit 8c0ebba

Browse files
authored
Merge pull request #1283 from Esri/pbf-query-features-as-geojson-and-arcgis
Query features with "pbf-as-geojson" and "pbf-as-arcgis" format parameters in the request options.
2 parents 9ec8158 + 51e8144 commit 8c0ebba

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+7329
-55
lines changed

.changeset/cute-bikes-check.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@esri/arcgis-rest-feature-service": minor
3+
---
4+
5+
Added query params where user can query a pbf request and get back geojson or arcgis features.
6+
- User can request features from feature service using "f: pbf-as-geojson" or "f: pbf-as-arcgis" in request options
7+
- Added EsriFeatureCollection proto spec and modular pbf decoder
8+
- Added pbfToGeoJSON parser and pbfToArcGIS parser
9+
- Added Live Tests

.changeset/little-places-tell.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@esri/arcgis-rest-feature-service": minor
3+
"@esri/arcgis-rest-request": patch
4+
---
5+
6+
Added pbf types to request RequestFormats types.

package-lock.json

Lines changed: 119 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"test:webkit": "vitest --config=vitest.config.js --run --project=browser --browser=webkit",
3131
"test:node": "vitest --config=vitest.config.js --run --project=node",
3232
"test:node:debug": "vitest --config=vitest.config.js --inspect --ui --no-file-parallelism --project=node",
33-
"test:node:live": "",
34-
"test:node:live:debug": "",
33+
"test:node:live": "vitest --config=vitest.config.js --project=nodeLive",
34+
"test:headless:live": "vitest --config=vitest.config.js --project=headlessLive",
3535
"prettify": "prettier --write --parser typescript --tab-width 2 --use-tabs false \"packages/**/+(src|test)/**/*.ts\"",
3636
"typedoc": "typedoc --options ./typedoc.json",
3737
"prettify:packages-jsons": "prettier-package-json --write ./**/*/package.json",
@@ -88,6 +88,7 @@
8888
"lint-staged": "^4.3.0",
8989
"npm-run-all": "^4.1.5",
9090
"node-fetch": "^3.3.2",
91+
"pbf": "^4.0.1",
9192
"prettier": "^2.3.1",
9293
"prettier-package-json": "^2.6.0",
9394
"rimraf": "^2.6.2",
@@ -123,6 +124,7 @@
123124
"Noah Mulfinger <nmulfinger@esri.com>",
124125
"Patrick Arlt <parlt@esri.com> (http://patrickarlt.com/)",
125126
"Richard Hincamp",
127+
"Rowan Winsemius",
126128
"Stephen Sylvia <ssylvia@esri.com>",
127129
"Steven Kitterman <skitterman@esri.com>",
128130
"Tom Wayson <twayson@esri.com>"

0 commit comments

Comments
 (0)