Difference between revisions of "Proj4"

From SCECpedia
Jump to navigationJump to search
Line 2: Line 2:
  
 
== Example Conversions ==
 
== Example Conversions ==
 +
Converting WGS84 to UTM Zone 11 using cs2cs
  
 +
* cs2cs -v +proj=latlong +datum=WGS84 +to +proj=utm +zone=11 +datum=WGS84
 +
"""
 +
-bash-4.2$ cs2cs -v +proj=latlong +datum=WGS84 +to +proj=utm +zone=11 +datum=WGS84
 +
# ---- From Coordinate System ----
 +
#Lat/long (Geodetic alias)
 +
#
 +
# +proj=latlong +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0
 +
# ---- To Coordinate System ----
 +
#Universal Transverse Mercator (UTM)
 +
# Cyl, Sph
 +
# zone= south
 +
# +proj=utm +zone=11 +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0
 +
-118.00 34.00
 +
407650.40 3762606.66 0.00
 +
"""
  
 
== Building Proj4 ==
 
== Building Proj4 ==

Revision as of 05:55, 9 October 2017

Coordinate system conversions are needed for several SCEC projects.

Example Conversions

Converting WGS84 to UTM Zone 11 using cs2cs

  • cs2cs -v +proj=latlong +datum=WGS84 +to +proj=utm +zone=11 +datum=WGS84

""" -bash-4.2$ cs2cs -v +proj=latlong +datum=WGS84 +to +proj=utm +zone=11 +datum=WGS84

  1. ---- From Coordinate System ----
  2. Lat/long (Geodetic alias)
  3. +proj=latlong +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0
  4. ---- To Coordinate System ----
  5. Universal Transverse Mercator (UTM)
  6. Cyl, Sph
  7. zone= south
  8. +proj=utm +zone=11 +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0

-118.00 34.00 407650.40 3762606.66 0.00 """

Building Proj4

proj4 built on Centos using the ./configure make, make install. Since we are building on a shared cluster, the

Online Implementations

Online Documentation

Downloads and Documentation

Related Entries