Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I instantiate a Universal Transverse Mercator (UTM) projection?

0
Posted

How do I instantiate a Universal Transverse Mercator (UTM) projection?

0

The easiest way is to use the “EPSG” or “AUTO” authority factory. The EPSG code of some UTM projections can be determined as below, where zone is a number from 1 to 60 inclusive (unless otherwise specified): • WGS 84 (northern hemisphere): 32600 + zone • WGS 84 (southern hemisphere): 32700 + zone • WGS 72 (northern hemisphere): 32200 + zone • WGS 72 (southern hemisphere): 32300 + zone • NAD 83 (northern hemisphere): 26900 + zone (zone 1 to 23 only) • NAD 27 (northern hemisphere): 26700 + zone (zone 1 to 22 only) Note that the above list is incomplete. See the EPSG database for additional UTM definitions (WGS 72BE, SIRGAS 2000, SIRGAS 1995, SAD 69, ETRS 89, etc., most of them defined only for a few zones). Once the EPSG code of the UTM projection has been determined, the CRS can be obtained as in the example below: int code = 32600 + zone; CoordinateReferenceSystem crs = CRS.decode(“EPSG:” + code); The above approach requires the EPSG database to be installed. If installing the EPSG dat

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123