New answers tagged

1

First, I will assume that your points are in WGS84 = EPSG: 4326. Convert the lon/lat points to UTM meters using pyproj. First we need to get the correct projection. The issue is that to convert to UTM you need to know your UTM zone. That is something you can look up separately; UTM zone will depend on the longitude of the initial shape. import pyproj proj ...


0

In case someone is still interested in a pure Python Irish Transverse Mercator forward conversion, from math import * # Meridian Arc def arcmer(a,equad,lat1,lat2): b=a*sqrt(1-equad) n=(a-b)/(a+b) a0=1.+((n**2)/4.)+((n**4)/64.) a2=(3./2.)*(n-((n**3)/8.)) a4=(15./16.)*((n**2)-((n**4)/4.)) a6=(35./48.)*(n**3) s1=a/(1+n)*(a0*...


Top 50 recent answers are included