I am trying apply a
buffer (enlarge a shape equally from the borders) to a polygon that is made up of a series of latitude/longitude coordinates by a distance that is defined in either miles or kilometers, as apposed to a distance specified as a magnitude of the shape.
My research has dug up a number of libraries that will enlarge a polygon by a given magnitude, however this magnitude is relative to the units that the polygon is specified in which isn't helpful in the case of lat/lng coordinates given the shape of the Earth and the changing proportions depending on position on Earth.
I need to accomplish this server side preferably and have dabbled with arcgis's rest service which isn't working for me. Also have looked into ClipperJS and gotten close, however couldn't translate it's
delta variable, the scale of increase into miles or km.
Can anyone tell me how this might be achieved? I imagine this is not a straightforward problem but certainly one that has needed to be solved before.