Re: [Geotools-devel] New unsupported module for hexagonal features

2010-05-24 Thread Andrea Aime
Jody Garnett ha scritto: > It seems strange to make a new module for one class. > Could you wrap this up as a process that produces a FeatureCollection of Hex > in response to some parameters? Option b), we make a module for grids. Also rectangular ones. Gabriel has added some code in GeoServer t

Re: [Geotools-devel] New unsupported module for hexagonal features

2010-05-24 Thread Ben Caradoc-Davies
On 24/05/10 14:27, Michael Bedward wrote: > In response to a question on the user list I unearthed some old code > for creating hexagonal grids (tesselation of hexagonal polygons) and > reworked it for GeoTools 2.7. > As I'm sure you know, hexagonal lattices have that advantage that each > cell's i

Re: [Geotools-devel] New unsupported module for hexagonal features

2010-05-24 Thread Michael Bedward
On 24 May 2010 17:14, Ben Caradoc-Davies wrote: > > Not to mention their usefulness in turn-based board and computer games! > http://en.wikipedia.org/wiki/Hex_map > > [20th century flashback: D&D, Traveller, Avalon Hill board games ...] > Curses - you guessed :-) Jody - I was thinking a module ju

Re: [Geotools-devel] New unsupported module for hexagonal features

2010-05-24 Thread Jody Garnett
Ohh that would be fun! There is some code to generate grids in uDig as well that could be provided. Jody On 24/05/2010, at 5:02 PM, Andrea Aime wrote: > Jody Garnett ha scritto: >> It seems strange to make a new module for one class. >> Could you wrap this up as a process that produces a Featu

Re: [Geotools-devel] New unsupported module for hexagonal features

2010-05-24 Thread Michael Bedward
On 24 May 2010 17:02, Andrea Aime wrote: > Option b), we make a module for grids. Also rectangular ones. > Gabriel has added some code in GeoServer to generate grids > to be used in the CRS area of definition preview, see here: > http://demo.opengeo.org/geoserver/web/?wicket:bookmarkablePage=:org.g

Re: [Geotools-devel] New unsupported module for hexagonal features

2010-05-24 Thread Andrea Aime
Michael Bedward ha scritto: > On 24 May 2010 17:02, Andrea Aime wrote: >> Option b), we make a module for grids. Also rectangular ones. >> Gabriel has added some code in GeoServer to generate grids >> to be used in the CRS area of definition preview, see here: >> http://demo.opengeo.org/geoserver/w

[Geotools-devel] [jira] Created: (GEOT-3105) new vector grid module

2010-05-24 Thread Michael Bedward (JIRA)
new vector grid module -- Key: GEOT-3105 URL: http://jira.codehaus.org/browse/GEOT-3105 Project: GeoTools Issue Type: New Feature Components: new modules Reporter: Michael Bedward Assigne

Re: [Geotools-devel] New unsupported module for hexagonal features

2010-05-24 Thread Gabriel Roldan
Sounds interesting, +1 here. Note the actual complexity in the geoserver demo code comes from the need for the grid to nicely reproject, hence needing to find a balance between granularity and resource consumption. (The createLatLonDataStore() method here creates a line every 5 degrees in both

Re: [Geotools-devel] New unsupported module for hexagonal features

2010-05-24 Thread Gabriel Roldan
> For an actual grid datastore, we could maybe specify the grid CRS, > granularity, and bounds as part of the datastore parameters? And for the produced FetureIterator to create the features on demand instead of holding them in memory?

Re: [Geotools-devel] New unsupported module for hexagonal features

2010-05-24 Thread Michael Bedward
Thanks Gabriel. The initial sources for hexagons that I've just committed (unsupported/grids) are CRS-agnostic (ie. dumb :) so I'll study your code with interest. Michael On 24 May 2010 20:45, Gabriel Roldan wrote: > >> For an actual grid datastore, we could maybe specify the grid CRS, >> granul

Re: [Geotools-devel] New unsupported module for hexagonal features

2010-05-24 Thread Jody Garnett
drop the "s" and call it good +1 Plural just say no. Jody On 24/05/2010, at 6:02 PM, Michael Bedward wrote: > On 24 May 2010 17:02, Andrea Aime wrote: >> Option b), we make a module for grids. Also rectangular ones. >> Gabriel has added some code in GeoServer to generate grids >> to be used in t

Re: [Geotools-devel] New unsupported module for hexagonal features

2010-05-24 Thread Jody Garnett
> Gabriel has added some code in GeoServer to generate grids > to be used in the CRS area of definition preview, see here: > http://demo.opengeo.org/geoserver/web/?wicket:bookmarkablePage=:org.geoserver.web.demo.SRSDescriptionPage&code=EPSG:2008 That is very pretty! Nice work Gabriel. Jody

[Geotools-devel] feature collection and rendering

2010-05-24 Thread Jody Garnett
HI Andrea: I have been finally responding to a long standing wish/issue on the user list a replacement for DefaultFeatureCollection. I have done two implements: - TreeSetFeatureCollection (a straight up copy of DefaultFeatrueCollection so we can preserve it for test cases) - ListFeatureCol

[Geotools-devel] [jira] Created: (GEOT-3106) Support linking between map panes

2010-05-24 Thread Michael Bedward (JIRA)
Support linking between map panes - Key: GEOT-3106 URL: http://jira.codehaus.org/browse/GEOT-3106 Project: GeoTools Issue Type: New Feature Components: swing Reporter: Michael Bedward

[Geotools-devel] multithreaded rendering

2010-05-24 Thread Michael Bedward
Hi Andrea, Jody, I'm reworking the RenderingExecutor class in the swing module. At present, RenderingExecutor is designed to work with one map pane, running one rendering task at a time. In the new swing code RenderingExecutor will offer multiple threads (from a cached thread pool) and be able to

[Geotools-devel] [jira] Created: (GEOT-3107) Add support for rectangular grids to vector grid module

2010-05-24 Thread Michael Bedward (JIRA)
Add support for rectangular grids to vector grid module --- Key: GEOT-3107 URL: http://jira.codehaus.org/browse/GEOT-3107 Project: GeoTools Issue Type: New Feature Components: new

[Geotools-devel] Nominate Shane Bailie for GeoTools commit access

2010-05-24 Thread Ben Caradoc-Davies
I nominate my colleague Shane Bailie for GeoTools commit access. All the usual rules apply (commits must be approved by module maintainers). Shane has already fixed one bug in complex feature WFS encoding, and his work has been reviewed by Rini and Justin. -- Ben Caradoc-Davies Software Engin

Re: [Geotools-devel] Nominate Shane Bailie for GeoTools commit access

2010-05-24 Thread Michael Bedward
I think you've got far too many helpers Ben - it must be a managerial burden. Perhaps I could assist by taking some of them off your hands... Michael On 25 May 2010 16:04, Ben Caradoc-Davies wrote: > I nominate my colleague Shane Bailie for GeoTools commit access. All the > usual rules apply (co

Re: [Geotools-devel] Nominate Shane Bailie for GeoTools commit access

2010-05-24 Thread Ben Caradoc-Davies
There are more to come! We will not have all of them as full-time developers. Many will focus on GeoServer deployments, and will fix GeoServer and GeoTools bugs on a part-time basis. On 25/05/10 14:26, Michael Bedward wrote: > I think you've got far too many helpers Ben - it must be a manageria