|
From: Sami D. <sk...@fr...> - 2005-09-22 22:18:37
|
Hi, thanks for your answer, I've looked at uDig, but I need to use GeoTools inside my application, no= t as a viewer. I need to dynamically map points depending on my application's logic... I looked at the tutorials and demos. So far : - I get a basic window, that loads an ESRI Shapefile. The ESRI Shapefile is bundled with a .prj, so I believe that I can now dr= aw latitudes / longitudes on top of it. Can anyone provide me a pointer for how to do this ? thanks, Sami Dalouche Quoting Jody Garnett <jga...@re...>: > Sami Dalouche wrote: > > >Hi, > > > >Geotools seems to be a very powerful and fancy Java library :) However= , > getting > >started with it does not seem such an easy task.. > >So, I'm posting here in the hope someone will have time to give me som= e > >guidelines. > > > >Here's what I need to do : > >- Have Geotools display a map (of the world if possible, but I'll reve= rt to > >Canada if it's too hard to find such a map). I should be able to get t= he > ESRI > >shapefile for Canada, but any indication about how to get maps under o= ther > >formats is welcome. I'm actually looking for something nice-looking, t= hat's > >pretty much all I'm interested in, whatever it displays... > > > > > Perhaps you should consider uDig? http://udig.refractions.net/ > > >- On the map, I'd like to draw points for some latitude longitude. > >I'm not interested in any zooming or any complicated feature. just bas= ic > >display. > > > >So, this use of Geotools seems to be very basic compared to everythign= it > can > >do, however I don't seem to get a clear indication of how to achieve t= his : > >- Which jars do I need ? (there are 30 or 40 jars in the binary > distribution, I > >don't think all of them are necessary, right ?) > >- how to embed a simple map inside a JFrame ? > > > > > You make consider looking at the tutorials - in particular the > "spearfish demo" > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your v= ery > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.p= hp > _______________________________________________ > Geotools-gt2-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |