jts Questions

3

Solved

For example, if you have a GeoJSON file like this with a polygon(simple file for the test) { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": {}, "geometry": { ...
Ancelin asked 28/12, 2018 at 10:57

4

I am need a Java function that will generate a bounding box (rectangle) around a buffer. The buffer is defined by the center point (WGS84 coordinate) and the radius (in meters). Getting a bounding...
Scornik asked 6/4, 2016 at 15:3

4

Solved

I found the envelope class in Java's JTS library very handy. An envelope holds the minimal and maximal coordinates of a geometry and is also called bounding box sometimes. I wanted to get the comm...
Brazee asked 20/11, 2013 at 11:12

9

Solved

I have a Spring Roo + Hibernate project which takes a JTS well-known text (WKT) String input from the client application, converts it into a JTS Geometry object, and then attempts to write it to th...
Micrometry asked 31/8, 2012 at 12:17

2

Solved

I have a class with JTS point: @Entity @Data public class Check { @Id @GeneratedValue(strategy = IDENTITY) private Long id; private Point location; I then want to save that point to my databa...
Telic asked 22/8, 2023 at 10:43

2

I want to tessellate country shape from GeoTools to display it in 3D on Earth surface. GeoTools use JTS topology suite inside which looks feature rich. Does it contain utility to tessellate some ...
Lombard asked 11/5, 2014 at 20:15

3

I have a huge set of points already loaded within a plane I need to draw a circle/ellipse starting from a given point and a radius distance in meters then check which points are inside the circle. ...
Woodall asked 10/1, 2012 at 17:2

1

I have a curve (say JTS edge): How to find all curve direction change points that surpasses given angle using JTS (Java) or NTS (C#):
Velasquez asked 30/5, 2018 at 21:38

1

Solved

i want to be able to read column of type "POINT" from MySql database, i wanted to write an AttributeConverter for that, so i started by printing the values from the DB, but my AttributeConverter ...
Quote asked 28/2, 2017 at 2:57

2

Solved

pals. I'm using vividsolutions's library JTS (1.13) for Points and Polygons in my application, but when I try to convert geometry objects into JSON, my application fails. There is my source: @Requ...
Fourgon asked 26/4, 2015 at 22:26

1

Take the invalid polygon POLYGON((0 100, 100 100, 0 0, 100 0, 0 100)) - an egg timer shape with an undeclared point of intersection Many instructions say that JTS can create a valid version of ...
Beret asked 17/7, 2015 at 10:17

2

Solved

We can create a LineString using coordinates list like this: Geometry g1 = new GeometryFactory().createLineString(coordinates); How can we create a polygon using coordinates list? Thanks in ad...
Garamond asked 4/7, 2011 at 10:7

2

I am developing a GIS application with java(Spring-4.1.5 + Hibernate-4.3.8) and OpenLayers. For this project I use GeoTools-13RC, HibernateSptial-4.3, jts-1.13 and jackson-2.5. In this project, I h...
Neilson asked 20/4, 2015 at 5:35

1

Before I asked the question I had read the question Play framework java.lang.NoClassDefFoundError only in dev mode and several other posts. They didn't help me to resolve my problem. I've created ...
Azeotrope asked 6/1, 2015 at 11:43

3

Solved

I've got a collection of geometry objects. Now i want to calculate the minimal bounding rectangle from the whole collection. i'm using the java topology suite, but I can't figure out how to do this...
Epicarp asked 15/12, 2011 at 13:15

1

Solved

I am trying to apply a buffer of 1000 meters to a polygon shape in JTS Topology Suite. I have identified the method to do it(see link below), but I am not sure what the unit is for the distance par...
Scotfree asked 2/1, 2013 at 20:50

1

Using JTS, how to find the nearest point on a polygon's boundary from an outside point?
Repugnant asked 26/11, 2010 at 7:26

2

Solved

I have a set of X and Y points that builds a shape and I need to know if an object is inside it or not what is the calculation to it ? X and Y coords example: 522.56055 2389.885 544.96 2386.3406 ...
Heirship asked 3/3, 2011 at 0:28
1

© 2022 - 2024 — McMap. All rights reserved.