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

learn more… | top users | synonyms

0
votes
0answers
15 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
15 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
6 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
12 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
28 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
35 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
22 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 LineString ...
1
vote
0answers
46 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
51 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
46 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 ...
-1
votes
1answer
52 views

What application server or web framwork to use

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
11 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
196 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
52 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
47 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
45 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
24 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
33 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
39 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
23 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
70 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
41 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
43 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 ...
1
vote
2answers
102 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
63 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
78 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
31 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
70 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
161 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
62 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
265 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
64 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
83 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
42 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 = ...
1
vote
0answers
48 views

How to use ArcGIS in JavaFX?

Can anyone help me use ArcGIS in JavaFX. I have a sample code but it's in swing application. Sample code for creating a map I would like to use it in JavaFX. Any suggestions?
2
votes
1answer
107 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 ...
3
votes
1answer
213 views

Creating point in shapefile from latitude/longitude using GeoTools?

I m new to geotools and i find bit difficult to plot a point using the latitude and longitude values. can any one heple me out to solve my problem. GeometryFactory geometryFactory = ...
0
votes
0answers
64 views

Problem with ArcGISRuntimeSDK for Java on CentOS 6.2 after Installing AMD Catalyst Driver

I am working to develop an application on CentOS 6.2 using the ArcGISRunetimeSDK for Java. The application works as expected when the default drivers are used (mesa, I believe), but immediately after ...
1
vote
0answers
92 views

How to check if a point is within bounded rectangle from Java

I make an AJAX request to retrieve data from a mysql database. I add the data to google.maps.Data layer as geojson. I would only like to load the data based on the viewport. To obtain the viewport ...
1
vote
1answer
76 views

Java library for reading geojson from MySQL

I am looking for a way to retrieve mysql geometry data as geojson from the database either using a java library or for converting wkt to geojson using either java or javascript. Currently I am doing ...
4
votes
1answer
41 views

Whitebox is not finding my java

I was recently presented to the software Whitebox GAT 'Iguazu'. Unfortunately, I tried to use it in two different machines: one with Windows 7 (64) + JRE 7 (65) and other with W7 (64) + JRE 7 (67) . ...
1
vote
1answer
266 views

How to get Intersection point from two lines (coordinates)

I have tried for ages to find the algorithm for getting the coordinate of two intersecting lines from a given coordinate (latlong). As the picture below suggest. I have two coordinates (A and B). ...
1
vote
0answers
55 views

ArcGIS Server Error - ClientCommunicatorAdmin restart

I am seeing some strange behavior each night with our ArcGIS Sever installation where it will throw the following error and become unresponsive. Sep 01, 2014 4:03:06 AM ClientCommunicatorAdmin ...
1
vote
0answers
38 views

How to create schematic attribute as associated field using ArcObjects?

I'm trying to automate the complete creation of a schematic template with ArcObjects SDK for Java (10.2). I've managed to create the GDB, the schematic dataset and the schematic diagram class ...
2
votes
0answers
201 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
0answers
54 views

Tips design a good key for HashMap using java [closed]

The very basic need for designing a good key is that we should be able to retrieve the value object back from the map without failure HashMap Reference says that HashMap is used for storing collection ...
1
vote
2answers
153 views

Converting Shapefile data to GeoJSON

I have access to some open data for which I want to obtain some coordinates to put onto a map. Unfortunately, the data is in the Shapefile format which is rather difficult to work with. I am trying to ...
1
vote
1answer
57 views

Difference between ArcObjects SDK for Java and ArcGIS Runtime for Java?

I would like to develop spatial tools and automate my spatial analysis process (including converting XY into shp, proximity analysis, network analysis, geocoding etc on thousands of files) in Java. ...