From: Adrian C. <ac...@gm...> - 2007-03-13 08:49:43
|
Hello, Try the demo/introduction/* files in the distribution. In that demo I build geometries up from scratch. I don't get as far as the filter stage but that is to come. Maybe you'll learn filters well enough to contribute that chapter of the demo. :-) cheers, adrian On Mon, 2007-03-12 at 14:18 +0100, Jeroen van Dijk 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. > > Jeroen > > -----Original Message----- > From: Ian Turton [mailto:ijt...@gm...] > Sent: Friday, March 09, 2007 10:10 PM > To: Jeroen van Dijk > Cc: geo...@li... > Subject: Re: [Geotools-gt2-users] GeometryFactory for a circle? > > On 3/9/07, Jeroen van Dijk <je...@se...> 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 |