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

learn more… | top users | synonyms

1
vote
0answers
30 views

How can I call gdal_translate from Java code?

How can I execute gdal_translate in Java? For example, will something like this work? gdal_translate "PG:host=localhost dbname='xyzy' schema=public' table='xyz'" "d:\xyx\ab.tiff"
1
vote
1answer
51 views

Simple WebMapping application with postgis Database

am very new to web-mapping, so this question may be a little misguided. I want to develop a simple web mapping application using OpenLayers which can display Cadastral information that are currently ...
0
votes
0answers
20 views

How to modify the coordinates of a SHP geometry using Geotools?

I have a shapefile with some polygons. I would like to change the height for this elements using Java. The rest of the attributes should be the same. I've thought using GeoTools but I haven't found ...
-1
votes
0answers
31 views

Number pair clustering [closed]

I have a set of number pairs in random order in an array as follows: (5,6) (2,7) (3,7) (1,2) (3,4) (4,5) I need to link all these numbers based on the common number when comparing pairs. So my ...
1
vote
1answer
44 views

tomcat 5.5.20 on geoserver 2.3

i know it is curious, but i want to run Geoserver 2.3.0 on Tomcat 5.5.20. When i deploy the war file, it deploys successful but i cant start the Geoserver. Message: FAIL - Application at context ...
0
votes
0answers
10 views

which jar file contain net.opengis.wps.x100 and how can I download it?

I want to develope a wps process by 52 north and I shoud use org.n52.wps.server.AbstractSelfDescribingAlgorithm so this class is inherit from net.opengis.wps.x100.ProcessDescriptionType. My question ...
0
votes
0answers
26 views

Simulating Random Movement Google Maps [duplicate]

Hi i have a pair of longitude and latitude coordinates and i would like to make a marker move on a map the path that it moves should be randomly generated however i want the marker to move 1 km every ...
0
votes
1answer
30 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 ...
1
vote
0answers
53 views

retrieve some info from GRIB2 file with JAVA

I've just started parsing some info inside GRIB2 file with NOAA weather forecast, and I am realizing this task is not as easy as I could think 'a priori'. I need to process some info inside JAVA ...
0
votes
2answers
74 views

GeoJSON to Shape file conversion with geotools

Can someone please provide me an example of how to convert GeoJSON to Shape file using geotools?
0
votes
0answers
39 views

DISPLAY SPATIAL DATA USING JDBC ON A JFRAME

