I tried  JSTS <https://github.com/bjornharrtell/jsts>  , and it won't
recognize the coordinate system of the geometry. It buffer the geometry in
UNIT which I should be in meters. 

// create a buffer of 40 meters around each line

var buffered = jstsGeom.buffer(40);

However, when I buffered the geometry in WGS84.Pseudomercator 10 meters, it
generated the geometry only buffered about  6.54 meters. Therefore, I had to
manually change the user input values again.

Therefore, I decided to just use Turf.js to buffer the geometry. At least,
it can recognize the unit that I sent to it.

Equidistant Buffer possible? with JSTS?
<https://github.com/bjornharrtell/jsts/issues/238>  



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/What-buffering-method-does-MapGuide-use-Euclidean-or-Geodesic-tp5314871p5315045.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to