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

learn more… | top users | synonyms

1
vote
1answer
1k views

GeoToolKit conversion from lat/long to UTM

What is the proper way to convert lat/longs to a UTM coordinate system using the Java geotoolkit API? I have not worked with GIS software before, so maybe what I am trying to do is not directly ...
2
votes
1answer
146 views

Can I use a Geotools raster layer in a Geomajas webapplication?

I am working on a Geomajas web application and have a Geotools RasterLayer (a GridReaderLayer to be precise) that needs to be integrated with the map in the Geomajas app. I have been searching the ...
1
vote
0answers
180 views

Applying colormap to grayscale tiff image using java

I have a gray scale tiff image.Now i want to add some pseudo colors i.e for pixels whose DN from 0-140, red color;DN from 141-255 ,blue color.Please tell me how to modify the raster table.Otherwise if ...
5
votes
1answer
430 views

What is the unit of measurement for buffer calculation?

What is the unit of measurement used by Geometry class for it's buffer calculation ? Api doc currently defines it as " distance - the width of the buffer (may be positive, negative or 0)" I need to ...
1
vote
2answers
362 views

Looking for material for learning geospatial development in Java

I want to begin using Java for geospatial development. For the purpose of learning I am interested in suggestions on some books, web sites, etc. (i.e. reference materials) that would help me out. ...
2
votes
2answers
6k views

convert wgs84 coordinate to Google Map coordinate system(EPSG 3785) with geotools and java

Could you please point me out where can I make such a transformation: convert wgs84(EPSG 4326) coordinate to Google Map coordinate system(EPSG 3785), and vise versa. Thank you.
4
votes
2answers
2k views

How to setup PostGIS JDBC with Hibernate?

I try to setup an Java Application with Hibernate and PostGIS but I always get nasty exceptions like : java.lang.NoSuchMethodError: org.hibernate.type.CustomType.<init> ...
1
vote
3answers
3k 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 ...
4
votes
1answer
975 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
0answers
169 views

Rerendering OpenLayers in JSF2

did anyone try rerendering OpenLayers in JSF2? I am using a4j:ajax events, I mark the render atribute with render="map" where map is naturally the id of the openlayers div tag, and I use ...
5
votes
1answer
413 views

GIS-based reporting and maintenance tool

Background Conceptually, I am looking for a tool, or suite of software tools that can be readily integrated to help browse data using a GIS-based map (such as Google Maps). The proposed architecture ...
1
vote
2answers
550 views

Java GIS framework with custom shaped markers

I am completely new to GIS theme and I found this board so I hope I can get good advices from experienced users. I need to find an open-source Java framework/library/api that would generate an map ...
1
vote
2answers
624 views

looking for open source Java SE map viewer library that work with osm files or osm pre-downloaded tiles

I am new here and I hope I can find answers to my question here! I am developing a mapping platform for desktop, web, mobile (Android). I finally finished embedding mapping into my android software ...
2
votes
0answers
336 views

web service to find the shortest path

if you have any idea that can help me I would be grateful :):) So i should create a web service wich will communicate with my android application .in my android app the client choose two point start ...
2
votes
2answers
577 views

How to create hibernate layers at runtime?

We need to dynamically create hibernate layers from shapefiles. As far as we understand, the workflow is following: Import shapefile to database(creating new table for each shapefile?) Is it good ...
6
votes
1answer
615 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 ...
1
vote
0answers
99 views

Merge polygons into a single polygon [duplicate]

Possible Duplicate: How to aggregate detached polygons? Is there any open source java library to merge polygons? My use case is that i have a few building feature polygons close by. I need ...
1
vote
2answers
1k views

Getting exceptions with simple hello worldwind java app

Let me preface this by saying I'm very new to Java, eclipse and worldwind. So, I've got a bare bones java app. I imported worldwind.jar into the build path. Created a simple JFrame, code below, and ...
2
votes
0answers
229 views

Developing maps using Tile Mill and Processing(.org)?

I had a small question. I actually would like to build an application which is very similar to this but as a map and not on “Multi touch Table Top”. The functionality I need is Plot different ...
0
votes
2answers
151 views

Creating an INFO table using ITable in Arc (Java)

