3 Apr 2003 19:38
[GRASSLIST:5954] Re: Krovak / PROJ4 (+axis option?)
Frank Warmerdam <warmerdam <at> pobox.com>
2003-04-03 17:38:02 GMT
2003-04-03 17:38:02 GMT
Radim Blazek wrote: > Hi Frank, > > as you probably know, Krovak defines X=-y, Y=-x, i.e. X is vertical axis, > oriented down and Y is horizontal oriented to the left. But all > GIS/GPS/... systems must use usual coordinate system where > coordinates are in 3. quadrant. > For example: > 14.39862613611E 50.465671925N LL > X=1001120.05 Y=738666.75 Krovak > x=-738666.75 y=-1001120.05 In usual coor system and all GIS > > Because: > 1) Evenden's implementation of Krovak (PJ_kocc.c) returns by default > values in 3. quadrant (-738666.75 -1001120.05) and Krovak X,Y > is returned only with +czech option > 2) All GIS applications require coor in 3. quadrant and there > is no reasonable way to switch axis outside PROJ4 only for Krovak > (For GRASS for example, I used code PJ_krovak.c from PROJ4 > but modified the code to get negative signs.) > 3) Current behaviour in PROJ4 is wrong anyway in my opinion, because > returns 738666.76,1001120.13 (switched signs but not axis) > > I suggest to change PJ_krovak.c in PROJ.4 as you can see below. > That means to get values that most of applications require. > > Radim > > 136,137c139,140 > < xy.y = ro * cos(eps) / a;(Continue reading)
----------------------------------------
PROJ.4 Discussion List
See
RSS Feed