開放街圖標誌 OpenStreetMap 開放街圖

Test conversions for kosovo

於 2009年八月 3日 由 h4ck3rm1k3English發表。

here is the extract from the kosovo geodata:
7522538.4899 4743287.9845
7444008.5655 4705339.1564
7441735.2640 4710017.9238
7441225.3602 4711304.5720
7443881.5092 4711090.7286
7441994.2731 4715617.5620
7444241.5825 4713360.4177

From the end of this file:
http://www.kca-ks.org/download/report_020-033_v3_final.pdf

more here :
http://pastebin.com/m56db7289

cs2cs +ellps=GRS80 +units=m +proj=tmerc +k=0.9999 +lon_0=21 +lat_0=0 +y_0=0 -f "%.3f" < kosovopoints.src

30.097 43.437 0.000
30.380 43.315 0.000
29.990 43.478 0.000
30.823 43.122 0.000
30.898 43.088 0.000
32.051 42.591 0.000
31.318 42.905 0.000
29.828 43.543 0.000
31.403 42.868 0.000

Lets see

電子郵件圖示 藍天圖示 Facebook 圖示 LinkedIn 圖示 乳齒象圖示 Telegram 圖示 X 圖示

討論

h4ck3rm1k32009年08月 3日 18時43分 發表的評論

Here is my conversion script :
cs2cs +ellps=GRS80 +units=m +proj=tmerc +k=0.9999 +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[

];

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

h4ck3rm1k32009年08月 4日 06時20分 發表的評論

here are the points from the pdf
http://pastebin.com/m56db7289
64 data points

and with this command you can try and convert it
but the params are off
cs2cs +ellps=GRS80 +units=m +proj=tmerc +k=0.9999 +lon_0=21 +lat_0=0 +y_0=0 -f "%.3f" < kosovopoints.src

and with this perl script you can take the results and turn them into osm
http://www.pastebin.ca/1517014

Somewhere along the line, there is an error

登入 來留下評論