henrikstef Posted May 15, 2013 Share Posted May 15, 2013 Hi forum, I have a task at work, were I have to transform a long list of coordinates from one coordinate system to an other. For this I use a tool at the following website: http://valdemar.kms.dk/cgi-trf/trfcrd My question is: Is there any way, that I can use this form in a php script to automate this process? This would really come in handy! Thanks in advance.. Regards Henrik Quote Link to comment https://forums.phpfreaks.com/topic/278034-using-a-javascript-form-on-external-website/ Share on other sites More sharing options...
Solution requinix Posted May 15, 2013 Solution Share Posted May 15, 2013 (edited) Learn the math and write the code to translate it. Don't use their form. What coordinate systems are you converting from and to? Edited May 15, 2013 by requinix Quote Link to comment https://forums.phpfreaks.com/topic/278034-using-a-javascript-form-on-external-website/#findComment-1430255 Share on other sites More sharing options...
henrikstef Posted May 15, 2013 Author Share Posted May 15, 2013 (edited) Thanks for your reply. Yeah, I've thought about that. It would just have been an easy workaround if it was possible. I have to transform between UTM32-ed50, UTM32-etrs89, UTM33-ed50, UTM33-etrs89, geo-ed50 and geo-etrs89. However I found a library for a various of transformations. https://bitbucket.org/KMS/trlib So I'll give it a shot in python instead. But thanks anyway. BR Henrik Edited May 15, 2013 by henrikstef Quote Link to comment https://forums.phpfreaks.com/topic/278034-using-a-javascript-form-on-external-website/#findComment-1430262 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.