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

learn more… | top users | synonyms

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
14 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
5 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 ...
2
votes
1answer
155 views

Create image (TIFF/PNG) from geodetic (lat/long) data

Using Java, I need to render a bunch of geodetic data to an image, ideally TIFF or PNG. Specifically this is weather data, with each sample having a latitude, longitude, and amplitude value. I'd like ...
-2
votes
0answers
20 views

Which opensource desktop GIS software is best for adding & editing PostGIS features along with plugin/extension development in Java? [closed]

Which opensource desktop GIS software (among gvSIG, uDIG & OpenJUMP) is best for adding & editing features in PostGIS DB? Also is it possible to develop custom plugins/extensions in Java for ...
2
votes
1answer
104 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 ...
1
vote
1answer
113 views

Displaying coordinate references in GeoTools?

I'm using this library to finish my final project and I have to say I'm no familiar with the maps worlds. My question is if geotools has a method to show automatically the coordinates references in ...
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
584 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 ...
2
votes
2answers
328 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 ...
3
votes
1answer
195 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 ...
1
vote
2answers
162 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 ...
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 ...
3
votes
1answer
623 views

GeoTools WFS Feature retrieval

I am trying to use geotools to retrieve the list of features served by a WFS. I am following the tutorial provided at http://docs.geotools.org/latest/userguide/library/data/wfs.html. The code that I ...
0
votes
0answers
52 views

Obtaining developer kit Eclipse plugin to develop custom toolbox for ArcGIS in Java?

I'm trying to create a custom geoprocessing toolbox for ArcGIS (ArcMap). I've read resources and documentation for days now, but I still wasn't able to get the needed Eclipse Plugin referenced here: ...
0
votes
1answer
139 views

ArcGIS Custom Toolbox crashes ArcMap 10.0

I have prepared Custom ArcToolBox using ArcObjects in java. It was working fine before though was giving NullPointerException but this something java related error and that is fine. Later I have ...
0
votes
1answer
49 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 ...
2
votes
1answer
435 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
1answer
33 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 ...
10
votes
4answers
1k views

How would I create my own geocoding web service

I would like to write a geocoding web service for genealogy in Java. Because it is for genealogy, I don't need to go down to the street level. I only need to go down to the county. Looking at ...
1
vote
1answer
102 views

Update Service config file with ArcIms java connector

We are using arcims java connector to create, update, delete services. it works fine for create and delete. However when we try to update the config file of service (ie : mxd file) the new mxd file is ...
2
votes
2answers
102 views

Framework/software for dynamic WPS creation

We have some specific EO data processing facility and are about to provide an access to one using WPS-based interface. The are plenty of solutions for the task. However, it is hard to find one that ...
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 ...
2
votes
1answer
143 views

Geotools 8.4 CRS.decode invalid(?) reference to HTTP_URI_OGC

I'm trying to do a simple CRS.decode to lookup a CoordinateReference system: E.g. CoordinateReferenceSystem target_crs = CRS.decode("EPSG:4326"); However this fails with a reference to the ...
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 ...
1
vote
2answers
456 views

Get selected features on ArcMap in arcMap Addin (eclipse)

I am building a custom arcMap Addin button which onclick event tells info about selected features. Following is my java class --- public class Break extends Button { /** * Called when the button ...
1
vote
1answer
45 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 ...
3
votes
1answer
74 views

Creation of tiled grid in JAVA with geotols

I am trying to create a grid using GeoTools in JAVA, covering specyfic area with resolution 50 m (distance between two points). To do so I have two points: the most nortwestern (let's call it NW) and ...
-1
votes
1answer
51 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 ...
1
vote
4answers
161 views

Get “approximate” lat/long coordinate for UTM grid zone

I have data assigned with a UTM grid zone designators, such as 10S for example. Now I need an approximate latitude/longitude pair, preferably the center point of the given grid zone. Can you give me ...
2
votes
1answer
51 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
46 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
36 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, ...
2
votes
0answers
41 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
1answer
32 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
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 ...
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 ...
0
votes
1answer
76 views

How to use Intersect tool in ArcObjects

I'm trying to use the Intersect tool in ArcObjects SDK Java with two feature classes. Here is my code: public void intersectTwoFeatureClasses(Object in1, Object in2, Object out) throws ...
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 ...
2
votes
1answer
206 views

How to read each pixel of each band of a multiband GeoTiff with GeoTools Java

I am new to working with Raster in GeoTools-very experienced in java. My goal is to read in a geotiff that has multiple bands, then create a HashMap for each pixel, where the key is simply the lat/lon ...
1
vote
2answers
98 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 ...
2
votes
1answer
76 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
62 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 ...
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
160 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
61 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 ...