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

learn more… | top users | synonyms

3
votes
1answer
1k views

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

What is the difference between ArcObjects SDK for Java and ArcGIS Runtime SDK for Java and ArcGIS Engine. I have ArcGIS Desktop 10.1 on my laptop. What do I need to create ArcGIS desktop applications ...
3
votes
1answer
313 views

How to Choose Geoserver and GeowebCache Configuration Options?

I have two Win 2008 R2 Servers currently dedicated to running one instance of Geoserver each. We are looking at setting up geowebcache. Win Servers have 2Gb Ram and they do nothing but run Geoserver ...
1
vote
2answers
1k views

ArcSDE 10: How to read/write to Oracle with ST_GEOMETRY using Java

I found the following in the deprecation plan of ArcGIS 10.2: ArcGIS 10.2 will be the last major release to support the ArcSDE SDK with the ArcSDE C and Java APIs. Today many other options are ...
1
vote
0answers
98 views

Routing from individual start point to individual destination point

I'm doing routing on android using OpenStreetMap. The routing is working well. But the problem is that I do not know how to use the individual points of the user. I use osm2po to convert the OSM data ...
0
votes
1answer
126 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
63 views

Problem running mvn install for geoexplorer

What's the solution to this: http://www.paste.to/MjU5ODE= I'm getting the same error on Ubuntu 12.04. Installed with: Java 1.6.0_27 (OpenJDK), Maven 2.2.1 and Ant 1.8.2 Is the Ant version the ...
1
vote
0answers
134 views

Why use C# rather than Java API of ArcGIS Engine (or vice versa)?

I'm going to lead a development of an ArcGIS Engine application and facing the choice mentioned in the title. We have all licenses to develop our application in C#, so Microsoft's licences are out of ...
1
vote
0answers
301 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, ...
0
votes
1answer
125 views

Spatial query without spatial database module

I have the following scenario: Oracle database without the space module. Application in JEE2 with the following architecture: -- Entity -- Persistence (DAO / JPA + JDBC) -- Business (BC) -- Vision ...
0
votes
2answers
235 views

Destop application using arcobjects library

I develop a destop application with following environment - 1) Java jdk version 6 update 25 (for 32bit ). 2) Java Arcobjects Library. 3) Window Xp. Its working smoothly on 32 bit Computer , my ...
0
votes
1answer
62 views

What does `findCloseEdges` do in osm2po?

I have something like this: int[] edges = graph.findCloseEdges(lat, lon, 1); // returns only one element RoutingResultSegment rrs = graph.lookupSegment(edges[0]); LatLon[] latlons = rrs.getLatLons() ...
0
votes
1answer
127 views

Get road type (clazz) in osm2po

Can I get clazz of a segment in Java? For example, RoutingResultSegment rrs = graph.lookupSegment(path[j]) How can I get rrs's clazz?
0
votes
0answers
83 views

Does ArcGIS (arcObjects SDK for java) support multiline labels using TextSymbol?

Is it possible to add multline labels using textsymbols in ArcGIS 10.1 (SDK for Java) in a 3d model? In my system, even the spaces are getting omitted, for a String s="this is \n war" Label ...
1
vote
0answers
27 views

examples for Text3dElement

i am working in arcgis10. in java. can you all provide me with links to some sample program of Text3dElement. til now what i have implemented is given below Text3DElement td=new ...
0
votes
0answers
66 views

unable to insert newline and spaces in textelement in java

i am working in arcgis desktop with eclipse in java. i have created a textsymbol and added it to a textelement which i need to add on another layer(the model is a 3Dglobe and not a map). i am able to ...
0
votes
2answers
363 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
59 views

Does charactermarkersymbol work differently in linux?

I have just started working in GIS. i am trying to project an aeroplane glyph font (character index=111) using charactermarkersymbol but unable to do it in linux. I am getting the same spherical ...
5
votes
4answers
394 views

Migrate in a new programming GIS language

The last five years I have been working with VBA and ArcObjects for developing a specific application within ArcGIS. That project that began around 2008-2009 carried out with VBA and ArcObjects which ...
0
votes
3answers
339 views

REST backend framework for routing?

I'm looking for a framework in Java or PHP to use it as backend for a mobile application. It should (if possible) implement REST services, geo functions for routing and CRUD services. I found the ...
13
votes
4answers
3k views

Geocoding API Comparison

Is there a good updated source for comparing existing Geocoding APIs (i.e. Google, Mapquest) and their features? I'm really interested in their language support as well. For example, Google has ...
0
votes
0answers
244 views

Getting Subtypes of feature Classes using arc Object Java

I am developing a tool to demonstrate subtypes of feature classes in a geodatabase. My code works until printing feature classes. Can anybody assist me by providing a right way to print subtypes of ...
3
votes
1answer
280 views

How to parse ArcGIS Server generated output XML?

I have a use case in which I need to parse the XML generated by an ArcGIS server, then push that data to another API. The ArcGIS server sits behind the firewall at our customer's site and exposes a ...
1
vote
1answer
139 views

Access Personal geodatabase using java

Following example through ESRI is to access the features of file geodatabase (GDB) , ...
11
votes
3answers
848 views

How to build a portfolio for a GIS/Java career path?

I have been a GIS Analyst for over 10 years and am currently studying java (50% through the course). My plan is to develop GIS applications mainly focused towards open source solutions. I would like ...
1
vote
1answer
472 views

Display Shapefile on website (Java or PHP)

i have to write an application where similar to Google Maps where i have to display a shapefile in a web application. My available technologies are Java (frontend framework: Apache Wicket) or PHP. It ...
2
votes
0answers
373 views

How to start developing with Jeppesen C-MAP?

I've just downloaded all the contents from the FTP of Jeppesen for their product called C-MAP CM93. I've been reading the documentation contained in the SDK folders, but I can't figure out how to ...
1
vote
2answers
307 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 ...
1
vote
2answers
138 views

How to use Advanced Symbology in ArcGIS for Android?

I try to use the advanced symbology in order to draw nato symbols in JAVA I need little help about it, What the parameters _WKID mean like in this command : lmessage.setProperty("_WKID", "3857"); ...
1
vote
0answers
132 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
467 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 ...
2
votes
1answer
186 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
vote
0answers
140 views

add an INDEX to an IFeatureClass with ARCGIS Java sdk

I want to add an index to a feature class. To do so, I used the very short and complete example given there: ...
1
vote
1answer
319 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 ...
2
votes
2answers
97 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
715 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 ...
2
votes
2answers
710 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?
1
vote
1answer
325 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
1k 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 ...
2
votes
1answer
2k 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
186 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 ...
1
vote
2answers
1k 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
322 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
53 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
2
votes
3answers
233 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
232 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 ...
1
vote
1answer
140 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
219 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 ...
2
votes
0answers
494 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 ...
7
votes
1answer
1k 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
215 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 ...