I am trying to catch sdo geometries in a jframe of java by converting them into jgeometry. So I just want to draw them out in a frame. It then uses some class in the sdovis.jar library (the rendering ...
0
votes
0answers
52 views

java.sql.SQLException: ORA-13226: interface not supported without a spatial index

I have created a spatial index on the column name and yet, I get an java.sql.SQLException: ORA-13226: interface not supported without a spatial index ORA-06512: at "MDSYS.MD", line 1723 ...
0
votes
0answers
17 views

How to access the USGS Small Scale Shaded Relief from a client application?

I am writing a Java client application that needs to make use of USGS Small Scale Shaded Relief images served as tiles. The supported interfaces are REST SOAP WMS as described at the bottom of that ...
1
vote
1answer
89 views

ArcObjects Java Calculate Line Length

I'm relatively new to programming and ArcObjects. I'm trying to simply calculate the length of a line (test.shp) using ArcObjects and Java. I've tried the code below with no luck. This is simple in ...
1
vote
1answer
603 views

Convert latitude longitude coordinate to x y coordinate?

I'm using a postgis database and java to develop my application. I need to transform my geographic data currently in latitude/longitude format into a x/y format. I found solutions based on UTM ...
0
votes
1answer
158 views

Installing GDAL with Java Bindings (gdal.jar) on Ubuntu 12.10

I am trying to build a postgis importer for mutliple shapefiles. After geotools took orders of magnitude longer than shp2pgsql to import my data, I decided to attempt to use the java bindings to GDAL ...
3
votes
0answers
69 views

Illegal argument exception while reading tiff image using GeoTools

I am working on a Java swings based GIS application to project my tiff image as maps . But each time I run my application I get Illegal argument: "semiMajorAxis=�" . The tiff images I have are working ...
0
votes
2answers
116 views

How can I link java with QGIS?

I want to create a Desktop project on Java which shows radiation dispersion. How can i Link java with QGIS? Is there any tutorial site i can get reference from?
5
votes
2answers
105 views

Need an Algorithm to Determining Polygon Borders

I'm currently writing a program in Java and I'm dealing with polygon objects. I want to create a different color border between touching objects depending on their class (i.e. land, ocean, etc). I ...
0
votes
0answers
23 views

View attributes on combobox in openJump

am trying to code a java class(plugin) that creates a popupmenuitem that brings multiple attributes of the selected layer on a combobox on openjump. am trying now to do the same as the ...
0
votes
0answers
46 views

Getting started to Web GIS development using JAVA [duplicate]

I am a newbie in GIS web development with java. I am starting to chose the tools(open source) to start with. Can i use degree with eclipse or should i use geomajas instead. thank you
1
vote
0answers
43 views

Making tracking data available to Geoserver

I have tracking data from GPS, which gives latitude, longitude, heading, etc. Right now it's stored in a non-standard database (Accumulo) and I'm looking into how best to make the data available for ...
1
vote
1answer
107 views

hibernate spatial DDL creation with maven hibernate3 plugin

This is a very special question, I hope that somebody here already worked in a similar project setup. I am working with Netbeans and started a maven web project based upon the maven HS 4.x tutorial ...
0
votes
0answers
41 views

Insertion Operation While Trying to Connect gvSIG with SQL SERVER

I am trying to create the insertion method in SQL SERVER using gvSIG and Eclipse, but am getting this error, here's the log ( I think the getinsertFeature gets an empty charsetname): Exception in ...
1
vote
1answer
49 views

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

Our team is using ESRI ArcGIS and our requirement is 1.To create a web application in JAVA with a map displaying various data from DB. 2.The data gets updated periodically in the DB and the map ...
2
votes
1answer
50 views

NASA World Wind Pick From A Group Of Icons

I am using an IconLayer in NASA World Wind (Java SDK) to show positioned items on a map which works fine except for when several are in a group and start to overlay one another. The display of the ...
1
vote
0answers
122 views

Geotools, output to kml and convert meters

I have a complex problem. I'm using geotools 10.* I have input data: latitude, longitude (WGS_84), radius in meters, start angle (12 o'clock), end angle (clockwise, i.e. turn to the right). I need ...
0
votes
0answers
53 views

How to convert ISO 6709 cordinates?

I would like to convert ISO 6709 coordiantes to string ? For example Latitude: 1002.0672 N Longitude : 07624.1767 E Can you provide Java function ? I go through it , but didn't get the answer..
2
votes
0answers
213 views

Hibernate Spatial 4 and Postgis 2.0

I'm having some issues integratings this technologies: Hibernate Spatial 4.0-M1 Postgis 2.0.2 (with compiled jdbc 2.0.2) Hibernate 4.1.1 The specific error is: Caused by: ...
2
votes
1answer
78 views

how to create a web app in java(spring framework) with automated service publishing to the ArcGIS server?

I am a newbie and my requirement is to create a web application in java. The app depicts the data like success, failures of my orgainsation's ventures at various Geo locations. The geo data is stored ...
1
vote
0answers
62 views

Renaming Columns in Geotools FeatureType

I am attempting to build a simple java program that loads shapefiles into a Postgis 2.0 database. Everything is working out great except that I would like to be able to modify the FeatureType in the ...
2
votes
1answer
112 views

Creating shapefiles using Java and Accumulo

I have tracking data with latitude and longitude stored in an Accumulo database table. We want to move toward using Geoserver for some layer display features on the client side. Right now I'm ...
3
votes
3answers
134 views

How to access an wms layer that requires authorization via OpenLayers?

