johann Sorel ha scritto:
> 
>> Both look very strange... can you reproduce them into a standalone
>> program, provide the shapefiles and let us have a look?
>>
>> Cheers
>> Andrea
> 
> I found out what is the problem :
> renderer.paint((Graphics2D) ig, mapRectangle, new Envelope(0,0,50,50));

> it's the "Envelope(0,0,50,50)"

Hem... that envelope is emtpy, since the order of the arguments
is xmin,xmax,ymin,ymax.
I guess the renderer should be more careful and throw an exception 
stating that the arguments are illegal. Care to cook up a patch?
Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to