Javascript Function to Scale a GeoJSON polygon
Budget: €30 – €250 EUR
I would need a Javascript Function that can scale a GeoJSON as if I would shave off 15 cm from the border.
In other words : I have a polygons that are just a little too big. I would need a javascript function that would make them a little smaller and return me the GeoJSON.
I believe the way to do it is to calculate the size of the Polygon, calculate the scale to reduce the size aproximetly 15 cm and then with turf-transform-scale lauch the conversion.
In other words : I have a polygons that are just a little too big. I would need a javascript function that would make them a little smaller and return me the GeoJSON.
I believe the way to do it is to calculate the size of the Polygon, calculate the scale to reduce the size aproximetly 15 cm and then with turf-transform-scale lauch the conversion.