From: Joe B. (JIRA) <ji...@co...> - 2011-02-10 17:23:28
|
Datum mapping values are trashed if gt-jp2k is on the classpath --------------------------------------------------------------- Key: GEOT-3423 URL: http://jira.codehaus.org/browse/GEOT-3423 Project: GeoTools Issue Type: Bug Components: core metadata, gc jp2k Affects Versions: 2.7-RC1, 2.7-M3 Environment: RHEL 5.3, jdk 1.6.0_12 Reporter: Joe Boese Attachments: TestProject.zip I am trying to map from from NAD83 (EPSG:4152) to WGS84 (EPSG:4326) using the ReferencedEnvelope.toBound() API. I am able to do the mapping and get results which seem reasonable unless I have gt-jp2k<version>.jar on my classpath. Example: When mapping the following box (North, East, South, West) (29.938194274, -90.28570556, 29.924352645, -90.30159759) I get the following result (without gt-jp2k.jar on classpath) (29.938199672378193, -90.28572067250404, 29.924358038341936, -90.30161270910881) And WITH gt-jp2k.jar on the classpath I get... (-89.69840445522946, -150.06687862669452, -89.71429649289404, -150.08100271184813) As an interesting side note... if I use gt-epsg-hsql-2.7-M3.jar instead of gt-epsg-wkt-2.7-M3.jar I also get.. (-89.69840445522946, -150.06687862669452, -89.71429649289404, -150.08100271184813) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |