admin管理员组文章数量:1435270
Does anyone have a formula or conversion that will switch my UTM coordinates from Meters to Feet? I found Javascript code that will convert UTM coords in meters to Lat/Long but I will need my UTM in feet before I convert it to Lat/Long.
Does anyone have a formula or conversion that will switch my UTM coordinates from Meters to Feet? I found Javascript code that will convert UTM coords in meters to Lat/Long but I will need my UTM in feet before I convert it to Lat/Long.
Share Improve this question edited Mar 18, 2014 at 20:43 Kara 6,22616 gold badges53 silver badges58 bronze badges asked Apr 21, 2010 at 14:53 JoshJosh 1,9114 gold badges27 silver badges34 bronze badges 4- 4 You are just looking for a formula for converting metres to feet? 1 metre = 3.280839895 feet. Just curious, if you have UTM in metres and a routine to convert that to lat/lon, why do you need UTM in feet? (I'm pretty sure UTM is defined as being in metres not feet, so in feet it's not really UTM) – Lazarus Commented Apr 21, 2010 at 14:58
- Good God.. I can't believe I missed that. Thanks Lazarus. Can you post that response to the answers so I can give you credit? thanks – Josh Commented Apr 21, 2010 at 15:01
- 1 I've added it but just glad to help. I've spent many, many hours staring at problem only to have someone else point to the issue without really even reading the code. Some times we can be just too close to the problem space :) – Lazarus Commented Apr 22, 2010 at 12:09
- Sounds like there's something unorthodox with your UTM conversion code if it needs feet (UTM by definition uses metres). An alternative for the transform is to simply use the Proj4JS JavaScript library. Open Source + supports a number of different projections,etc. – winwaed Commented Dec 3, 2010 at 13:56
2 Answers
Reset to default 1You are just looking for a formula for converting metres to feet? 1 metre = 3.280839895 feet.
Actually, 1 inch is defined to be 25.4 mm, and 1 foot is exactly 12 inches, so 1 foot is exactly 0.3048 m.
Hence 1 m is 1/0.3048 feet, or 3.280839895013123359580052493438320209973753... feet.
本文标签: javascriptHow can I convert UTM coordinates from Meters to FeetStack Overflow
版权声明:本文标题:javascript - How can I convert UTM coordinates from Meters to Feet? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744571185a2613350.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论