From: Michael B. <mic...@gm...> - 2008-12-17 00:33:18
|
2008/12/11 Trevor Marsh wrote: > For the current geotools build, there is a seemingly non-existant tutorial > structure, especially when it comes to rendering anything. Even the > official geotools tutorials use 2.0/2.1 however, these use LiteRenderer, > which seems to be depreciated to the point of non-existance. Can anybody > please point me in the right location for help on this matter? > Hi Tevor, The User Guide is a work in progress and most of what is there is thanks to Jody. Docs and tutorials are always harder to write than code, plus it's usually a labour of love so you have to make allowances for that :) I think that the best page to look at is: http://docs.codehaus.org/display/GEOTDOC/09+ShapeLab The code for this page can be found here: http://svn.geotools.org/trunk/demo/example/src/main/java/org/geotools/demo/ShapeLab.java It uses the StreamingRenderer class which is current. There are a few deprecated method class in the example methods that set drawing styles, but the code compiles and runs and is a good way to get started. Hope this helps Michael |