I am working with a GIS project. Right now I have code to convert decimal degrees to degree/minute/seconds, but I don't have any idea how to convert decimal degree or degree/minutes/seconds to meters. Can anyone help me to convert decimal degree or degree/minutes/seconds to meters in Java?
Asked
Active
Viewed 4,912 times
2 Answers
1
You question might be really easy, or really complicated. Can we assume a spherical Earth? If so, you might be fine with the basic arc length formula:
Arc Length = degrees * pi * R / 180

anon
- 4,578
- 3
- 35
- 54
-
Arc Length = degrees * pi * R / 180 in this r stands for , – nagarjuna Feb 09 '11 at 09:45
-
R stands for the radius of the Earth (a spherical Earth). – anon Feb 10 '11 at 00:43
0
How about GDAL?
GDAL is a translator library for raster geospatial data formats that is released under an X/MIT style Open Source license by the Open Source Geospatial Foundation. As a library, it presents a single abstract data model to the calling application for all supported formats. It also comes with a variety of useful commandline utilities for data translation and processing. The NEWS page describes the January 2011 GDAL/OGR 1.8.0 release.

trojanfoe
- 120,358
- 21
- 212
- 242