On Wed, Mar 9, 2011 at 5:02 PM, Peter Borissow <[email protected]>wrote:
> Simone/Andrea-
> I generated a new world image that extends from 80N to 80S. I updated the
> envelope to (-180, -80, 360, 160) and per Simone's suggestion, I did
> CRS.decode("EPSG:4326", true).
>
>
> ---
> Envelope2D envelope = new Envelope2D(CRS.decode("EPSG:4326", true),
> new java.awt.geom.Rectangle2D.Float(-180, -80, 360, 160)
> );
> ---
>
> I got an image out, without any errors, but the output looks identical to
> the
> input. Am I missing something else?
>
You're not missing anything I think, in that kind of reprojection only the
georeferencing
changes as far as I remember, the number of pixels is preserved. But you're
not writing out
the georeferencing so you don't see it.
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
mob: +39 333 8128928
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
-------------------------------------------------------
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users