I'm trying to set up an info table in an addin for ArcGIS 10. I'm using Java and Eclipse IDE. The code I have is here: public class Tables { String database = "C:\\GIS"; String nameOfTable = ...
1
vote
1answer
716 views

Create Geotiff from Tiff using java

Respected sir/madam, I want to add geo tags to existing TIFF file and make it to geotiff file. Otherwise, for bufferedimage is it possible to add geotags to make Geotiff file. Thanks in advance...
0
votes
1answer
87 views

getting scratch and current workspace ArcGIS10 using Java

I'm trying to get the scratch and current workspaces returned as path names (Strings) using java in ArcGIS10. however I can't seem to get anything returned. I'm guessing it's to do with accessing ...
1
vote
0answers
434 views

Create a color scale/legend for choropleth map using geotools (or other open source Java library)?

I'm experimenting with choropleth maps using geotools. Is there an easy way to add a color scale to the map (using geotools itself or some other os library)? By a color scale I mean a bar that shows ...
1
vote
0answers
276 views

how do you create an editable combobox addin for ArciGIS using Eclipse

Arc have a walkthrough to take you through this. Looks like I'm still crawling. The walkthrough can be found here: ...
4
votes
1answer
457 views

Can PostGIS functions be written in Java?

I am wondering if there is a possibility of programming new functions for PostGIS using Java, so that you can refer them same way as classic PostGIS functions are. Something like this: CREATE OR ...
1
vote
1answer
295 views

ArcGIS Routing on Android with Network Analyst module

I am currently developing an Android App for navigation purposes. It is based on the ArcGIS Android API. I have an ArcGIS server (with network analyst module) with all the needed data running. At the ...
1
vote
2answers
1k views

Collecting street data to populate a graph stucture for routing

I'm implementing a basic digraph with weighted edges for street routing in a small geo area (600mx600m). How and where can I get the required data to populate such a structure? I've been reading about ...
2
votes
2answers
583 views

OpenLayers WFS implementation in java for editing and saving data

I am new user in openlayers and want to implement WFS layer to edit and save data to postgis tables.am using netbeans as development environment and m very new in that.Can anyone to help me regarding ...
2
votes
2answers
344 views

Convert HMR to GeoTiff

I've got gigs of .hmr raster files from our customer and I need them to be converted into GeoTiffs or something else which can be nicely imported into Geoserver system. I wonder if I can do it with ...
3
votes
1answer
1k views

Implementation of a tiled map service

I have been looking for solutions on the Internet for the last two days without finding answers. Currently, I have a Java web application that displays a map using OpenLayers. The problem is that the ...
2
votes
1answer
571 views

Oracle spatial - check polygon vertices counter clockwise

I need to import a huge number of polygons from a third party (as a csv file- array of x,y's). I have to check whether the polygon vertices are in clockwise or counter clockwise, finally i have to ...
1
vote
0answers
152 views

Get centroid of SimpleFeatures in GeoTools8

I've got some SimpleFeatureCollections and now I want to get the Centroid of every SimpleFeature in the collection. Unfortunally I've only found a centroid method for Geometry. Is there any way to ...
7
votes
4answers
6k views

How to build tile server from Openstreetmap data for beginner?

I am a beginner at GIS and I am developing a Java Application which needs a map. (The map would specifically be of just one city in the Philippines.) I have researched on different ways to do this and ...
2
votes
2answers
773 views

How to add a background map to a java project?

I'm new at GIS. I am trying to make a java application that can display a map with certain points. I have achieved this using the geotools library. However, I want to put the map from OpenStreetMap or ...
2
votes
3answers
647 views

Comparison of Java-based GIS Programs

Hi I want to develop GIS Application in java I found some of useful software like UDIg,Openjump,KOsmo & gvsig but i am unable to decide from which should i start as i want to create my ...
2
votes
0answers
230 views

How to get a AddIn to appear in customize mode categories?

I was hoping that someone here might have tried this, it seems like it could be a simple error somewhere. I was running the sample AddIn that was provided by ESRI and it worked fine until I tried to ...
4
votes
3answers
395 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. ...
2
votes
2answers
339 views

flex to java trying to get started on the plan

I have as suggested recently on this forum been "playing" with arcgis server. For reasons perhaps not obvious to "real" programmers I have built a fairly extensive series of web mapping applications ...
5
votes
2answers
509 views

What does it mean to QI and how is it done?

I'm new to Esri's Arc* interfaces, and trying to figure out how to register an existing table using the ArcObjects API. The following question answers this to some extent: Is there any way to write a ...
3
votes
1answer
966 views

How to edit a given version of geodatabase?

I have a versioned geodatabase. Any of that versions are used only by one user. So then user called "XXX" has a version called "XXX". So then now I want to make a changes on given version, but when I ...
4
votes
2answers
2k views

How to use NASA Digital Elevation model data?

I've heard it is possible to use NASA elevation model to determine approximate elevation at (lat;lng) point. This might be really useful for my upcoming project since Google Elevation API has weird ...
5
votes
3answers
262 views

GIS Application for online map and journey planner

I am planning to implement an online map application with journey planner for a city. I don't have any experience in GIS development but I have a few years of experience in Java development. So ...
1
vote
1answer
157 views

How to merge multiple shapefile via ArcEngine 9.3 Java?

I try to merge the some shapefiles into one by using ArcEngine java platform. But it seem like that parameters of my merge class is wrong ,i google it a long time and got nothing. Pls figure my ...
2
votes
2answers
1k views

Formula to get polygon centroid

I need to compute the centroid position of an irregular polygon with lat and lon coordinates in Java. Which formula should I use to correctly compute a centroid?
1
vote
2answers
439 views

Using java with mapinfo for integrated mapping?

Can we use integrated mapping with java? Are there any examples?
1
vote
1answer
681 views

How to get elem_info array from WKT or JTS Geometry in Java?

I have Well Known Text (WKT) string with geometry. Now I want to create Oracle Mapviewer SdoGeometry, which needs sdo_elem_info array as one of arguments which is an array of doubles. How can I ...
4
votes
2answers
328 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 ...
2
votes
0answers
530 views

How to limit viewing to map boundary on Android? [closed]

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
261 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
752 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 ...