Re: [Jts-topo-suite-user] Produce regular grid of points inside a polygon
Brought to you by:
dr_jts
From: Michael B. <mic...@gm...> - 2013-01-31 11:32:32
|
Hi Ian, I don't think there's anything off the shelf for it, but maybe you just need a couple of nested loops to generate the coordinates for a MultiPoint and then intersect that with your Polygon. Michael On 31 January 2013 21:16, Ian Mayo <ia...@pl...> wrote: > Hi all, > I have a polygon and I'd like to generate a list of points that represent a > regular grid of points inside it at a set resolution. > Does JTS have a function to perform this? The API of the Geometry doesn't > seem to contain anything similar. > My algorithm will have to allow for (exclude) holds in the geometry - such > as a donut shape. > Thanks in advance for any pointers, > Ian > > > ------------------------------------------------------------------------------ > 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_jan > _______________________________________________ > Jts-topo-suite-user mailing list > Jts...@li... > https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user > |