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

learn more… | top users | synonyms

0
votes
0answers
20 views

Spatial and property search

We have a lot of polygons(some of them contain holes) and there are also a lot of points inside different polygon, these data are processed as ESRI geodatabase format. Now we have to do some spatial ...
2
votes
0answers
18 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 ...
0
votes
0answers
18 views

Find if location is land or water in WorldWind

I know in WorldWind Java you can find out the elevation and a particular location with something like this: public Double getPositionElevationMeters(Double lat, Double lon) { double elevation = ...
2
votes
2answers
157 views

GeoJSON java library

I am creating a Java web service that receives GeoJSON. Does anyone know a java library to manage GeoJSON?
1
vote
0answers
9 views

TIFFDirectory.getAsMetadata() is not including GeoTIFFTagSet. Any solution to this problem? — JAI

The source code appears to simply copy the TagSet List object to the IFD and then the TIFFMetadata. I don't understand where it is losing the tagset as it is in the list before the call. Anyone ...
2
votes
1answer
109 views

Java packages for landsat 8 processing?

I am looking for the same packages as outlined in this question - Are there Python packages for Landsat 8 processing? except that I want these in Java. Any Open Source packages out there that can do ...
0
votes
0answers
31 views

API for Java and JavaScript app integration

Are there any APIs to make calls or integrate JavaScript functions to a Java written application? I have come across Rhino's liveconnect.js, but this is uncharted territory for me, and would like a ...
0
votes
0answers
11 views

Geotools/Geoserver Modifiy interpolate function with dynamic color fill

Here I am again with a different approach to my problem. I use the interpolate function in geoserver to get a choropleth from my data. The problem is that I have to hardcode the color for each value ...
1
vote
0answers
21 views

Leaflet CRS.Simple or CRS.EPSG3857 conversion Problem

I'm using v-leaflet (0.61) , a vaadin plugin, to visualize some layers over a map. Clicking on the map, I create a wms query to geoserver. The query needs some parameters and one of them is the bbox. ...
1
vote
0answers
10 views

How to add buffer in geomajas

I am new user to geomajas.I have created geomajas plug in and I am using geotools to add shape files. and I want to create buffer on layer(road layer,or polygon layer) ,but i am not getting exact ...
1
vote
1answer
48 views

Cover a polygon with fixed size squares

Can you please advice me of an algorithm (which I can implement in a Java) to cover some polygon (not exact cover) with squares of certain size (aXa squares)? The cover doesn't have to be exact - ...
2
votes
1answer
28 views

ArcGIS Runtime SDK for Java - WebMap display issue (spatial reference construction error)

I'm trying to display a map which I created and uploaded on ArcGIS online as a map package: map = new JMap(); Portal portal = new Portal("http://www.arcgis.com", null); PortalItem item = null; item = ...
2
votes
1answer
78 views

Choosing a platform for developing opensource GIS web application.

I am from a non programming background. I started learning GIS opensource web applications from last 3 moths. Now I am using only notepad++ for writing codes and I am familiar with javascript, HTML ...
0
votes
0answers
23 views

Unit of Geotools' getArea function

I have Polygons with WGS84/EPSG:4326 coordinates (like 13.57933804767844,52.5126298984133) and use the Polygon.getArea function to obtain the area of the polygon. But the result I get is something ...
0
votes
2answers
28 views

Spatial Reference Conversion

I am currently having some problem with the spatial reference projection on the map in Android. Basically I have a base map which is OneMap and all the coordinates stored in database is in SVY21 ...
0
votes
0answers
6 views

Using CQL to query Multiple WMS layers? [duplicate]

I have two WMS layers, one with points which lie on a state map. I want to use cql to display a particular state and points on it ..when I separate the queries with a semicolon (ex ...
1
vote
1answer
27 views

How to split a geotiff into a standard tiling scheme with Geotools in Java

I would like to tile random geotiffs to a standard grid, with a standard size of 256X256 using Geotools in java. My use case is as follows: I receive a "stream" of raster data in the form of multiband ...
1
vote
0answers
14 views

Geomajas Error“org.springframework.beans.factory.BeanNotOfRequiredTypeException”on Feature Info Tool

I am using use geomajas 1.12.0 version. I have with published road.shp file on map. i found this error when i use show feature information tool on my vector layer(road layer) with my road layerOsm ...
1
vote
0answers
15 views

how to integrate geomajas i.e. clientside gwt base framework and serverside

I am new to geomajas opensourse project.I have successfully build client-GWT maven project and server-side maven project.Now i want to integrate client side with server side project so that i can use ...
1
vote
1answer
39 views

Best way to store raster data with Java into Oracle spatial

I have a Java application that processes raster data. At the end of the process I plan to store the raster in oracle spatial. What is the best way to do this? I had a look at geotools but I did not ...
2
votes
1answer
43 views

How to set the extent of a rotated data frame from a rotated rectangle using ArcObjects?

I use ArcObjects to produce a map document. I have a rotated rectangle that I want to be the exact extent of my data frame. So, I want to rotate the data frame with the same orientation than the ...
0
votes
0answers
34 views

How can I draw a Line on a Shapefile?

I have a problem, in Java I can draw points on my Shapefile, but I don´t know how to draw a Line. I found the SimpleLineSymbol, but don´t know how to use it further. My first try was ...
1
vote
0answers
59 views

Why does this Geotools Java reprojection to WGS-84/4326 cause offset?

I am using the block of code below. I am reading in a geotif with a UTM zone projection and converting it to 4326. I am pulling out certain multiband values and creating a new raster, when I plot the ...
0
votes
1answer
57 views

What's the best way to break closed polyline using ArcObjects?

I have a polyline feature class with several closed lines (the start point = the end point). I need to break these lines in two features, using ArcObjects (doesn't matter Java, VB or C#). I have ...
1
vote
1answer
60 views

Geotools create/save shapefile has no geometry information

When I create and save a shapefile in GeoTools, then open it in ArcGIS or QGIS, it doesn't show up on the map, even though the features are there in the attribute table (and all attributes I added ...
-2
votes
1answer
65 views

What application server or web framwork to use [closed]

I'm looking to make a webmapping app, which gonna use Geoserver as carto server, and Postgres/postgis as Dabatase, and Extjs as client UI. but i'm in dilemma in application server side, between PHP, ...
1
vote
0answers
14 views

Long delay when updating rows of a feature layer or modifying elements of a graphic layer using arcObjects in java

We are developing a simple AddIn for arcMap for the first time using arcObjects in java. The application consists basically on the following steps: 1. Obtain a Network layer which was loaded in ...
3
votes
1answer
206 views

Geotools shapefile and geotiff displaying problem in JMapPane

I'm trying to get a JMapPane to show up in a JPanel, but without success. Below is the JPanel instance containing the map. I am importing a geotiff and a shapefile layered in that order. Not only does ...
2
votes
1answer
82 views

Read In SRTM HGT elevations using Java

I have read the following posts on reading in SRTM HGT elevations- How do you convert SRTM HGT elevations from WGS84 into meters above sea level? and How to extract elevation from .HGT file? I am ...
2
votes
1answer
53 views

Solving java.lang.RuntimeException: No osm2po-GraphFile?

I tried to use osm2po as library and to write a simple routing program based on the sample code listed in (http://osm2po.de/) However, when I try to load the .pbf file into the data structure ...
2
votes
0answers
52 views

Geotools wfs getFeature

I want to retrieve the feature Collection from a wfs server with the java library GeoTools. I tried this code, but unfortunately the program fails to execute. public class App { public static void ...
2
votes
0answers
26 views

inputing road network as nodes and arcs in java

I want to input a road network as nodes and arcs. Some of the nodes are intersections, others serve to describe the shape of the road. Road network should be modeled as an embedded graph consisting of ...
2
votes
1answer
42 views

Generate a game world using planet.osm (in .pbf format)

I've recently downloading openstreetmap's Planet.osm for use in an experiment whereby I plan to generate a video game world based off of the planet. openstreetmap's wiki hasn't been very useful, and ...
2
votes
0answers
44 views

how to get a feature from coordinates in geotools [closed]

I'm working on web services in Java and using GeoTools java api for wfs operations. I have a wfs store and a lot of features in it. I do some operations via geotools wfs api for example buffer, ...
1
vote
1answer
25 views

Invoke OSGeo4W commands with Java

I want to use the command gdal_polygonize image.png bla in a Java for-loop, where image.png and bla changes in every iteration. How can I do this? I searched for it on google and stackexchange and I ...
1
vote
0answers
76 views

I have WIKI VGI Java based query doubts?

I have a code snippet in Java to query wiki volunteered GIS. This is first time I am using java and finding it difficult to answer some queries. package org.wikibrain.cookbook.MOOC; import ...
3
votes
1answer
50 views

How to set decimal precision in shapefile via javacode

we are using the below code : SimpleFeatureTypeBuilder builder = new SimpleFeatureTypeBuilder(); builder.setName("Location"); String wkt = "GEOGCS[" + "\"GCS_WGS_1984\"," + " DATUM[" ...
1
vote
0answers
56 views

Extract polygons of PNG with GdalOgrInJava

I have PNG pictures with polygons of different colours on them. What I plan to do is to extract these Polygons using the polygonize function (see here) Then I will try to encode the polygons in ...
3
votes
2answers
164 views

Looking for an open-source Java based GeoTIFF library

I have written many programs for reading and writing various types of spatial data in the past but I must admit that the GeoTIFF format has often gotten the better of me. It's such a flexible format ...
0
votes
1answer
69 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
87 views

Suggestion for java based GIS sdk for desktop application

I am developing a desktop GIS application using JavaFX that needs to run on Linux. I have been using ArcGIS java sdk and it is really good for all my requirements. But when I started testing it on our ...
0
votes
1answer
39 views

Exception error when enabling workspace specific services in Geoserver 2.5 OpenGeo suite

When I try and enable a workspace specific WMS in the bundled GeoServer app form boundless I get the following error. java.lang.reflect.InvocationTargetException This is running on OSX 10.9.5 with ...
2
votes
1answer
71 views

Whitebox GIS installation on linux

Can anybody give guidance to installing Whitebox GIS software on linux? I have already: set up a clean xfce4 machine installed java 8 successfully unzipped the latest version of whitebox (Iguazu ...
2
votes
0answers
212 views

Sqlite insert java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (no such column: SRID)

I'm trying to connect to two DBs and then copy tables by inserting rows from one table to another through java using JDBC. I'm using sqlite-jdbc-3.7.2.jar plugin.The setup is in Eclipse Luna. I'm ...
2
votes
1answer
65 views

What does the values in column clazz (osm2po) mean?

I have a given table in postgreSQL with OSM data which is used for routing purposes in Java with PGRouting. There exist two columns which I don't understand. They belong to osm2po. They are labeled ...
2
votes
0answers
29 views

Transforming from Java EE developer to GIS developer?

Currently i am working as Java Analyst programmer. But i want to transform from Java developer to GIS developer. I tried to pursue MS in SDSS but did not completed my Master Thesis. I have knowledge ...
3
votes
1answer
340 views

How to correctly configure OSGeo4W64 for Windows 7 64-bit?

I have successfully installed OSGeo4W64 on numerous new systems (actually EC2 instances) and had no issues. But I've run into an issue with it on a Windows 7 workstation that has a lot of JREs on ...
0
votes
0answers
69 views

Geoserver ( Java.exe ) cause server to run 100%

Our server runs at 100% CPU when using map services build on geoserver + postgresql I can not find anything in geoserver logs. It is Java.exe takes 100% CPU and because of that server can not do ...
3
votes
2answers
106 views

Displaying a GeoServer Map from a Java Mobile Application

How can I display a Map generated by GeoServer from a Java Mobile Application? I would like to display it inside a Java App instead of a android application. Is this possible?
0
votes
1answer
58 views

GeoTools exception: failed to connect to EPSG database

I downloaded the GeoTools 11.2 binary and am attempting to get it to run in my Netbeans java application. I tried to run this part of code: ... SimpleFeatureSource source = ...