Tagged Questions

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

learn more… | top users | synonyms

1
vote
1answer
262 views

Can I create OGC Services via Geoserver automatically?

I am new to GeoServer and wonder how I can create OGC Services via Geoserver automatically. I have to publish my data (Shapefiles) with a Java program as OGC Services. How can I do that? BTW: I ...
6
votes
3answers
754 views

Add map making to java desktop software

In my project (a desktop application) I need to create a map with three layers, basic geographic layer at the bottom, a GSM coverage area layer on top of it, and then a location based services layer ...
5
votes
2answers
3k views

java vividsolutions jts wgs-84 distance to meters

my (java) project uses com.vividsolutions.jts.geom, which provides a distance function. After some googling I finally found that the return value from this function is in central angle degrees, when ...
1
vote
1answer
985 views

How to connect GeoServer with Java to a PostGIS/PostGres database?

I am having trouble using GeoServer to perform a shortest path analysis between two network points. My question is about connecting GeoServer with Java to a PostGIS/PostGres database. I know that in ...
0
votes
1answer
254 views

Any known problems after Tomcat-upgrade using oracle locator?

After trying to upgrade from Tomcat 5.5.28 to 5.5.29 or above I ran into a strange problem. We use a linux based gis system using an Oracle EE DB (without spatial license). Problem After the upgrade ...
1
vote
1answer
289 views

Building orientation and simplification using Opencarto Java library

I need to find out orientation of buildings and perform simplification of sides of buildings with a tolerance. I came to know from StackExchange that OpenCarto has useful libraries for geometrical ...
2
votes
1answer
819 views

How to extract data from a POINT column in PostGIS using JAVA (jdbc)

How do you get a value from a column which has a point data type. I've just switched over from MySQL to PostGIS. I have a column which is called point and is of type Point. I want to get that value ...
3
votes
0answers
292 views

ArcObjects - WFS:

Hy, has anybody an example concerning accessing data from a WFS server by using the DataInteropability in ArcObjects? I'm getting the right field definistion, but don't know how to read the data. ...
2
votes
0answers
299 views

ArcObjects: How to get a reference to layer in a java add in

I am trying to implement a java add-in version of this solution: unique value symbolize layers from a lookup table. At the same time I want to start coding in Java for the ArcGIS Desktop, so I am ...
4
votes
7answers
4k views

How to get started on web GIS development with Java?

I am very new for GIS, I know java web development. I want to develop a GIS web application in Struts, can you suggest me how to start? My requirement are as - Any API/Tool should be open source. ...
4
votes
2answers
5k views

Geoserver/java out of heap space - how do I increase it?

I'm new to Geoserver, Ubuntu and Java, but have downloaded a virtual machine from gisvm.com and am getting up to speed. I got as far as configuring it with some fairly large shapefiles from a project ...
6
votes
1answer
2k views

Find nearest POI of given GPS coordinates

I am new to GIS and need to achieve the following: Find the nearest train station or bus stop of given GPS coordinates in a Java application. Since there are many coordinates to be checked, an ...
3
votes
4answers
1k views

best browser framework

Dear all, I am building a GIS system. All my data is stuffed into geoserver. I need to have a front end able to do the following: Select one or several layers from geoserver and show it to the end ...
1
vote
1answer
529 views

Problems with gdal1.8 Java bindings gdal.ReprojectImage, produces no data

I have a problem with gdal.ReprojectImage from gdal1.8 Java bindings. When I perform the reprojection, the projected image is totally black. And the origin of the projected image is wrong too. There ...
3
votes
1answer
1k views

Is there a WFS and WFS-T Java library that plays nicely with Android?

