Hi, I tried the MemoryDataStore approach, but don't really understand the String I'm supposed to pass to getFeatureSource..Javadoc doesn't help me either...
So, I tried the approach explained on : http://www.geotools.org/The+Map it does display points, but does not seem to display them where I expect them to. With the coordinates that appear here : Point point2 = geomFac.createPoint(new Coordinate(10.0, 10.0)); are these coordinates supposed to be latitude / longitude ? If not, what is the way to specify latitudes / longitudes ? Thanks a lot, Sami Dalouche Quoting Jody Garnett <[EMAIL PROTECTED]>: > 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 ? > > > > > Grab a MemoryDataStore and add features to it? > Cheers (and thanks for checking out udig). > Jody > > ---------------------------------------------------------------- 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
