Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 application for Google Maps. Any suggestions?

Thx!

share|improve this question
    
Does it have to be accomplished with Java? If not, I have a Civil 3D solution. – Dano Apr 26 '11 at 18:54
1  
Google search turns up jzy3d. It looks like it creates a TIN-like surface, which is ideal for (x,y,z) points. I haven't used it, which is why this is a comment and not a reply :-). – whuber Apr 26 '11 at 19:43

JAI-Tools (http://code.google.com/p/jai-tools/) has a contour operation. I'm not sure if it will handle point input or requires a raster DEM.

share|improve this answer

GDAL has a Java API available at http://gdal.org/java/ To use it, you would probably need to create a raster file with gdal_grid and then create the contours with gdal_contour. I don't think you will be able to create a proper triangulated irregular network (TIN) directly from the points, but the dem may be accurate enough for your needs.

share|improve this answer

If someone still looking for this question, I have created open Java project for the contours, the input data from the coordinate value (double X, double Y, Integer VALUE). In the project there are tests. On top Delaunay triangulation be built on them, and the line is built with the same value. There are additional methods (reduction in size and multiplying the number of triangles for smoothness and flatness, approximation, extracting polygons for maps). Very fast. Now I need to add an algorithm for constructing contour taking into account the fault lines. link to bitbucket polygon

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.