I have little experience with pyproj, but I want to achieve the following task: I have a trajectory of a robot, given in lat/long coordinates which I want to convert to x/y Coordinates. And I want to do this using a "flat" cartesian coordinate system originating at a lat/long combination of my choice. I realize that this projection only works for a small area, but that is okay with me, as the area I am looking at is small (<10km in all directions.) Here is what I achieved so far, which is a transverse mercator projection (or so I was told).
I have used the following code.
import pyproj as proj
crs_wgs = proj.Proj(init='epsg:4326') # assuming you're using WGS84 geographic
crs_bng = proj.Proj(init='epsg:27700') # use a locally appropriate projected CRS
# then cast your geographic coordinate pair to the projected system
x, y = proj.transform(crs_wgs, crs_bng, s['gps_lng'], s['gps_lat'])
So this question is two-fold:
Which Projection do I use to achieve a local flat cartesian coordinate system
Howto define this projection at my given lat/long combination
I was told to ask this question in a new thread, see my old question. Also a similar question has been asked, but it seemed to be too unspecific to be answered.