<br clear="all">Hello list<br><br>I want to transform coordinates from a projection with ESPG:4326 to <br>a projection ESPG:2100, but some problems exist. In more details I am trying to <br>use the proj4 library so the problem is related with function : <i><b>pj_transform</b></i>(..) :<br>
<br>Here are the parameters used for ESPG:2100<br><br><i>ESPG: 2100-----> "+proj=tmerc +lat_0=0 +lon_0=24 +k=0.999600 +x_0=500000 +y_0=0 +ellps=GRS80 +towgs84=-199.87,74.79,246.62,0,0,0,0 +units=m +no_defs "<br>
ESPG:4326------> "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs "</i><br><br>Code is included inside the attached file.<br><br>the projection parameters are a copy paste from PostGis.<br>And another thing, is it possible to use directly the ESPG codes inside <i><b>pj_transform</b></i>("Something like+ESPG:2100","ESPG:4326")<br>
<br>Any ideas? Am I doing something wrong?<br>Thanks in advance.<br><br>-- <br>Best Regards<br>Nikos Gerontidis<br>