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 directions: <https://svn.codehaus.org/geoserver/trunk/src/web/demo/src/main/java/org/geoserver/web/crs/CRSAreaOfValidityMapBuilder.java>) For an actual grid datastore, we could maybe specify the grid CRS, granularity, and bounds as part of the datastore parameters? Cheers, Gabriel. On 5/24/10 5:22 AM, Andrea Aime wrote: > 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/web/?wicket:bookmarkablePage=:org.geoserver.web.demo.SRSDescriptionPage&code=EPSG:2008 >> >> I like that :-) Actually that also relates to this issue I came >> across in yesterday's squashing session: >> >> http://jira.codehaus.org/browse/GEOT-600 >> >> So everyone happy if I create a module called "grids" ? > > I would (be happy) :-p > > Cheers > Andrea > > -- Gabriel Roldan OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel