Hi Folks,<br><br><div>I hope I'm sending this to the right list. Apologies if not.</div><div><br></div><div>I'm hitting a bit of a problem with a proj4js conversion, and I'm hoping someone can help. I'm trying to go from EPSG 4326 to 28193, and I'm just getting my original coordinates returned. As per <a href="http://spatialreference.org/ref/epsg/28193/" target="_blank">http://spatialreference.org/ref/epsg/28193/</a> , I have the proj4js definition for 28193 as: <div>
<br><div>Proj4js.defs["EPSG:28193"] = "+proj=cass +lat_0=31.73409694444445 +lon_0=35.21208055555556 +x_0=170251.555 +y_0=1126867.909 +a=6378300.789 +b=6356566.435 +towgs84=-275.722,94.7824,340.894,-8.001,-4.42,-11.821,1 +units=m +no_defs";<br>
<br></div><div>To demonstrate, I've modified the converter in the proj4js homepage to also have 28193 (Old Israel Grid/Palestine 1923) and 2039 (New Israel Grid). <br>You can see the demo here: <a href="http://arkeotech.googlepages.com/Proj4js.htm" target="_blank">http://arkeotech.googlepages.com/Proj4js.htm</a> </div>
<div><br>Converting the coordinates 35,31 from 4326 to 2039 works fine, but from 4326 to 28193 just returns 35,31. Looking at the spatial reference page for 28193, you can use the viewer to get an approximation for those coordinates... it should be somewhere roughly around 149353, 1046172</div>
<div><br></div><div>Any thoughts?</div><div><br></div><div>Thanks,</div><div><br></div><div>Josh<br><br><br><br></div></div></div>