An object-oriented cross-platform programming language developed by Sun Microsystems.

learn more… | top users | synonyms

1
vote
0answers
8 views

Query all Object within n kilometer Radius with Hibernate Spatial?

I use hibernate spatial attach a geolocation to a car. My card domain class looks like this: import com.vividsolutions.jts.geom.Point class Card { String name Point location } My program is ...
0
votes
2answers
35 views

GeoServer failed to start on Tomcat 8.0.24

I am trying to get GeoServer up and running on an Amazon EC2 instance but it does not work. I am using Java 8 (Oracle) and Tomcat 8.0.24. The thing is I have got the same stack up and running on a ...
0
votes
1answer
134 views

Extending ArcGIS Desktop using Python vs Visual Basic vs Java? [on hold]

I have to extend the features of ArcGIS. I've been asked to create a model written in Python that can run out of ArcGIS 10. This model will have a simple user interface where the user can drag/drop ...
0
votes
1answer
44 views

Points contained in envelopes that cross date-line - java

I'm using the ESRI Geometry Java API https://github.com/Esri/geometry-api-java I want to construct an envelope and see if it contains certain points. It's possible the envelope crosses the ...
3
votes
2answers
594 views

What software would be useful to create General Transit Feed Specification (GTFS)?

I am doing a project in which i am required to create GTFS. I look at transit google developer forum which provide a format to create feed but that completely have to done by hand (we have to write ...
2
votes
3answers
6k views

Displaying Google Maps and OpenStreetMap map in Java?

Is there any Java API that is like OpenLayers ? I would like to display google Maps and Openlayers Maps in a java application
1
vote
2answers
291 views

Create shapefile from data PostGIS or KML using Java

I'm working on a geographic information system project, whose products form shapefiles. I am using the Java programming language and a PostGIS database. Is there a way to generate a shapefile from ...
2
votes
1answer
21 views

JAVA GIS create shapefile from FeatureLayer

The title kind of saids it all. I am attempting to export a featurelayer to a shapefile and am not having any luck finding a library which includes this functionality or relevant code to see where to ...
0
votes
1answer
25 views

How can I determine elevation levels for a region in Java?

I need to find out the elevation levels for a certain region (center is located at 132.159633, 43.350116). For this purpose I went to the Elevation finder and downloaded there the relevant part of ...
1
vote
1answer
893 views

ArcGis Server Java script API error code 500 while using proxy.ashx on one particular server

I am looking for help with using proxy.ashx in Javascript API on one particular server at a client site. We have a GP service that the proxy is used to access (when request is more than 2048 ...
0
votes
1answer
174 views

osmosis library in java application

I want to do a navigation application OSM PBF files. I'm using the pbf files from the osm website. I was looking for a way to access the pbf files, I found that it can be accessed using the osmosis ...
2
votes
1answer
486 views

Getting DataStore Problem with Geotools

I recently found an issue with Geotools and getting the datastore for a shapefile. If I try: FileDataStore dataStore = FileDataStoreFinder.getDataStore(file); -or- Map connect = new HashMap(); ...
1
vote
0answers
10 views

Making feature layer selectable in ArcObjects Java without getting AutomationException 0x80004005?

I am currently making a FeatureLayer from a resultset. The feature layer seems to work properly and will display on the map. However when I choose "select all" on my feature layer I get the ...
1
vote
2answers
43 views

How to programmatically import a Shapefile into Oracle DB using Java?

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 ...
-1
votes
1answer
43 views

GeoTools decode FeatureType

Encode: 1- A way of encoding a FeatureType is: SimpleFeatureType TYPE = DataUtilities.createType("Location", "geom:Point,name:String"); GML encode = new GML(Version.GML2); encode.setBaseURL(new ...
0
votes
0answers
10 views

How can I use geoserver's user management for my application

I'm developing a gis application with java. My layers are in geoserver. Layers have different permissions, some layers have public permissions and some of them have private permissions. for private ...
2
votes
1answer
475 views

JTS - Java Topology Suite - Calculate radius from a given point

From point A, I want to check if a point B is within a certain radius from A. How calculate it usindo JTS? I tried this: Coordinate posicaoAtual = new Coordinate(-12.974900375893823, ...
2
votes
1answer
55 views

How can I integrate my application security with GeoServer security

I'm going to develop a map server with my own logic and entities. It will have a Postgres database, user management, specific layers with certain types, WFS, WMS, etc. I'm going to use springframework ...
0
votes
0answers
38 views

Establishing direct connection to ESRI geodatabase on Oracle hangs while not in debug mode

Recently I have been trying to establish direct connection to oracle geodatabase using Java API. The problem is, that when I execute the code, the connection works fine only in debug mode when I ...
2
votes
3answers
422 views

From OSM to shape. Parsing problem

I'm working at OpenStreetMap project for android at the moment. I want to retrieve OSM data from my app(nodes, markers and paths) and convert it to shape file (.shp, .dbf and .shx). Later, I'll load ...
2
votes
1answer
260 views

Read DGN file in java or c#

I'm looking solution to read DGN file in java or c# without any success. Gdal makes many problem and doesn't support all element eg. complex element. Does anyone know of a library that supports the ...
2
votes
1answer
248 views

Advice needed on JavaFX Map Rendering

A few months ago I inherited an old (10+ years) Java Desktop application that used maps and simple icons to represent point data to various users. The application was writted in Swing and used Esri ...
5
votes
2answers
582 views

What does it mean to QI and how is it done?

I'm new to Esri's Arc* interfaces, and trying to figure out how to register an existing table using the ArcObjects API. The following question answers this to some extent: Is there any way to write a ...
3
votes
1answer
42 views

How do I produce a GeoJSON with 1 point at a certain lon/lat?

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 ...
1
vote
0answers
28 views

How do I add my code to Geoserver?

I get geoserver 2.8-SNAPSHOT code from github. I delete some madules of it. Geoserver developed with Spring framework, Now I want to add my Controllers to this project. Some of My controllers have ...
0
votes
0answers
30 views

Gdal Polygonize Java

I tried to use the gdalPolygonize function within in java. What I did Installed gdal-111-1800-x64-core from the following link ...
1
vote
0answers
19 views

How can I manage geoserver requests and my page requests in web.xml file? [closed]

I'm developing an GIS application. I need wfs and wms protocol in my application. I want to use Web Feature Module, Web Map Module and Geoserver Web Modules of Geoserver's modules. For using these ...
0
votes
1answer
38 views

How to do a coordinate transformation with EPSG codes in CTS?

Let's say I want to convert the following WGS84 (EPSG:4326) coordinate to UTM32N (EPSG:25832): 54.321, 9.876 Is there any tool to reproject x,y coordinates, apart from Proj4? links to the CTS wiki. ...
0
votes
1answer
60 views

What simple and light Java library to use for WGS84 to UTM conversion?

Geotools and Geotoolkit are huge and complicated. CTS (1.3.3 from Maven) failed on me by not even being able to run its own test example (slightly modified ...
0
votes
0answers
30 views

How to read/write a DGN file with java?

I want to read/write a DGN file with java code. Is it possible?
0
votes
0answers
30 views

Exception access violation while executing Java ArcObject application

I have developed an visual application using ArcObjects SDK for Java 10.2 which worked well until yesterday. Since, I'm facing a fatal error (full trace below) while I don't feel I have changed ...
0
votes
2answers
88 views

Using Geotools: How to convert these strange coordinates from a shapefile into regular lat and long?

I use this dataset from the European Union: http://www.eea.europa.eu/data-and-maps/data/administrative-land-accounting-units Opening the shapefile with Java' Geotools, I see coordinates like: ...
0
votes
0answers
21 views

Merging - Aggregation of Rasters

I'm a beginner in Java and a geomatics student. I'am using IntelliJ and I work in Java. I create two raster with the BufferedImage Java class. Raster1 Raster2 These images show for raster1 the ...
0
votes
0answers
34 views

How to access an ArcGIS Server secure service from java

I want to call an ArcGIS Server service through Java. The service is locked and only the publisher and administrator can access it. If I know the credentials, what sort of authentication should I ...
0
votes
1answer
150 views

How can I see specific location on java desktop application?

I want to see a desired lat/lon point on the google maps on my java desktop application. I made some search so I think google map API is something which I looking for. Am I right? and Is there any ...
1
vote
0answers
99 views

lat lon to ease-grid 2.0 using proj4j

I’d like to use PROJ4J to project wgs84 lat lons to the Equal-Area Scalable Earth (EASE) 2.0 Grid. It seems the EASE 2.0 grid uses the Behrmann projection which is just an Cylindrical equal-area ...
0
votes
0answers
14 views

How can I get back to the Feature that my Geometry is the geometry of?

Let's say I have some Feature and just got its Geometry out of it. Geometry geometry = feature.getGeometry(); Is there a way to get back to the "originating" feature if I did not have the variable ...
0
votes
1answer
55 views

Run the GUI of JTS 1.12

I've got an error in JSTS (JavaScript Topology Suite) library based on JTS (Java Topology Suite) v1.12 (r405). But there is no error in the last build of JTS on the same test case. So I want to check ...
2
votes
1answer
367 views

How to convert shp to csv

I am trying to convert my shape files to csv through a batch processing in Java using Geotools. The problem is I have more than 500 shape files (point features). The code is working fine for a small ...
1
vote
1answer
52 views

How save modified features in server side with java and geotools?

I'm developing a gis Application with java. I use Spring 4.0.1 and GeoTools-13-RC1 in server side and OpenLayers 2.13.1 in client side. In client side, I have a wfs layer and it is as follow: var ...
0
votes
1answer
124 views

How to delete a feature class from a GDB using ArcObjects for Java?

I've seen this solution which may works in ArcObjects for VB/.Net: How to overwrite a shapefile or feature class using arcobjects When I try to convert it into Java, I get a ClassCastException on ...
1
vote
1answer
145 views

Is it possible to run ArcGIS Engine 10.2 in Java 7?

Does anyone know if it's possible to run ArcEngine 10.2 in Java 7 ? Currently in Java 6, I need to use both ArcEngine 10.2 and Java 7 functions in the same standalone program. (I don't talk about ...
1
vote
2answers
329 views

Where is the open Java client for ArcGIS Server?

Short of hacking the Android SDK into your Java project, are there any Java clients that can consume and work with ArcGIS Server services? e.g. create Feature Sets, Geometries, perform ...
1
vote
1answer
175 views

Use Java to automate service creation and display up to date data on map?

Our team is using ArcGIS and our requirement is To create a web application in JAVA with a map displaying various data from DB. The data gets updated periodically in the DB and the map should ...
0
votes
0answers
24 views

xml Response Document into OGC-WPS standard: a execute java process solution

I'm implementing some java process into Geoserver OGC-WPS standard. I start with the following simplest code: package org.geoserver.wps.nais; import org.geoserver.wps.gs.GeoServerProcess; import ...
1
vote
4answers
1k views

How to get intersection point from two lines (two coordinated points and two bearings)

I have tried for ages to find the algorithm for getting the coordinate of two intersecting lines from two given coordinated (latitude and longitude) points. As the picture below suggests, I have two ...
1
vote
0answers
25 views

Grow area in one direction

I am using GeoServer WPS process to process two geometries. I want to expand one of the geometries in the direction of the other. So far I am using the .buffer function but it expands the geometry in ...
1
vote
1answer
1k views

How to connect GeoServer with Java to a PostGIS/PostGres database?

I am having trouble using GeoServer to perform a shortest path analysis between two network points. My question is about connecting GeoServer with Java to a PostGIS/PostGres database. I know that in ...
0
votes
0answers
79 views

java.lang.IllegalStateException: Form too large 326482>200000

I have a problem with Geoserver style creator! When I want upload a SLD file that I create it by QGIS I will see this error! Geoserver 2.6-SNAPSHOT, QGIS 2.8 HTTP ERROR 500 Problem accessing ...
0
votes
0answers
22 views

GeoTiff error when building Jar with GeoTools

I'm seeking some help with GeoTools. I've been using it for a school's project, I had almost no problem until now. But now that my project is done, I've tried to build an executable jar with the ...