[Geoserver-devel] Re: WMS reprojections

Alessio,

The WMS reprojection actually takes place in the liteRenderer. Lets say
you have a DataStore/FeatureType in projection "DATAPROJECTION" and
you're drawing a map in "MAPPROJECTION".

You'll see that the literenderer will take the draw bounding box (in
"MAPPROJECTION") and xform it to DATAPROJECTION and then go off and
request the data from the datastore. This data will be in
DATAPROJECTION. The literenderer will then convert the data from
DATAPROJECTION to MAPPROJECTION and draw it.

I use the CRS.decode("EPSG:#") for converting from a epsg # to a
CoordinateReferenceSystem. CRS decode should look (and find) your
epsg-wkt.jar or epsg-access.jar. I'm not sure what it does if it finds
both.

NOTE: I noticed some problems with the way that CRS information was
being used. I've fixed them, so wait until tomorrow (I'll commit
sometime today) and try again.

dave

----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/