Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Let's have a list of SRS with proj4 definitions (e.g. spatial_ref_sys table). Is there a way to determine whether given SRS is geographic (lon,lat) or cartesian (x,y)?

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

You can have a look at the proj4text string, and whether or not it has "+units=x" (usually m for metres) in there.

@dariapra's answer implies that all cartesian co-ordinate systems are projected using Universal Transverse Mercator, which isn't the case at all.

share|improve this answer
add comment

If geographic, you will see that +proj=longlat; for instance, for SRS with EPSG code 4326:

+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs

If cartesian, you will see that +proj=utm, which stands for Universal Transverse Mercator coordinate system, which is cartesian; for instance, for SRS with EPSG code 23029:

+proj=utm +zone=29 +ellps=intl +units=m +no_defs

share|improve this answer
    
Not if the data is in a non-utm projection –  HeyOverThere Dec 11 '12 at 18:03
    
There is much more than "longlat" and "utm", e.g. tmerc, somerc, omerc, lcc, krovak, cass, sterea, aea, laea, stere, cea. Is "longlat" geographic SRS and the rest is cartesian? –  romat2 Dec 11 '12 at 18:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.