This is a GeoJson editor/tool customized to merge features. You can merge and create a new feature with neighboring features with this tool.
-
To test: Just click Merge button.
-
You can use Default OpenLayers Countries source or enter your special geojson source url to fetch.
-
You need to add feature names with comma seperated
-
Once you click on Merge button tool will create a new feature.
-
You can check the new feature on geojson.io editor.
-
You can use Copy to Clipboard button to copy new feature.
Following screen shot is result of merging Germany,Poland and Austria features:
#openlayers #leaflet #turf #features #merge #union #polygon #geojson
related SO question: https://stackoverflow.com/questions/68005988/geojson-turf-merge-multiple-polygons-to-one-polygon-keeping-hole