From: Darryn Kozak <darryn@ac...>  20130227 03:40:44
Attachments:
Message as HTML

Thanks Martin for confirming the solution. My "vector" is a "ray" in this case. I know the order of magnitude for the geometry so I can create a temporary segment to represent the "ray". PS: I could not figure out how to reply to your message from the browser. I only get the JTS digest in email, and that can take a week or more, so I'm sending a new mail that will likely not be properly threaded. Sorry about that. Maybe I need to use a news reader? *Re: [Jtstoposuiteuser] vector intersect with geometry? <https://sourceforge.net/mailarchive/message.php?msg_id=30531684>;* From: Martin Davis <mtnclimb@...>  20130226 04:59 *Attachments:*Message as HTML <https://sourceforge.net/mailarchive/attachment.php?list_name=jtstoposuiteuser&message_id=CAK2ens2J4oURjzquaRoKJz1VYPc%3Dbv44b3t1qBDLYoNVhN8FHQ%40mail.gmail.com&counter=1>; By "vector" do you mean an infinite line in the plane? Or an infinite ray starting at the origin? In either case, there is nothing directly in JTS which will do this. You have to use the strategy that you outline  i.e. extend the line/ray to a point guaranteed to be outside the geometry envelope, and then use the existing Geometry.intersection(Geometry) method. It might be nice to provide a utility method to handle this... On Mon, Feb 25, 2013 at 8:01 PM, Darryn Kozak <darryn@...> wrote: > I have a use case where I have a jts Geometry, and a vector. I would > like to know if they intersect. How can I do this? > > I could simulate the solution by representing the vector as a long > LineString (a subclass of Geometry), and jts will calculate the > intersection between the LineString and the Geometry. But was > wondering if there is some way to represent the vector that can be > intersected directly with a Geometry. > > Thanks, > > Woody > > 
From: Martin Davis <mtnclimb@gm...>  20130227 06:50:21
Attachments:
Message as HTML

Hmmm... you may have to subscribe to the full message stream to be able to reply to individual messages. But you should always be able to send msgs to the JTS list. On Tue, Feb 26, 2013 at 7:39 PM, Darryn Kozak <darryn@...> wrote: > > > > Thanks Martin for confirming the solution. My "vector" is a "ray" in this > case. I know the order of magnitude for the geometry so I can create a > temporary segment to represent the "ray". > > PS: I could not figure out how to reply to your message from the > browser. I only get the JTS digest in email, and that can take a week or > more, so I'm sending a new mail that will likely not be properly threaded. > Sorry about that. Maybe I need to use a news reader? > > > *Re: [Jtstoposuiteuser] vector intersect with geometry?<https://sourceforge.net/mailarchive/message.php?msg_id=30531684>; > * > From: Martin Davis <mtnclimb@...> <mtnclimb@...>  20130226 04:59 > > *Attachments:* Message as HTML<https://sourceforge.net/mailarchive/attachment.php?list_name=jtstoposuiteuser&message_id=CAK2ens2J4oURjzquaRoKJz1VYPc%3Dbv44b3t1qBDLYoNVhN8FHQ%40mail.gmail.com&counter=1>; > > > By "vector" do you mean an infinite line in the plane? Or an infinite ray > starting at the origin? > > In either case, there is nothing directly in JTS which will do this. You > have to use the strategy that you outline  i.e. extend the line/ray to a > point guaranteed to be outside the geometry envelope, and then use the > existing Geometry.intersection( > Geometry) method. > > It might be nice to provide a utility method to handle this... > > On Mon, Feb 25, 2013 at 8:01 PM, Darryn Kozak <darryn@...> <darryn@...> wrote: > > > I have a use case where I have a jts Geometry, and a vector. I would > > like to know if they intersect. How can I do this? > > > > I could simulate the solution by representing the vector as a long > > LineString (a subclass of Geometry), and jts will calculate the > > intersection between the LineString and the Geometry. But was > > wondering if there is some way to represent the vector that can be > > intersected directly with a Geometry. > > > > Thanks, > > > > Woody > > > > > > > > >  > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Jtstoposuiteuser mailing list > Jtstoposuiteuser@... > https://lists.sourceforge.net/lists/listinfo/jtstoposuiteuser > > 
From: Simon Greener <simon@sp...>  20130228 04:32:42
Attachments:
Message as HTML

