Re: [OSM-dev] Gauss-Krüger coordinate s for kosoov?
El Domingo, 2 de Agosto de 2009, jamesmikedup...@googlemail.com escribió: [...] 1. can you help me transform them? From the data I gathered from the .pdf you linked, it seems that this cs2cs command line should be able to do the proper reprojection from KOSOVOREF1 to WGS84: cs2cs +ellps=GRS80 +units=m +proj=tmerc +k=0. +lon_0=21 +lat_0=0 +y_0=0 +x_0=750 +to +init=epsg:4326 If you delve into the documentation of proj.4 and its utilities (cs2cs, ogr2ogr, etc) you should be able to batch reproject any files you want; or you can mail me the files and I'll reproject them for you. I'm not an expert in projection systems, so that cs2cs command line should be reviewed by the authors of the .pdfs you linked to, in order to get some reassurance about it. Cheers, -- -- Iván Sánchez Ortega i...@sanchezortega.es Un ordenador no es un televisor ni un microondas, es una herramienta compleja. signature.asc Description: This is a digitally signed message part. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Gauss-Krüger coordinate s for kosoov ?
Thank you kindly. Muchos Gracias Muchacho. I will try it out and report back. Thansk, mike 2009/8/3 Iván Sánchez Ortega i...@sanchezortega.es El Domingo, 2 de Agosto de 2009, jamesmikedup...@googlemail.com escribió: [...] 1. can you help me transform them? From the data I gathered from the .pdf you linked, it seems that this cs2cs command line should be able to do the proper reprojection from KOSOVOREF1 to WGS84: cs2cs +ellps=GRS80 +units=m +proj=tmerc +k=0. +lon_0=21 +lat_0=0 +y_0=0 +x_0=750 +to +init=epsg:4326 If you delve into the documentation of proj.4 and its utilities (cs2cs, ogr2ogr, etc) you should be able to batch reproject any files you want; or you can mail me the files and I'll reproject them for you. I'm not an expert in projection systems, so that cs2cs command line should be reviewed by the authors of the .pdfs you linked to, in order to get some reassurance about it. Cheers, -- -- Iván Sánchez Ortega i...@sanchezortega.es Un ordenador no es un televisor ni un microondas, es una herramienta compleja. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Gauss-Krüger coordinate s for kosoov ?
Ok, I have done some tests, I repost my diary: http://www.openstreetmap.org/user/h4ck3rm1k3/diary/7359 here are more data points: http://pastebin.com/m56db7289 Here is my conversion script : cs2cs +ellps=GRS80 +units=m +proj=tmerc +k=0. +lon_0=21 +lat_0=0 +y_0=0 -f %.3f kosovopoints.src | perl ~/kosovo_maps/testconvert.pl newpoints.tml http://www.pastebin.ca/1517014 use strict; use warnings; print q[?xml version='1.0' encoding='UTF-8'? ]; my $id=0; while () { if (/^\s*(\d+\.\d+)\s+(\d+\.\d+)\s+(\d+\.\d+)\s*$/) { $id--; print qq[]; } else { die error $_; } } print q[]; The result is not good : http://filebin.ca/obheaq/test.osm it is just a straight line... somewhere in romania... 2009/8/3 jamesmikedup...@googlemail.com jamesmikedup...@googlemail.com Thank you kindly. Muchos Gracias Muchacho. I will try it out and report back. Thansk, mike 2009/8/3 Iván Sánchez Ortega i...@sanchezortega.es El Domingo, 2 de Agosto de 2009, jamesmikedup...@googlemail.com escribió: [...] 1. can you help me transform them? From the data I gathered from the .pdf you linked, it seems that this cs2cs command line should be able to do the proper reprojection from KOSOVOREF1 to WGS84: cs2cs +ellps=GRS80 +units=m +proj=tmerc +k=0. +lon_0=21 +lat_0=0 +y_0=0 +x_0=750 +to +init=epsg:4326 If you delve into the documentation of proj.4 and its utilities (cs2cs, ogr2ogr, etc) you should be able to batch reproject any files you want; or you can mail me the files and I'll reproject them for you. I'm not an expert in projection systems, so that cs2cs command line should be reviewed by the authors of the .pdfs you linked to, in order to get some reassurance about it. Cheers, -- -- Iván Sánchez Ortega i...@sanchezortega.es Un ordenador no es un televisor ni un microondas, es una herramienta compleja. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
Re: [OSM-dev] Gauss-Krüger coordinate s for kosoov?
El Lunes, 3 de Agosto de 2009, jamesmikedup...@googlemail.com escribió: Here is my conversion script : cs2cs +ellps=GRS80 +units=m +proj=tmerc +k=0. +lon_0=21 +lat_0=0 +y_0=0 -f %.3f kosovopoints.src | perl ~/kosovo_maps/testconvert.pl newpoints.tml Well, you're missing half of the projection parameters. Namely, the false easting and the destination projection (EPSG 4326, which means WGS84 in lat-lon, the stuff that OSM uses). With this: cs2cs +ellps=GRS80 +units=m +proj=tmerc +k=0. +lon_0=21 +lat_0=0 +y_0=0 +x_0=750 +to +init=epsg:4326 -f %.15f kosova_test_points.txt kosova_test_points_wgs84.txt I'm able to successfully reproject the points with no problems at all. -- -- Iván Sánchez Ortega i...@sanchezortega.es Aviso: Este e-mail es confidencial y no debería ser usado por nadie que no sea el destinatario original. No se permite la reproducción mediante fotocopia, walkie-talkie, emisora de radioaficionado, satélite, televisión por cable, proyector, señales de humo, código morse, braille, lenguaje de signos, taquigrafía o cualquier otro medio. Bajo ningún concepto debe traducirse al francés este e-mail. Este e-mail no puede ser ridiculizado, parodiado, juzgado en una competición, o leído en voz alta con un acento gracioso llevando un bigote falso y/o cualquier tipo de sombrero, incluyendo pero no limitándose a pañuelos. No inciten ni provoquen a este e-mail. Si está medicándose, puede experimentar nauseas, desorientación, histeria, vómitos, pérdida temporal de la memoria a corto plazo y malestar general al leer este e-mail. Consulte a su médico o farmacéutico antes de leer este e-mail. Todas las modelos descritas en este e-mail son mayores de 18 años. Si ha recibido este e-mail por error es probablemente porque estaba borracho cuando escribí la dirección del destinatario. signature.asc Description: This is a digitally signed message part. ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev
[OSM-dev] Gauss-Krüger coordinate s for kosoov ?
Hi, I found some coordinates here, the official ones of kosovo , but they are not in standard format. I know there must be a way to do this : 1. can you help me transform them? 2. can someone do this? Transformation of the ETRS89 coordinates into the new Gauss-Krüger coordinate system using program GEOREF. (File PROJNEU.PRN) 1st order network of points in KOSOVOREF01 in Kosovo. Pt ID E N Ellips. Height Off. Height BA01 7522538.4899 4743287.9845 689.3813 643.7452 DE01 7444008.5655 4705339.1564 566.3720 521.7577 DR01 7470424.2332 4658348.9977 1074.0462 1029.7358 FE01 7510693.7911 4691608.0842 659.6860 614.4528 FK01 7505655.2632 4721903.4453 584.7155 539.4641 GI01 7535883.9666 4702986.8964 640.0816 594. http://www.euref-iag.net/symposia/2005Vienna/6-14.pdf http://www.kca-ks.org/download/report_020-033_v3_final.pdf n New KOSOVAREF01 based on EUREF http://www.fig.net/commission7/france_2004/papers_am/ts_10_1_meha_ppt.pdf The state coordinate system of the Republic of Kosova (KOSOVAREF01) was defined on year 2001, based on ETRS89 datum and Gauss-Krüger projection with 1dm/km negative linear deformation along the central meridian (21E) and 750m false easting. Due to small area of Kosova, all territory projects with negative value in which the largest linear deformation (LD) is -10cm/km, i.e. the mean linear deformation (MLD) is 8.7cm/km. In efforts for finding of coordinate system with smallest LD, Gauss-Krüger projection with scale factors 0.6 and 0.67, as well as without negative LD (tangential case) were researched also. In first variant (0.6) the maximum LD is 4cm/km in which 2.93cm/km is the MLD, the second option (0.67) provides the largest LD 4.6cm/km with MLD 2.46cm/km, and Gauss-Krüger projection in tangential variant gives the better MLD (1.3cm/km) in which the largest LD is 7.9cm/km. Due to configuration of the territory of Kosova, Lambert conic conformal and stereographic projections are probably the suitable as most appropriate state map projections. UTM projection as international has been utilized also. In a stereographic tangential projection the largest value of LD is 4.18cm/km, in which case the value of MLD is 1.17cm/km. With the target to reduce the deformations in half value, due to the difference distances of extreme points from the central point, -2.1cm/km (0.79) and -1.9cm/km (081) LD in central point were used as extended options of stereographic projection. In first case the maximum LD is -2.1cm/km, in which the MLD is 1.08cm/km, as well in a second effort, the biggest LD is 2.28cm/km with 0.94cm/km MLD. During projecting of the territory in Lambert conic conformal projection, in tangential case the largest LD is 7.69cm/km, in which MLD of the whole territory is 1.15cm/km. Using of negative LD from -3.8cm/km (0.62) gives the interval of deformations from -3.8 to 3.89cm/km with 2.85cm/km MLD in whole territory. Because of the small area of Kosova, utilization of UTM projection provides very large LD, i.e. in interval between -39.21 to -40dm/km. MLD in all territory is 39.87cm/km. Based on upper results, most appropriate state map projection of the Republic of Kosova for local use is Stereographic projection with scale factor 0.79, but utilization of UTM projection for international use is irreplaceable. Can someone decode that? http://www.fig.net/pub/fig2009/papers/ts04c/ts04c_idrizi_bajrami_lubishtani_3350.pdf Thanks mike ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev