Re: [mapguide-users] What buffering method does MapGuide use Euclidean or Geodesic?

2017-03-30 Thread RenoSun
I tried  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?
  



--
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

Re: [mapguide-users] What buffering method does MapGuide use Euclidean or Geodesic?

2017-03-30 Thread Flipper
The Attempt at geodesic on Turf is fatally flawed.
There is a branch that had begun that had some promise but I found it to
create some really poor and garbled results when Utilized on Complex
geometries like soils, etc.
Pull Request
  
The person who was working on this has ceased working on it.

Mapguide has always generated Geodesic buffers that I have found accurate.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/What-buffering-method-does-MapGuide-use-Euclidean-or-Geodesic-tp5314871p5314993.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

Re: [mapguide-users] What buffering method does MapGuide use Euclidean or Geodesic?

2017-03-29 Thread Jackie Ng
According to this, turf's buffering is not geodesic as it is an enhancement
ticket that needs help

https://github.com/Turfjs/turf-buffer/issues/3
https://github.com/Turfjs/turf/issues/110#issuecomment-103413360

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/What-buffering-method-does-MapGuide-use-Euclidean-or-Geodesic-tp5314871p5314872.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