[R-sig-Geo] convUL: wrong for Southern hemisphere

Agustin Lobo Agustin.Lobo at ija.csic.es
Sat Nov 3 13:17:02 CET 2007


Dear list,

For negative latitudes (Southern hemisphere), convUL yields negative UTM 
coordinates as
for Northern hemisphere, instead of positive UTMY coordinates for the
South.  I don't see any option for modifying this behavior, is it?
The same is true for spTransform, can't fnd the way of stating that
the utm zone is in the Southern hemisphere (which should not be
required, because of the negative latitude)
spTransform(tomas1sp, CRS("+proj=utm +zone=19 +ellps=WGS84"))
yields negative UTMY coordinates and
spTransform(tomas1sp, CRS("+proj=utm +zone=-19 +ellps=WGS84"))
an error

Agus

-- 
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster




More information about the R-sig-Geo mailing list