As far as the library requirements are concerned, you need following libraries:
1) GeoTool, version 2.3.2 will work, I have used 2.2.1;
2) Jung, version 1.7.4 is the one I used, but any should work.;
4) Mason bundle;
5) Common collections, geotools zip you can download has 2.0, attach 3.2 as well.
Such a configuration should suffice. Browsing through my resources I discovered long time ago I created a movie that shows how to set up GeoTools for use with Eclipse (but without adding Mason-related libraries, just GeoTools proper):
I hope this helps. If not, I will try to upload a zipped workspace project (my experience was it does not really help, you get so many problems with paths, access rights that it is easier to set a new fresh project).
I was using netbeans 6.
I will look a little later today and give you the exact error messages, but they were basically about FeatureDataStore and other geotools classes. There are some errors with extending or using classes. I know, I know - not very helpful. Let me get in to work and then I will let you know.
Can you put the eclipse project zipped on your site?
SteveOn 6/11/07, Maciej Łatek < [log in to unmask] > wrote:Steve,
Do you use any IDE? Eclipse? Can you please paste me the error?
MaciekOn 6/11/07, steven citron-pousty < [log in to unmask]> wrote:Hey Maciej:
Welcome back from your trip. That simulation looks to do what I want but I can not get your source code to compile. It is complaining about some of the geotools classes. I took all the jar files from the MasonGeoTools_v.0.2.jar lib folder and tried to use that with the SRC from the same directory and it is not working. Any hints would be greatly suggested.
SteveOn 6/7/07, Maciej Łatek < [log in to unmask]> wrote:Steven,
If you need to read and work with vector GIS, you might find following scrap code useful:
If you would rather see first if this is what you desire, there is a huge zip file that includes a self contained jar file and some shapefiles. The simulation itself is very simplistic, it is composed of reading in the landscape (regions) defined in shapefile, recreating contiguity tables and having a number of agents move from one region to another randomly chosen neighbour. Depending on a system, use *.bat or *.sh to launch it. Please ignore all errors, it should launch regardlessa of them.
We have improved on this, but the code is in a private cvs and I'm out of the DC on a conference and don't have regular Internet access. Nevertheless, \should you have any questions I will try to assist.
MaciekOn 6/7/07, steven citron-pousty < [log in to unmask]> wrote:Greetings all:
I notice in the latest release letter that GIS was not ready for prime-time. Is there a sand-box location where I can get access to these files. I need to start reading GIS files to create my "obstacles" and my surfaces. The time frame for starting this work is in the next week or so.
Any help is greatly appreciated...