Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 144357

The Universal Transverse Mercator (UTM) geographic coordinate system uses a 2-dimensional Cartesian coordinate system to give locations on the surface of the Earth.

1 vote

Different origins of UTM projection

https://pyproj4.github.io/pyproj/stable/examples.html#find-utm-crs-by-latitude-and-longitude from pyproj import Proj from pyproj.aoi import AreaOfInterest from pyproj.database import query_utm_crs_info …
snowman2's user avatar
  • 7,527
4 votes

What is the order of parameter (lat/long) in python UTM package for conversion into x, y coo...

For pyproj you should be mindful of axis order changes. If you want it to always be in the lon, lat order, you should specify it when creating the transformer. For example: from pyproj import Trans …
snowman2's user avatar
  • 7,527
1 vote

Python script converts UTM to northern hemisphere fine, but I need southern hemisphere

SProj = pyproj.Proj(proj='utm', datum='WGS84', zone=utz, south=True) …
snowman2's user avatar
  • 7,527
7 votes

Auto-select suitable UTM Zone based on Grid Intersection

Step 1: Convert point to geographic Step 2: make query https://pyproj4.github.io/pyproj/stable/examples.html#find-utm-crs-by-latitude-and-longitude from pyproj import CRS from pyproj.aoi import AreaOfInterest …
snowman2's user avatar
  • 7,527
0 votes

Python WKT or Proj4 lookup package

https://pyproj4.github.io/pyproj/stable/examples.html >>> from pyproj import CRS >>> crs = CRS("WGS 84 / UTM Zone 14N") >>> crs.to_proj4() <stdin>:1: UserWarning: You will likely lose important projection … See: https://proj.org/faq.html#what-is-the-best-format-for-describing-coordinate-reference-systems '+proj=utm +zone=14 +datum=WGS84 +units=m +no_defs +type=crs' >>> crs.to_epsg() 32614 >>> print(crs.to_wkt …
snowman2's user avatar
  • 7,527
1 vote

Using vgridshift from Python

I would recommend using Transformer.from_pipeline: >>> from pyproj import Transformer >>> tr = Transformer.from_pipeline("+proj=vgridshift +grids=dvr90.gtx") >>> tr <Other Coordinate Operation Transfo …
snowman2's user avatar
  • 7,527
2 votes

Converting latitude/longitude to UTM using GDA2020 datum with Pyproj

.> Name: undefined Axis Info [cartesian]: - E[east]: Easting (metre) - N[north]: Northing (metre) Area of Use: - undefined Coordinate Operation: - name: UTM zone 16S - method: Transverse Mercator Datum …
snowman2's user avatar
  • 7,527
7 votes

Converting large data with lat and long into X and Y?

from pyproj import Proj pp = Proj(proj='utm',zone=10,ellps='WGS84', preserve_units=False) xx, yy = pp(My_data["LON"].values, My_data["LAT"].values) My_data["X"] = xx My_data["Y"] = yy Using Transformer … from pyproj import Transformer trans = Transformer.from_crs( "epsg:4326", "+proj=utm +zone=10 +ellps=WGS84", always_xy=True, ) xx, yy = trans.transform(My_data["LON"].values, My_data["LAT …
snowman2's user avatar
  • 7,527
0 votes
Accepted

Transforming EPSG:4979 to given WKT (~EPSG:6654)

It is likely that you are missing the transform grids. https://pyproj4.github.io/pyproj/stable/transformation_grids.html You can either download the grids or enable the network. https://pyproj4.github …
snowman2's user avatar
  • 7,527