geotools 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

7

Solved

I am running Geotools inside of Apache Storm, and having a heck of a time with geotools dependency management. Every thing works when I run the storm cluster locally (windows 7 laptop), but when I ...
Tinny asked 11/12, 2014 at 17:42

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

5

Solved

I get an error downloading javax.media.jai_core:1.1.3 from maven central. The error is: download failed: javax.media#jai_core;1.1.3!jai_core.jar using play compiler.
Lavern asked 18/11, 2014 at 11:23

4

Solved

Looking for a java utility. It is even better if you can tell me how to do it using geotools library.
Chickasaw asked 25/11, 2011 at 1:13

3

Solved

Right now I have: Polygon circle = geometryBuilder.circle( myLong, myLat, radiusInMeters, 10); And it creates (with lat=28.456306, long=-16.292034 and radius=500) a nonsense polygon with huge l...
Samalla asked 7/4, 2016 at 16:8

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

5

Solved

POM is <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs...
Marcel asked 25/4, 2013 at 22:7

2

Solved

I am having a json object as area : CIRCLE (28.625360369528934 77.2227479486792, 3135.6) how to parse it using WKTreader?
Handle asked 19/1, 2017 at 20:32

2

Solved

So I'm playing with geotools and I thought I'd proxy one of their data-access classes and trace how it was being used in their code. I coded up a dynamic proxy and wrapped a FeatureSource (interfa...
Glandulous asked 15/4, 2010 at 4:19

3

Solved

I recently started my first program with GeoTools in which i was also using JAI- Java Advanced Imaging 1_1_2_01 with JDK 1_7. It worked fine until I added GeoTiff Jars. I found following error E...
Tiliaceous asked 29/7, 2016 at 5:34

1

Solved

First of all, I'm new to GIS, so pardon any mistakes. I need to discover the distance between a latitude and longitude point and a latitude/longitude polygon (regular or not). Precisely, I need to ...
Spoof asked 15/7, 2016 at 19:50

5

Solved

Does anyone know of a way, in Java, to convert an earth surface position from lat, lon to UTM (say in WGS84)? I'm currently looking at Geotools but unfortunately the solution is not obvious. ...
Barfuss asked 6/10, 2008 at 20:50

1

I am testing adding a collection of points to a map utilizing the Geotools API. I've been following this example as best I could Problem creating a point and adding it to FeatureCollection, as the ...
Clarettaclarette asked 10/4, 2015 at 17:22

3

XCode comes out of the box with support for Ant (with several sample projects you can generate). How can I configure XCode to use maven pom.xml files? Fore reference the project I am trying to se...
Vindictive asked 24/4, 2011 at 3:31

1

Solved

I use this code to convert a kml file with a single feature to a GeoJson file. String kmlToGeoJson(String fileName) throws IOException, ParserConfigurationException, SAXException, XMLStreamExcep...
Cythiacyto asked 28/10, 2015 at 8:48

3

We are building a service for uploading zip-files containing an ESRI-shapefile. The service should be able to read the shapefile and do stuff with its content. So I've built a class that unzips the...
Nigel asked 9/1, 2013 at 16:45

1

I have found a useful tool to convert .csv files into shape files with geotools: But I have a problem running it, I get following maven error: Failed to execute goal org.codehaus.mojo:exec-ma...
Chekiang asked 14/10, 2013 at 8:23

5

I'm interested in writing a visualization program for the road data in the 2009 Tiger/Line Shapefiles. I'd like to draw the line data to display all the roads for my county. The ESRI Shapefile o...
Conduction asked 11/1, 2010 at 20:57

1

Solved

I'm reading attributes from a shapefile using geotools 10.1. I don't understand why throws an exception after print all features attribute. This is the example code: import java.io.File; import j...
Rawls asked 9/11, 2013 at 19:54

1

Solved

Any Geotools developers here? We discovered the following strange behaviour of GeometryJSON: Geometry geom = getGeometry(); System.out.println(geom); GeometryJSON g = new GeometryJSON(); Stri...
Macule asked 8/11, 2013 at 12:48

1

I am using geotools to extract data from shapefiles and store them into mysql. My application works all the time but I get this lock every so often which i cannot understand why, as it still works ...
Mori asked 9/7, 2012 at 15:48

10

Solved

I am looking for a Java library to display map data from various sources, including shapefile, WMS, WFS, Google Maps, possibly ArcIMS, etc. It seems like OpenLayers is the closest thing to wh...
Lists asked 21/5, 2009 at 22:49

2

Solved

What is Google map's spatial reference system using when you enter a lat, long into the maps search bar? I've found hints that it might be WGS84 but after converting to that coordinate system, not...
Lex asked 4/11, 2009 at 21:57

2

Solved

I will use com.vividsolutions.jts.geom.Coordinate as my coordinate class. But don't find any document which is the correct order of the coordinate. is it standard? Here's the java doc link -> http...
Ferraro asked 24/11, 2011 at 7:44

© 2022 - 2024 — McMap. All rights reserved.