Hi, thanks for your tip !
Two questions : 1) Is an ESRI shapefile with a .prj file enough to work on latitudes / longitude, or do I need something else ? The .prj file maps ESRI shapres to some projection system, right ? 2) I'll look at graticule, but it looks like to me that it can only draw lines.. What I need is points at some latitude / longitude intersections... Regards, Sami Dalouche Quoting Chris Holmes <[EMAIL PROTECTED]>: > On Fri, 23 Sep 2005, Sami Dalouche wrote: > > > Hi, > > > > thanks for your answer, > > > > I've looked at uDig, but I need to use GeoTools inside my application, not > 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 draw > > latitudes / longitudes on top of it. > > > > Can anyone provide me a pointer for how to do this ? > If you want to draw lat/longs you may try using a graticule. There is one > in jira that we've been bad about incorporating into geotools, but it's > available in jira. http://jira.codehaus.org/browse/GEOT-600 I havven't > tried it, and it'd be nice to get feedback if ou do use it. But I think > it takes a set of spacings (like lat/long) and generates the grid lines as > a set of features. > > Chris > > > thanks, > > Sami Dalouche > > > > Quoting Jody Garnett <[EMAIL PROTECTED]>: > > > > > 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 some > > > >guidelines. > > > > > > > >Here's what I need to do : > > > >- Have Geotools display a map (of the world if possible, but I'll revert > to > > > >Canada if it's too hard to find such a map). I should be able to get the > > > ESRI > > > >shapefile for Canada, but any indication about how to get maps under > other > > > >formats is welcome. I'm actually looking for something nice-looking, > that'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 basic > > > >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 > this : > > > >- 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 > very > > > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > > _______________________________________________ > > > Geotools-gt2-users mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > > > > > > > > > > > > > > > ---------------------------------------------------------------- > > This message was sent using IMP, the Internet Messaging Program. > > > > > > ------------------------------------------------------- > > 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 very > > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > Geotools-gt2-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > > > -- > > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- 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 very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
