An object-oriented cross-platform programming language developed by Sun Microsystems.
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 ...
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 ...
9
votes
6answers
893 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 ...
8
votes
4answers
2k 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
4
votes
7answers
3k 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
1answer
771 views
Write out a WKT file from a loaded shapefile
We are looking to load and display a shapefile, simple polygons, then write out a WKT string of that shapefile and have the user save it somewhere.
Does anyone have some code snippets of that very ...
2
votes
1answer
256 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
1answer
102 views
building opentripplaner gtfs.zip [closed]
I am building a journey planner app using opentripplanner. i have followed their two minutes tutorial in which we just run webapp which uses pre build graph.obj file, it works fine.
But in next five ...
5
votes
1answer
283 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 ...
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
3k views
Displaying Google Maps and OpenStreetMap map in Java?
Is there any Java API that is like OpenLayers ?
I would like to display google Maps and Openlayers Maps in a java application
1
vote
0answers
442 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
0answers
129 views
Help with opentripplanner
I have started working with opentripplanner (i am developing a journey planner app). I am following the two & five minute tutorial given on opentripplanner website.
but while starting server using ...
0
votes
1answer
652 views
How current is GDAL in Java
I have used the ogr2ogr to import various formats to Postgres and have used GDAL utilities. Is there a complete Java port for these tools? Or are they simply wrappers calling JNI to C++ code? I have ...
12
votes
3answers
3k 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 ...
4
votes
2answers
308 views
How to register shapefiles to an image?
I'm generating images from various sources and the projections are not necessarily known ahead of time. The images are subject to interpolation and other alterations while being rendered, but I can ...
4
votes
2answers
4k 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 ...
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 ...
6
votes
1answer
504 views
Data visualization and maintenance tool
Background
Looking to leverage an existing GIS system for exploring organizational data.
Architecture
The following figure represents a high-level overview of the system's desired features:
The ...
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 ...
5
votes
2answers
269 views
Overpass XML query for finding all buildings inside a polygon
I want to run following Overpass QL query in order to get way IDs of all buildings inside a polyon:
way(poly:"50.7 7.1 50.7 7.2 50.75 7.15")[building];
>;
out ids;
Since I'm using the osm-common ...
1
vote
2answers
50 views
Getting time dimension from a GRIB file
I have a GRIB file from NOAA that contains several variables for a specific subregion in Norht-East Atlantic.
I'm using ECMWF grip-api Python library to parse the file. While I'm able to get the ...
1
vote
1answer
364 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 ...
1
vote
1answer
304 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
2answers
677 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?
1
vote
3answers
2k views
How to check if a point is near or inside polygon?
I am trying to find a simple library which can do point in polygon. Earlier i did hit Java Spatial Index library ...could not figure out.
Tried openmap..looked simple didn't work.
I am totally new ...
0
votes
0answers
80 views
Looking for java (or python) APIs to read shapefiles
Consider a work flow which receives a data field, e.g. “basemap” as shown in the image, and fills polygons with color on the basis of its numeric values. I am interested in java programming to carry ...
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
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 ...
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 ...