Sorry for this folks, I think Andrea Aime or Jonathan Moules are members of this list. I have no other contact details. Could either of you contact me on simon at spatialdbadvisor dot com re the following GeoServer fix: * faster computation of layer bounding box for Oracle data sources when the table is not in the user’s schema ([GEOS5535]) regards Simon On Wed, 27 Feb 2013 17:49:52 +1100, Martin Davis <mtnclimb@...> wrote: > Hmmm... you may have to subscribe to the full message stream to be able to reply to individual messages. But you should always be able to >send msgs to the JTS list. > > On Tue, Feb 26, 2013 at 7:39 PM, Darryn Kozak <darryn@...> wrote: >> >> >> >> Thanks Martin for confirming the solution. My "vector" is a "ray" in this case. I know the order of magnitude for the geometry so I can >>create a temporary segment to represent the "ray". >> >> PS: I could not figure out how to reply to your message from the browser. I only get the JTS digest in email, and that can take a week or >>more, so I'm sending a new mail that will likely not be properly threaded. Sorry about that. Maybe I need to use a news reader? >> >>>> Re: [Jtstoposuiteuser] vector intersect with geometry? >> From: Martin Davis <mtnclimb@...>  20130226 04:59 >> >> Attachments: Message as HTML By "vector" do you mean an infinite line in the plane? Or an infinite ray >> starting at the origin? >> >> In either case, there is nothing directly in JTS which will do this. You >> have to use the strategy that you outline  i.e. extend the line/ray to a >> point guaranteed to be outside the geometry envelope, and then use the >> existing Geometry.intersection( >> Geometry) method. >> >> It might be nice to provide a utility method to handle this... >> >> On Mon, Feb 25, 2013 at 8:01 PM, Darryn Kozak <darryn@...> wrote: >> >>> I have a use case where I have a jts Geometry, and a vector. I would >>> like to know if they intersect. How can I do this? >>> >>> I could simulate the solution by representing the vector as a long >>> LineString (a subclass of Geometry), and jts will calculate the >>> intersection between the LineString and the Geometry. But was >>> wondering if there is some way to represent the vector that can be >>> intersected directly with a Geometry. >>> >>> Thanks, >>> >>> Woody >>> >>> >> >> >>  >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_feb >> _______________________________________________ >> Jtstoposuiteuser mailing list >> Jtstoposuiteuser@... >> https://lists.sourceforge.net/lists/listinfo/jtstoposuiteuser >> >  Holder of "2011 Oracle Spatial Excellence Award for Education and Research." SpatialDB Advice and Design, Solutions Architecture and Programming, Oracle Database 10g Administrator Certified Associate; Oracle Database 10g SQL Certified Professional Oracle Spatial, SQL Server, PostGIS, MySQL, ArcSDE, Manifold GIS, FME, Radius Topology and Studio Specialist. 39 Cliff View Drive, Allens Rivulet, 7150, Tasmania, Australia. Website: http://www.spatialdbadvisor.com Email: simon@... Voice: +61 362 396397 Mobile: +61 418 396391 Skype: sggreener Longitude: 147.20515 (147° 12' 18" E) Latitude: 43.01530 (43° 00' 55" S) GeoHash: r22em9r98wg NAC:W80CK 7SWP3 
From: David Shi <davidgshi@ya...>  20130301 19:24:03
Attachments:
Message as HTML

Hello, Is there any code snippet to render polygons as arcs of points? Very much appreciate if someone can send me this. Regards. David 