Hi Ian ... if you are going to look at udig raster support please review the work on udig/trunk.
It all comes down to one "Renderer" here ... - http://svn.geotools.org/udig/trunk/plugins/net.refractions.udig.render.gridcoverage.basic/src/net/refractions/udig/render/internal/gridcoverage/basic/BasicGridCoverageRenderer.java The use of GridCoverageRenderer is really poor, we could not find out what all the parameters did when we upgraded from GeoTools 2.2 to GeoTools 2.4.... - http://docs.codehaus.org/display/GEOTOOLS/Upgrade+to+2.3 - http://udig.refractions.net/confluence/display/UDIG/GeoTools+2.4+for+uDig+Developers Both pages have code examples of how to use things now ... this was just done by trial and error (I don't think docs have been written yet?) Cheers, Jody Ian Turton wrote: > I'm attempting to modify the MapViewer example to display a WMS layer > or two, and it mostly works. Except you can't actually see the map :-( > > I'm pretty sure this is down to the fact I have to pass a style object > to the renderer with my grid coverage, but since I don't actually want > to do any thing I'm not sure what to put in here. > > I'm now having doubts as to whether I should be using a grid coverage > at all as when the user zooms in or pans I really want to requery the > server and get a new map. > > So I guess my question is what is the right way to be doing this or > should I just download the UDIG source tree and wade through trying to > see how they do it? > > Ian > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
