Re: [Geotools-gt2-users] Printing a Map

2006-02-22 Thread Martin Desruisseaux
Tim Englich a écrit : I try to print out a map by using the following code: Graphics2D g = ((Graphics2D)graphics); Rectangle rect = g.getClipBounds(); mainMapPane.getRenderer().paint(g,rect,zoom,true); Everything works fine until I change the Paperformat to Landscape. The I get a Picture where

[Geotools-gt2-users] Re: Problem with Displaying Raster info in a Legend

2006-02-22 Thread Martin Desruisseaux
Chase, Andrew a écrit : Is there supposed to be support for Raster's in this context, or will I continue to hit other errors similar to this one? I ask because I'm wondering whether to fix this code, or take a different approach. I have not looked in which module RasterSymbolizer is defined.

Re: [Geotools-gt2-users] Raster and Interpolation...

2006-02-22 Thread Martin Desruisseaux
Fernando Avalos García a écrit : Can any body help me, please??? I have a shp file wich have random points with a value. And I need display a tematic map making an interpolation of the values of these points. Yours point need to be on a grid. There is nothing in Geotools right now for creating

[Geotools-gt2-users] Problem with Displaying Raster info in a Legend

2006-02-22 Thread Chase, Andrew
All my previous issues have been cleared up (thanks!), but I've come across a new one. I'm trying to add a legend to generated map and for starters I was hoping to keep it pretty simple, I create a Legend object initialized with a MapContext, then I display that Legend in a separate window. How

Re: [Geotools-gt2-users] TextSymbolizer displaying labels

2006-02-22 Thread dblasby
>>Last instruction in method end() is, correctly, labelCache.clear(). But there is no labelCacheNonGrouped.clear(). Thats a bug -- could you add that in and commit the change? (You only get this bug if you are re-using the renderer) You can turn grouping on-and-off in different layers -- just se

Re: [Geotools-gt2-users] Raster and Interpolation...

2006-02-22 Thread Fernando Avalos García
Hi: Can any body help me, please??? I have a shp file wich has random points with a value. And I need display a tematic map making an interpolation of the values of these points. Can any body send me a little example, please??? Thanks in advance... > --- Martin Desruisseaux > <[EMAIL PROTE

[Geotools-gt2-users] a mapcontext with dynamic featuresource

2006-02-22 Thread Christian Sengstock
hi list, i try to handle a mapcontext with two maplayers, which i draw via the lite renderer. my changing input is not from a datastore but as plain x/y coodinates. the class in which my map is rendered is a persistent one, so i try to figure out where two save my feature/featuresource/maplayer be

Re: [Geotools-gt2-users] TextSymbolizer displaying labels

2006-02-22 Thread Manuele Ventoruzzo
Thanks Martin. I founded that two issues are related. For instance, I disabled grouping option and now geotools 2.2-M2 shows echos too. That is: when I do some operation on layers, such as a zoom in/out or pan, it shows both labels on old position and on new one. Using group option it doesn't