Re: [Geotools-gt2-users] Transformation from EPSG 4326 to 4979

2011-02-22 Thread Farrukh Najmi
I have attached a patch to address the issue within the JIRA issue. I would appreciate if someone from dev team can comment on the proposed patch. Thanks. On 02/20/2011 02:09 PM, Farrukh Najmi wrote: I have opened the following issue: http://jira.codehaus.org/browse/GEOT-3443 I would be v

Re: [Geotools-gt2-users] Transformation from EPSG 4326 to 4979

2011-02-20 Thread Farrukh Najmi
I have opened the following issue: http://jira.codehaus.org/browse/GEOT-3443 I would be very glad to contribute a patch for a fix if the dev team (Andrea?) can just start me off with some guidance on what code to look at. Thanks in advance for your help. On 02/17/2011 09:03 AM, Farrukh Najmi

Re: [Geotools-gt2-users] Transformation from EPSG 4326 to 4979

2011-02-17 Thread Farrukh Najmi
Dear dev team, Shall I open an issue in the issue tracker for this? Or is it a user misunderstanding that I am expecting the referencing module to handle transformation from 2D to 3D CRS by simply adding doing a 2D transformation and adding a zero value for Z-axis value? On 02/14/2011 10:52

Re: [Geotools-gt2-users] Transformation from EPSG 4326 to 4979

2011-02-14 Thread Farrukh Najmi
Hi Javier, Thanks for sharing your transformation code. It seems to be transforming JTS Coordinate whereas I am looking to transform JTS Geometry. Here is the code I am using based on the gt-referencing module's JTS.transform() method... Geomtry sourceGeometry = ...

Re: [Geotools-gt2-users] Transformation from EPSG 4326 to 4979

2011-02-14 Thread Javier Moreno
I'm not using postgresql epsg but maybe the code I use to reproject will be useful to you. Just in case: /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.ub.bio.wms; import com.vividsolutions.jts.geom.Coordinate; import edu.ub.bio.fr

[Geotools-gt2-users] Transformation from EPSG 4326 to 4979

2011-02-14 Thread Farrukh Najmi
I am using a PostGres/PostGIS 8.3 database with gt-epsg-postgresql plugin. The EPSG Geodetic Parameter Dataset has been loaded into postgres from EPSG version 7.6. When I try to transform a geometry from EPSG:4326 (2D CRS) to EPSG:4979 (3D CRS) I get the following: Caused by: org.opengis.refe