Support GeoJSON filtering by properties

Created on 22 March 2024, 3 months ago

FYI:
https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/filte...
https://gis.stackexchange.com/questions/437835/leaflet-geojson-filter-ba...

An exmaple GeoJSON:

{
"type": "FeatureCollection",
"name": "v62",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "NAME_PY": "Liao Zhou", "BEGIN_YEAR ": 1151, "END_YEAR": 1217}, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 113.54941, 36.75454 ], [ 113.54329, 36.75215 ], [ 113.53745, 36.74418 ], [ 113.53119, 36.74643 ], [ 113.52768, 36.74794 ], [ 113.5212, 36.75068 ], [ 113.51571, 36.75423 ], [ 113.51114, 36.76001 ], [ 113.50753, 36.76454 ], [ 113.50427, 36.76949 ],
......

I'd like to filter GeoJSON data by the properties of BEGIN_YEAR and END_YEAR. How to make it? Or even via Javascript?

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡³China fishfree

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024