I have a featureCollection and I want to save it into PostGIS dataStore. So I'm going to create a database table by geotools. I want to name my table "ali". But I can't rename the schema!
DataStore ...

I have a simple GridGeometry2D in Geotools 13.1 that is created like this:
GridEnvelope grid = new GridEnvelope2D(0, 0, 100, 100);
Envelope2D envelope = new Envelope2D(CRS.decode("EPSG:3857"), 10.0, ...

I am a newbie in geoserver and want to know how to render map (postgis database) in openlayers using geoserver? I want to add the base layer. I tried:
var layer = new OpenLayers.Layer.WMS("OpenLayers ...

What's the best approach to import a user uploaded shapefile into an Oracle DB? The dbf, shx and shp files of the Shapefile come in a ZIP Archive.
Currently, we unzip programatically and then parse ...

I need to create a GeoJSON string, which contains exactly one point at lon/lat 132.159633, 43.350116.
I'm trying to use GeoTools 12-RC1 for that.
Let's say I have following method, which is supposed ...

I'm working on a project in which I cluster locations in New York City based on their distance. My dataset contains latitude and longitude and thus I'd like to project it to a 2D Cartesian space in ...

What I use:
Java 1.7, JTS 1.13, geotools.api 14
What I have finished:
Creating correct JTS geometries from OSM relations, ways and nodes.
What I want to achieve:
Create a csv file which contains the ...

I have a connection with basicAuthentication, the getCapabilities and getFeatureStore return me correct data but when i try to commit a transaction I get the next exception: "HTTP response code:401 ...

I am trying to create a direct connection to ESRI Oracle database for version 9.3.1.
When I try to connect I get this error:
org.geotools.arcsde.ArcSdeException: Can't create connection to none for ...

I am using following code to display geotiff file. Its only a small file 1,5MB but when I am moving map I have online white screen which gets loaded after I finish moving but it is a bit slow for me. ...

I want to develop a GIS application with JAVA. I want to use Spring-4.0.1, and Hibernate-4.3.x. The application’s Database have GeoTable and Non-GeoTable. The records of all tables are modified. I can ...

is there a way to load MBTiles file using GeoTools? I need to work with huge map an so far I have tried PNG + world file which was unusable (slow speed due to large files - 150MB). So I am thinking ...

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

I want to do some checking if my point lies in any of the polygons defined in shapefile. So, I thought that I will determine CRS from shapefile (created in QGIS), and use it for transformation (where ...

I searched all the internet and I didn't find a solution to my problem. I want to convert a JTS geometry to a GML3.1 geometry. Geo tools says that have support but the have not (please check encode ...

I’ve been trying to get my head around the best way to build support for some planning processes we need to invent to support an infrastructure build project.
Today I’ve got my hands on a load of GB ...

I'm working on a project for my school for which I need to use Geotools.
I need to be able to display a raster file and a shapefile, but the shapefile is way bigger than the raster and I just want to ...

I have several geojsons which contain polygons. But the polygons are reaching over other geojsons. When I import them into lets say Qgis, the polygons, which are distributed among several geojsons are ...