[Xastir-dev] Adding coordinate formats to Xastir

Gerry Creager N5JXS gerry.creager at tamu.edu
Sat Jan 1 12:37:57 EST 2005


Take a look at the proj4 code, and the associated EPSG database:

# KKJ / Finland zone 1
<2391> +proj=tmerc +lat_0=0 +lon_0=21 +k=1.000000 +x_0=1500000 +y_0=0 
+ellps=intl +towgs84=-90.7,-106.1,-119.2,4.09,0.218,-1.05,1.37 +units=m 
+no_defs  no_defs <>
# KKJ / Finland zone 2
<2392> +proj=tmerc +lat_0=0 +lon_0=24 +k=1.000000 +x_0=2500000 +y_0=0 
+ellps=intl +towgs84=-90.7,-106.1,-119.2,4.09,0.218,-1.05,1.37 +units=m 
+no_defs  no_defs <>
# KKJ / Finland Uniform Coordinate System
<2393> +proj=tmerc +lat_0=0 +lon_0=27 +k=1.000000 +x_0=3500000 +y_0=0 
+ellps=intl +towgs84=-90.7,-106.1,-119.2,4.09,0.218,-1.05,1.37 +units=m 
+no_defs  no_defs <>
# KKJ / Finland zone 4
<2394> +proj=tmerc +lat_0=0 +lon_0=30 +k=1.000000 +x_0=4500000 +y_0=0 
+ellps=intl +towgs84=-90.7,-106.1,-119.2,4.09,0.218,-1.05,1.37 +units=m 
+no_defs  no_defs <>

gerry

Tapio Sokura wrote:
> Hi,
> 
> I was toying with the idea of adding support for the Finnish coordinate 
> systems to Xastir. There are a few of them, some UTM-like with 
> parameters differing from UTM and two datums (we are just beginning the 
> change from a national system to the ETRS89/EUREF system that is close 
> to WGS-84). I have all the formulas and transformation parameters needed 
> for the translations to/from WGS-84, but I'm not sure what would be the 
> best place to put them.
> 
> I see several ellipsoids and datums defined in datum.c/h, but they don't 
> seem to be used that much. Is there some kind of a ready-thought 
> "process" or something to go through if one wanted to add (display) 
> support for some other coordinate system?
> 
> Maybe just adding these systems to the coordinate calculator would be a 
> good start. Especially if there could be a coordinate calculator button 
> in the station info-box, so when you pressed that button you would get 
> the location of that particular station converted to other coordinate 
> systems without having to type in the coordinates manually or without 
> changing the Xastir coordinate system from file->configure.
> 
> Any thoughts?
> 
>   Tapio
> _______________________________________________
> Xastir-dev mailing list
> Xastir-dev at xastir.org
> https://lists.xastir.org/mailman/listinfo/xastir-dev

-- 
Gerry Creager -- gerry.creager at tamu.edu
Texas Mesonet -- AATLT, Texas A&M University	
Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578
Page: 979.228.0173
Office: 903A Eller Bldg, TAMU, College Station, TX 77843



More information about the Xastir-dev mailing list