Python Logo

Convert CONSUS Albers to WGS84

This is a simple function to convert an X/Y location, in meters, to a latitude/longitude location. The transformation assumes the X/Y location is in a CONSUS Albers NAD83 (EPSG: 5070). This is a Python translation of the C code by Michael G. Duda. Accuracy seems to be ~0.1 meter with accuracy lessening to northern latitudes
+ Read More

Python Logo

Latitude/Longitude to/from Web Mercator

I needed to convert some latitude and longitude values into Web Mercator coordinates. Unfortunately, ArcPy does not give a way to do this in memory. I ran across some ESRI code I found on the web. So here’s my quick conversion to Python.