Ian Turton ha scritto: > On Sun, Aug 23, 2009 at 4:49 AM, Jody Garnett<[email protected]> wrote: >> Yeah okay that makes sense. There is a worldToScreen transformation in the >> work Michael is doing as well. Checking it over I only see it defined by: >> - afterImageMove(ReferencedEnvelope mapAOI, Rectangle paintArea) >> - setMapArea(Envelope env) >> So I think some work will be needed to hook this one up. My preference would >> be to always define the: center location; scale and rotation - rather then a >> rectangle as is currently done. > > Why? It seems to me that most of the time I know what the area I want > to view is but that scale and rotation aren't things I want to worry > about. > > I also don't really see a use case for rotating the map in the > renderer - shouldn't rotation be something the GUI deals with?
The use case is visualization and printing of areas whose shape does not fit well the paper or the screen and so you decide to rotate the map to better use the space you have. Usually this has to be coupled with a north arrow so that you can always know where north points to. Doing rotation in the renderer allows to keep labels readable (they are still horizontal despite the rotation). Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