Is there a way to send username and password parameter to a wms layer that needs authorization? If not, I guess it's perhaps a non-spatial thing to solve so that you before the javascript sends a ...
0
votes
0answers
14 views

location name judger

I am making a project which requires me to find out if a particular word in a sentence is the name of a city/state/country/any location basically. Can you please help me with some app/ a database.
1
vote
1answer
98 views

Geocode service findAddressCandidates returns no candidates with 10.0 address locator

I posted this on an esri forum but nobody touched it. We've recently updated a geocoding service and I'm now unable to return addresses to my Java application. The old service is built with a 9.3 ...
2
votes
1answer
59 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 ...
0
votes
0answers
27 views

Segmentize a linestring in java

Is there a java function that takes a linestring (com.vividsolutions.jts.geom.LineString) and a number of segment and returns all the point of the new segments. The goal is to simulate several points ...
1
vote
0answers
25 views

When a raster is described in general as either a double or an integer how do conversions work for that type

I know a raster format is essentially a grid of cell values that may have values associated with color, but I'm unsure of how the primitive types factor into the format. In addition if I need to write ...
0
votes
0answers
35 views

Making ArcObjects Java application independent of eclipse

I have a ready Java + ArcObjects application. Inside I create, delete folders in the "bin" directory of the project. There are two folders "input" & "output" without which the application will ...
2
votes
1answer
52 views

Are there any open source distribution raster merging functions within JTS or GeoTools

I'm looking for something similar to the combine function from the ISelectionSet interface from ArcObject's SDK 10 .NET framework on a more scaled down level. Ergo, I don't plan on using that ...
3
votes
1answer
575 views

How to draw polygons on an existing map?

If you want a map with some circles, squares, etc. representing cities or something else you can use the following code. Note that you can change the map and the coordinates with yours, and you'll ...
2
votes
1answer
102 views

ArcObject 10.1 Java : Raster Analysis

I have been working with ArcObjects Java for a short time and have not been able to find a solution to the following problems: How to get the Raster object from a IRaster reference? IRaster raster = ...
1
vote
0answers
35 views

ArcGIS Server 10.0 Java - Upgrading JAI

I am developing a SOE for ArcGIS Server 10 SP 5 in Java. The SOE makes use of some GeoTools functionality - specifically the HeatmapProcess. I have written a small api (with all GeoTools, no ...
0
votes
0answers
25 views

Udig Compatibility with eclipse 3.2

I have an eclipse 3.2 RCP application wich use arcims and kogis api/plugins to display and query arcims server. I will have to change map tools for open source tools. so, I would like to know wich ...
0
votes
0answers
12 views

change the graph location in opentripplaner-api-web.war

I am using opentripplanner to deploy the app in tomcat i have to change the graph.obj location, but doesn't know I can achieve this. I read the "configuring the webapp" but failed to understand the ...
2
votes
0answers
152 views

How to open image file saved with JAI in Geotools?

I need to find NDVI and other vegetation indices and then find changes in time with tif images. I've been using Geotools for this. I took 2 tiff images, then using QGIS I changed them to PNG because ...
2
votes
2answers
249 views

Merging Shapefiles With Geotools

I am trying to merge some shapefiles with different schemas in geotools. Im aware of ogr2ogr, but for now I would like to figure out this problem with Geotools. The steps I'm taking are: 1) Create a ...
-2
votes
1answer
59 views

How do I set the protocolVersion using the jdbc postgres driver? [closed]

I attempted to concatenate a string to the url parameter of the below in order to set the protocolVersion, but I'm not sure how to keep the string in the url without altering the name of the database, ...
1
vote
1answer
76 views

layers in opentripplanner webapp

I am customizing the opentripplanner webapp according to my needs. it has 5 different base layers. but in code (in map.js and OpenLayersUtils) i can't find where it adds these layers to map.
2
votes
0answers
59 views

Basic unit testing for ArcGIS 10.0 Java Add-in

I've been assigned the task of translating an old ArcGIS VBA script into a Java add-in. I finished the rough translation of the code, now I'm starting the debug process. The first unit test I want to ...

1 2 3 4