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 Link to comment https://forums.phpfreaks.com/topic/278034-using-a-javascript-form-on-external-website/ Share on other sites More sharing options...
requinix Posted May 15, 2013 Share Posted May 15, 2013 Learn the math and write the code to translate it. Don't use their form. What coordinate systems are you converting from and to? 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 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 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
Archived
This topic is now archived and is closed to further replies.