On Sun, Jul 24, 2011 at 9:55 AM, Michael Bedward
<[email protected]> wrote:
> Hi Jody,
>
> I've just committed some changes to JCRSChooser. If you have a chance,
> could you cast your eyes over the code please and also give it a
> whirl, perhaps with the CRSLab app.

Looks good.
Btw, for the CRS lab you probably want to enable the "advanced projection
handlign" in the renderer, it will improve quite a bit the rendering
of projections
whose definition area is "small" compared to the world.
Does not work with all projections, but transverse mercator and
stereographic are covered
(and more could be added)

Add this among the renderer params:
rendererParams.put(StreamingRenderer.ADVANCED_PROJECTION_HANDLING_KEY, true);
and if you want the world to be wrapped google style, this one too:
rendererParams.put(StreamingRenderer.CONTINUOUS_MAP_WRAPPING, true);

Hmmm... the first has been added when the new experimental
functionality was added, but
I guess that in the new 8 series we just have it on by default...

Btw, in the following weeks I'll also work on automatic long straight
line densification previous
to reprojection, so that we can get curved lines out of reprojecting
meridians and parallels
without having to add extra ponts in the original geometry (the
renderer will estimate the
amount of extra points needed and add them on the fly).

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to