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
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/
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