Geo-data algorithms

right now I have three files, a .shp , .dbf, and a .shx file that I need to convert into a JPG and I am having trouble finding anything on the Sun site or anything searching the web.

Does anyone have any ideas on what I could do or where I could find some algorithms for this?

Thanks

[303 byte] By [factor_dana] at [2007-10-1 16:54:11]
# 1
I think I would forget the GIS aspect for now and just start messing with the Java 2D API. See if you can create an image, draw on it and save it as a .jpg. http://java.sun.com/developer/technicalArticles/GUI/java2d/java2dpart1.html http://java.sun.com/docs/books/tutorial/2d/
RadcliffePikea at 2007-7-11 1:24:30 > top of Java-index,Other Topics,Algorithms...
# 2

Hello,

I don't know if you question is related to make JPGs using Java or reading SHP/SHX/DBF files in Java.

All these are file formats and they can be read/written from/to a file provided you know the format details... in ANY language.

To learn about all kinds of formats try http://www.wotsit.org

It has documentation of all kinds of formats.

FYI... I have used the info on this website to do exactly what you describe... convert SHP files (ArcView Shape files) to a common format which could be used to convert the data into anything... rasters... vectors or even CAD.

good luck

Ameet

asavanta at 2007-7-11 1:24:30 > top of Java-index,Other Topics,Algorithms...