parameters: (self, lat, lon)
return_statement: return mx, my
docstring: Converts given lat/lon in WGS84 Datum to XY in Spherical Mercator EPSG:3857
docstring_summary: Converts given lat/lon in WGS84 Datum to XY in Spherical Mercator EPSG:3857
docstring_tokens: Converts given lat / lon in WGS84 Datum to XY in Spherical Mercator EPSG : 3857
function: def LatLonToMeters(self, lat, lon):
          "Converts given lat/lon in WGS84 Datum to XY in Spherical Mercator EPSG:3857"
  
          mx = lon * self.originShift / 180.0
          my = math.log(math.tan((90 + lat) * math.pi / 360.0)) / (math.pi / 180.0)
  
          my = my * self.originShift / 180.0
          return mx, my
function_tokens: def LatLonToMeters ( self , lat , lon ) : mx = lon * self . originShift / 180.0 my = math . log ( math . tan ( ( 90 + lat ) * math . pi / 360.0 ) ) / ( math . pi / 180.0 ) my = my * self . originShift / 180.0 return mx , my