[mapguide-users] What buffering method does MapGuide use Euclidean or Geodesic?
RenoSun
renolionheart at gmail.com
Thu Mar 30 11:37:50 PDT 2017
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.
More information about the mapguide-users
mailing list