# ArcPy get MeanCellSize in Meters

429
2
11-22-2016 12:11 PM
New Contributor II

Hi,

I am trying to create an Index of all GEO-Data on my PC.

But with the MeanCellSize I have a problem, If the Raster data is a geographic the MeanCellSize is in Degree.

Of course, I can project every Raster as an "im_memory" variable but, there must be an easier way?

Thanks Mike

Tags (3)
1 Solution

Accepted Solutions
MVP Esteemed Contributor

My guess would be that those numbers will translate to round metric numbers using the approximations specified by W Huber in the link that Joshua sent you, approximated by cos(lat)*meters/deg where latitude is your approximate latitude and meters/deg is the conversion at the equator.  This equates to the distance along a parallel for the spherical earth that W.H refers to (about 111,111 meters per degree at the equator)

I suspect that the data distributed is either 1, 2, 5, 10, etc meters and any representation in decimal degrees is done solely to provide consistency with the base units

2 Replies
MVP Esteemed Contributor

The response I would give is embedded in a response to a similar question on StackExchange:  What are the units of the calculated area from a raster in decimal degree

MVP Esteemed Contributor

My guess would be that those numbers will translate to round metric numbers using the approximations specified by W Huber in the link that Joshua sent you, approximated by cos(lat)*meters/deg where latitude is your approximate latitude and meters/deg is the conversion at the equator.  This equates to the distance along a parallel for the spherical earth that W.H refers to (about 111,111 meters per degree at the equator)

I suspect that the data distributed is either 1, 2, 5, 10, etc meters and any representation in decimal degrees is done solely to provide consistency with the base units