Questions tagged [jsts]

Use this tag when referring to the jsts (java) library

Filter by
Sorted by
Tagged with
1
vote
1answer
33 views

Using OpenLayers and JSTS to create buffer geometry

So far I have found similar questions like this one but none have quite expressed or fixed my exact issue. I'm using Openlayers v4.6.5 and JSTS 1.4.0 The problem I'm having is with the buffer() ...
1
vote
1answer
59 views

turfjs cannot detect all self intersections

I am working with OpenLayers/Turfjs to detect self intersection in users manually drawn polygons on a web map. The function that detects the self intersection is a property of the condition of the ...
0
votes
0answers
23 views

jsts , get merged geometries

I am trying to merge two LineStrings using jsts library. I tried with linestring1Geom.union(linestring2Geom).It works but the problem is I want to get LineString as result geometry , but instead I ...
0
votes
1answer
148 views

Using meters to buffer with JSTS?

I'm trying to create a buffer using OpenLayers with JSTS library. However, even after transforming geometry from EPSG:4326 to EPSG:3857, the buffer method doesn't create distance in meters as ...
1
vote
0answers
172 views

How to transform coordinates for a geometry in Javascript Topology Suite JSTS

I would like to transform coordinates of geometries in JSTS (Javascript Topology Suite). I want to use a coordinate filter so I don't need to worry about what type of geometry is being transformed (e....
3
votes
1answer
458 views

Creating buffers using JSTS + ES6 modules not working

Creating a buffer from a Point or other Geometry objects in JSTS seems to be quite simple when reading the documentation, but still I can't produce a buffer from a Point in my React application. Let ...
3
votes
2answers
290 views

Using JSTS isValid() with ES6 modules

I am trying to configure JSTS to load using ES6 modules so that I don't have to include the entire library. There are minimal examples of how to do this online, including using an extend function to ...
1
vote
0answers
529 views

JSTS Buffered Polyline in route Service (google maps V3)

I do not know if someone has already lived the same thing as me, I work with JSTS API to create a polygon that surrounds the route of the google services but the problem is that when there are ...
2
votes
0answers
141 views

How to make a proper unification function

Well i make a map with OpenLayers 4 in draw a a brunch of polygons an try to union them if they intersect. i made this code : function unification(){ var parser = new jsts.io.OL3Parser(); ...
1
vote
0answers
134 views

Transforming to WKTLine using JSTS library is very slow

I have a performance issue with JSTS library. When my OpenLayers.Geometry.LineString has more than 1000 components (OpenLayers.Geometry.Point), transforming theses points with the JSTS library is very ...