On Mon, 12 Mar 2007 15:18:54 +0200, Jeroen van Dijk <[EMAIL PROTECTED]> wrote:
> Maybe, a silly question, but I still haven't solved my previous posted > problem. My problems start quite basic: How do I create a point > Geometry? > > I guess I'm missing some basic knowledge of the API, but the tutorials > do not help me here either. > Hi, Geotools is using for geometry operations the JTS API, developped by Vivid Solutions. You will have to familiarize yourself with this API first. As a start point you can check the following section from the GeoTools tutorials: http://geotools.codehaus.org/Working+with+JTS+Geometries+from+DataStores Best regards, Teodor > > -----Original Message----- > From: Ian Turton [mailto:[EMAIL PROTECTED] > Sent: Friday, March 09, 2007 10:10 PM > To: Jeroen van Dijk > Cc: [email protected] > Subject: Re: [Geotools-gt2-users] GeometryFactory for a circle? > > On 3/9/07, Jeroen van Dijk <[EMAIL PROTECTED]> wrote: >> > >> >> I want select roads, from a shapefile, with a certain radius from a > point, >> thus lying in a circle. >> >> >> >> I found this link that shows how to select point with a polygon. >> >> http://www.nabble.com/filter-points-within-polygon-t2740648.html >> >> >> >> My only problem is now to create a Geometry that represents a circle. > Like >> in the post of > > What you really want is a DWithin filter which gives you everything > within a distance of a geometry (in your case a point). > > Ian -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
