|
From: Sami D. <sk...@fr...> - 2005-09-22 23:15:51
|
Hi, I tried the MemoryDataStore approach, but don't really understand the Str= ing 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 =3D 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 <jga...@re...>: > 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. |