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

learn more… | top users | synonyms

0
votes
1answer
80 views

Can I use GeoTools with Gradle?

I am going to implement shapefile uploading from a webform, and ingestion into PostGIS. One problem I am having is that my project is using Gradle for dependency management. I am unfamiliar with ...
1
vote
2answers
146 views

Where is the open Java client for ArcGIS Server?

Short of hacking the Android SDK into your Java project, are there any Java clients that can consume and work with ArcGIS Server services? e.g. create Feature Sets, Geometries, perform ...
2
votes
0answers
267 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
0answers
34 views

giving a java program access to network analyst calculations

I have a fire department simulator written in Java that simulates a year of fire department responses. There is a Java method/function that calculates time between two coordinates using a fairly ...
0
votes
0answers
93 views

Create shape file with point

I am trying to create a .shp file with Point shapes. I am following this tutorial: http://docs.geotools.org/latest/userguide/tutorial/feature/csv2shp.html I create the project, no syntax error and ...
0
votes
1answer
126 views

getDestinationGeographicPoint() in geotools returns wrong coordinates in South/West

I am trying to calculate a coordinate given an azimuth, distance and start point. If my code uses an start coordinate in North/East quadrant, all goes fine. But, by using 0,0 coordinates, an azimuth ...
3
votes
1answer
215 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 ...
0
votes
0answers
28 views

GDAL could not initalize class gdalconstConstants

Sorry, another GDAL issue. Just got the GDAL wrapper successfully working in Java. All goes well so far, opening a file with gdal.Open(), got the georeference data from GetGeoTransform(). In the next ...
3
votes
1answer
579 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 ...
1
vote
1answer
546 views

OpenLayers - Show a WMS Layer from GeoServer

I'm trying to acesses with OpenLayers code an example of the embedded GeoServer map (the map of tasmania), which acts as a local server on my machine. However, every time I open the .html, the map ...
2
votes
1answer
271 views

GeoServer - Show Maps in a Application Java

How can I display a GeoServer's Map inside a Java's Desktop Application? I would like to display it inside a Java App instead of a browser. Is this possible?
3
votes
1answer
86 views

Generate WFS-T requests

I want to create WFS-T update/insert/delete requests in my java application. As a result I want to save the requests in XML encoding, as specified by the OGC standard. Does someone know a library ...
1
vote
1answer
362 views

combine several polygon objects in one polygon object with geotools (is it possible)?

I have several polygon objects and I need to "merge (or combine or dissolve)" them toghether into one polygon object. With a GIS tool like Quantum GIS, I do this with Geoprocessing option "Combine ...
4
votes
1answer
2k views

Convert Gauss-Kruger to UTM

How to covert Gauss-Kruger coordinates to UTM coordinates with GeoTools java library? As I have figured out the location (zone, country) is important. I need the calculation for Slovenia.
0
votes
0answers
79 views

Is it possible to load multiple OSM regions in osm2po?

I need to use a few smaller European countries (100MB). Is it possible to do this in osm2po? Or can some other tool be used to merge the maps into one pbf file?
2
votes
1answer
185 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 ...
0
votes
1answer
82 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
610 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 ...
0
votes
0answers
32 views

Can't see custom Java toolbox in Arcmap10.1

I am trying to use custom toolbox created in Java (ArcObjects) in ArcMap10.1. I have added my custom jar and libs folder in C:\Program Files\ArcGIS\Desktop10.1\java\lib\ext and starting ArcMap10.1 ...
0
votes
1answer
50 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 ...
0
votes
0answers
72 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 ...
1
vote
0answers
109 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 ...
0
votes
0answers
37 views

Lucene search not finding an address in address feature class

I have a few addresses in my address feature class that are not being found in my web application which uses the Lucene indexing tool. The Lucene index is updated on a nightly basis so I don't think ...
1
vote
0answers
223 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
2answers
170 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
57 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
93 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?
1
vote
0answers
26 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
30 views

how to add text labels on a 3d globe in arcGis 10.1 sdk for java

can anyone of you provide me a link to the pages, which shows the code to how can we add text on a 3d globe. TextElement is apparently not supported by java. i know, i have to use Text3Delemnt, but ...
0
votes
0answers
65 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 ...
0
votes
0answers
49 views

how to create billboard labels on arcglobe in java

how can i create billboard labels in arcGis 10.1 (java API) on a GlobeBean. i am trying to create basic text symbols but have encountered this particular problem. Even a label inside a balloon ...
0
votes
0answers
49 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 ...
2
votes
1answer
160 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
1answer
217 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 ...
1
vote
2answers
124 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"); ...
4
votes
3answers
345 views

How to choose a language for web map development?

I am building a web map application using: GeoServer OpenLayers Tomcat I would like to build a web application, where the user can log in and have the map arranged according to their profile. ...
0
votes
0answers
43 views

Fatal Error in Native code

Currently I am tring to execute IQueryByLayer .select() methord. Whenever I try following code line ISelectionSet pSelectionset = pQryLayer.select(); It produces the following error in console # # ...
11
votes
4answers
1k 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 ...
5
votes
4answers
332 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 ...
2
votes
1answer
978 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 ...
2
votes
1answer
255 views

What is the best API to use GeoTools or uDig (for the context of my application)?

I am trying to develop a java application that displays : Google maps, Openstreetmap and Bing Map Data. So which is the best SDK to use in this contet Geotools or uDig ?
1
vote
0answers
100 views

Esri ArcGIS plot point

I have created a java function to plot the points on the map, and I need to pass the x-y coordinates and the taskevent as the parameters. I would like to ask what should be the input parameter for ...
0
votes
0answers
170 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 ...
2
votes
0answers
405 views

How to limit viewing to map boundary on Android?

I have an offline map of a city displaying on Android. Since my map is just small, when you scroll beyond the the boundaries of the map you see only a gray screen and you will probably be lost and ...
1
vote
1answer
92 views

Access Personal geodatabase using java

Following example through ESRI is to access the features of file geodatabase (GDB) , ...
2
votes
0answers
94 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
vote
0answers
93 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: ...
11
votes
3answers
780 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
303 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 ...
1
vote
0answers
105 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"