# OpenDroneMap Coordinate format

Geographic Information Systems Asked on January 5, 2022

I was using OpenDroneMap to generate 2D map and the output comes with corner coordinates like this:
 -1.92011886596679688e+02 -1.89522613525390625e+02 1.91508605957031250e+02 1.99496490478515625e+02 

This does not look like normal lat/lng data, what format is this?

How should I convert to normal lat/lng?

I just had this problem too so I figured I'd share my solution for future reference.

Turns out that these coordinates are a local projection coordinate system, and is used instead of latitude/longitude because it avoids distortion. Read this article for a better explanation of the differences.

First, you can extract the info for which EPSG zone you are in, as well as the bounding coordinates for the orthophoto. I did this following this tutorial, here is the basic code I ended up using:

!pip install rasterio

import rasterio as rio

orthophoto_path = "insert path here"

with rio.open(orthophoto_path) as lidar_dem:
print(lidar_dem.crs)
print(lidar_dem.bounds)


In my case, this yields me outputs of:

EPSG:32612
BoundingBox(left=338483.52535142255, bottom=6176391.54517328, right=338858.99250627175, top=6176778.7207066)


The EPSG indicates which zone you're in. After googling, I found info about my zone here.

Then the bounds are actually in units of meters! It's rather handy. So in my case, you can see my survey is 387m tall (top - bottom). You can then use these numbers to relate where you are in accordance to your EPSG zone.

For me, this is all I actually needed to use (I didn't need lat/lon) since I just wanted to calculate distance from inside the image. However, if you did need to convert back to GPS, perhaps this thread will help you. Just keep in mind that lat/lon doesn't correlate linearly to distance on the surface of the earth. This is explained well by the first article I linked.

Answered by Matthew Wood on January 5, 2022

## Related Questions

### Why blank values in attribute table don’t work as NULL in QGIS?

1  Asked on July 21, 2021 by s-king

### Save shapefiles from command line altering geometry type and disabling z-dimension?

0  Asked on July 21, 2021 by p00d33m

### How to rotate a Contextily basemap in matplotlib and Jupyter notebook

0  Asked on July 21, 2021

### GPS glitch causes 200 m circles around stationary position- Has anyone seen this before?

2  Asked on July 21, 2021

### Generate a stars object from tabular spatial temporal data?

1  Asked on July 21, 2021 by cboettig

### Reprojecting a lascatalog

1  Asked on July 21, 2021

### When NOT to create spatial index

0  Asked on July 21, 2021

### Editing shapefile from QGIS in ArcMap causes errors according to QGIS topology check?

1  Asked on July 20, 2021 by etinne-thomassen

1  Asked on July 20, 2021 by mcgrawson

### Making combo chart in Google Earth Engine

1  Asked on July 20, 2021

### Underline labels in different color using QGIS

2  Asked on July 20, 2021 by lo-mazel

### Duplicating raster layer using QGIS Modeler

1  Asked on July 20, 2021

### Problems with some gdal functions in Mac version of QGIS3.4?

1  Asked on July 20, 2021 by eoin-omahony

### Placed latitude and longitude coordinates points in North Pole Azimuthal Equidistant projection in QGIS

1  Asked on July 20, 2021 by tristan-ubaldi

### GDAL Georeference Script Not Working

2  Asked on July 20, 2021

### ArcGIS Raster to Float tool ends up with different coordinate system

0  Asked on July 20, 2021 by ohlalala

### Geopandas Points within Polygon; Is there a method to convert bool series result into a python list?

1  Asked on July 20, 2021

### Combining Mapbox GL JS plugin with another SQLite-based plugin (Cordova)

0  Asked on July 20, 2021 by hollul

### Changing the order of the polygon’s nodes using the geometry generator in QGIS

1  Asked on July 20, 2021 by ilton

### Encountering error message when trying to load shapefile to Google Earth Engine

0  Asked on July 19, 2021