I have a GeoServer database and various programs that query it and so forth using GeoTools. Now I'm making a map app for Android, but not only is GeoTools quite large with all it's dependencies (15 mb ...
3
votes
2answers
2k views

Java Contour Algorithm

Does anyone know if there is an open source project in Java that will take a set of (x, y, z) points and create a contour map for Google Maps/Earth? There does not seem to be a good contouring ...
3
votes
3answers
655 views

Looking for a Java library for tracking positions, and querying regions

I have a deceptively simple requirement to create a software component to record and update some mobile position information, then be able to perform simple queries concerning mobiles in a particular ...
1
vote
0answers
328 views

Argument is not a com object : null

With ArcEngine 9.3.1 in java (but I suppose, it's the same in .NET), I'm developping an application which loads a mxd file. This file contains about 20 layers with shapefile, JPG's, TIFF's files. This ...
0
votes
2answers
400 views

GeoTools 2.6.5: Cannot get JMapFrame to work because of problem with processStylers

I am trying to get JMapFrame to work to visualize some feature. Unfortunately I keep getting errors although this test app can be started. Toolbars etc. are shown. 18.02.2011 16:44:38 ...
3
votes
2answers
446 views

Is there a common interface for ST_Geometry SDO_Geomtry

I've worked a fair bit with Oracle Spatial and I've had some requests to transition to PostgreSQL Spatial. Is there a common interface for SDO_Geometry and ST_Geometry? I'm working in Java with ...
5
votes
1answer
296 views

How to add Opencarto to a Geotools project?

I've installed geotools through maven (and m2ecplise) but i'm not able to add opencarto library to my project. (As you can guess, I'm new to java) I tried by adding opencarto's main folder as library ...
12
votes
3answers
4k views

Algorithm to find nearest point

I've a list of a few hundred cities with their latitude/longitude. Given another location (also in lat/long) I need to find the nearest city. As I don't use any GIS, by now the obvious algorithm is ...
5
votes
2answers
4k views

How to parse KML data using geotools?

Geotools contains some packages dealing with KML: org.geotools.kml and org.geotools.kml.bindings. I assume it was designed to parse KML data. Do you know how to use it?
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.
4
votes
3answers
893 views

Java or .net for gis application

I currently use python for GIS scripting in arcgis and image processing using GDAL library. Now, I want to improve my programming skills for GIS application development both for desktop as well as ...
9
votes
6answers
953 views

Java, GIS knowledge…What next?

I know programming in Java and I am familiar with GIS concepts as well. I do GIS programming using javascript and PHP. I want to now do it using Java. How should I go about it? PLease let me know ...
3
votes
1answer
701 views

Good Java-Based Raster Libraries

Can anyone suggest a good, Java-based raster library? By good, I mean a library that can read common raster formats (ex. tif, img...etc) and save them to other image formats (ex. png). I say ...
3
votes
1answer
507 views

Is there a Java library to load data from a WFS server?

I am writing a java client to display remote GIS data. I want to load data provided in GML by a WFS server. Do you know a java library I could use for that?
4
votes
4answers
4k views

How do I remove Schema Locks from a File GeoDatabase in Java in ArcGis 9.3?

I have an application written in Java which uses ArcObjects 9.3. The application accesses a file GeoDatabase. The application produces output in the GeoDatabase that will be accessed by ArcMap. The ...
2
votes
3answers
2k views

Starting a GIS project in java with OSM data

I am starting a new GIS project in Java. Till now, I used JTS and geotools to load shape files - these data were then displayed on a swing interface. For this new project, I would like to use OSM ...
8
votes
4answers
3k views

Embedded spatial database for Java

Are there any embedded spatial databases for Java? I've come across H2 Spatial, but it was difficult to tell the status of that and if it can be used as an embedded spatial database. thanks, Jeff
1
vote
2answers
374 views

Is it possible to use MapObjects Java with ArcIMS 10?

Is it possible to use MapObjects Java with ArcIMS 10? We are starting to look at migrating our MOJava solution to run against ArcIMS 10, has anyone been successful in migrating to ArcIMS 10? Our ...
4
votes
2answers
2k views

How to develop WMS services in java?

Can anyone point me to any resources regarding developing a custom WMS service in java? I am seeking for a tutorial for an experienced programmer, but including the details of setting up the server ...
8
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 ...
18
votes
6answers
1k views

What embeddable web-based maps exist?

Some of the ones I'm familiar with (in no particular order): Google Maps (http://code.google.com/apis/maps/index.html) Bing Maps (http://www.microsoft.com/maps/developers/) Yahoo Maps ...