Anyone have an example of RescaleToPixelsFunction?
The generated function list
<http://docs.geotools.org/latest/userguide/library/main/function_list.html>
just
has the following:
*rescaleToPixels(value, defaultUnit, scaleFactor, rescalingMode):
rescaleToPixels*
-
*value: String 1:1 required *
-
*defaultUnit: Unit 1:1 required *
-
*scaleFactor: Double 1:1 required *
-
*rescalingMode: RescalingMode 0:1 optional *
- *rescaleToPixels: String 1:1 required *
Looking at the code I cannot quite figure out what to do, and I have not
found a test case...
I would expect something like the following to work (for a width I want
displayed as 2 mm): rescaleToPixel( 2, "mm", 1.0, 1)
--
Jody Garnett
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users