![]() ![]() #Utm to lat long codeI've since found code which will convert my metres and zone data to lat/long, but does anyone know how I can apply this to a whole dataframe (bus_stops)? posx should be column 'Location_Easting' and posy should relate to column 'Location Northing' from shapely.geometry import Point ![]() The change is processed interactively once a lat-long is converted DO NOT click the Submit button. MyProj = Proj ("+proj=utm +zone=30U, +north +ellps=WGS84 +datum=WGS84 +units=m +no_defs") Click blue bar (s) to expand/collapse Converted Coordinate Reference Frame: You may change the default UTM zone. A zone can be specified if none is given ( zone 0 ) then the correct one will be. I've now made an educated guess to my UTM zone (30U), but when I run the below code (updated) I'm told the module is still not callable - from my understanding of this link it should be appropriate for my project? Convert a latitude/longitude pair (WGS84) to UTM zone/easting/northing. Conversions to NATO coordinates are only done for the WGS84 ellipsoid. ![]() I know it asks for a zone but like I said I don't have this data. NOTE: UTM and NATO easting and northing values are rounded to the nearest meter. MyProj = proj ("+proj=utm +zone=23K, +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs") UTM(WGS84) Easting/Northing > Latitude/Longitude. I tried this line of code but I get a TypeError saying the 'module' is not callable Select action: Results: input lat lon UTM/UPS MGRS GeoConvert (version 2.1.1) converts between geographic (latitude and longitude) coordinates. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |