此 SVG 檔案的 PNG 預覽的大小:512 × 512 像素。
原始檔案 (SVG 檔案,表面大小:512 × 512 像素,檔案大小:163 KB)
摘要
描述 |
English: Azimuthal equidistant projection of estimated maximum range of some North Korean missiles based on data from http://ichef.bbci.co.uk/news/624/cpsprodpb/26F5/production/_88837990_north_korea_missile_ranges2_map624new.png . Deutsch: Geschätzte Reichweite nordkoreanischer Raketen auf Basis der folgenden Daten http://ichef.bbci.co.uk/news/624/cpsprodpb/26F5/production/_88837990_north_korea_missile_ranges2_map624new.png . |
日期 | 2013-04-04 |
來源 | 作者自己的作品;衍生自North-korean-missile-ranges.svg(作者:TUBS)。 |
作者 | Cmglee |
convert_absolute_to_relative_svg_path.py
Python2 source |
---|
#!/usr/bin/env python
PATH_OUT = 'out.txt'
PATHD = "..."
import re
pathds = re.findall(r'[A-Z][^A-Za-z]+', '%s ' % (PATHD))
outs = []
x_previous = None
y_previous = None
for (i_pathd, pathd) in enumerate(pathds):
fields = (re.sub(r'([A-Z]+)', r'\1\t', re.sub(r'[\s,]+', '\t', pathd)).
split('\t'))
# print(fields)
command = fields[0]
if (fields[1] == '' or fields[2] == ''): ## "Z"
outs.append(command)
else:
x = round(float(fields[1]))
y = round(float(fields[2]))
if (i_pathd == 0): ## first point
outs.append('%s%d,%d' % (command, x, y))
else:
x_out = x - x_previous
y_out = y - y_previous
command = command.lower()
if (command != 'l' or (x_out != 0 and y_out != 0)):
outs.append('%s%d,%d' % (command, x_out, y_out))
else:
if (x_out != 0): outs.append('h%d' % (x_out))
elif (y_out != 0): outs.append('v%d' % (y_out))
else: pass ## same point after rounding
x_previous = x
y_previous = y
print(len(outs))
f_out = open(PATH_OUT, 'wt')
f_out.write(''.join(outs))
f_out.close()
|
授權條款
本作品著作權人,特採用下列許可條款發表本作品:
本文件採用知識共享署名-相同方式共享 3.0 未本地化版本(CC BY-SA 3.0)許可協議授權。
- 您可以自由地:
- 分享 – 在任何媒介以任何形式複製、發行本作品
- 演繹 – 修改、轉換或以本作品為基礎進行創作
- 惟須遵守下列條件:
- 署名 – 您必須給出適當的署名,提供指向本許可協議的鏈接,同時標明是否(對原始作品)作了修改。您可以用任何合理的方式來署名,但是不得以任何方式暗示許可人為您或您的使用背書。
- 相同方式共享 – 如果您再混合、轉換或者基於本作品進行創作,您必須基於與原先許可協議相同或相兼容的許可協議分發您貢獻的作品。
- 特此授權您根據自由軟件基金會發布的《GNU自由文檔許可證》(GNU Free Documentation License, GFDL)第1.3版或後續任意版本條款下再分發和(或)修改本文檔;無固定段落(Invariant Sections)、封面文字(Front-Cover Texts)及封底文字(Back-Cover Texts)要求。
- 該協議的副本應已包含於「GNU Free Documentation License」一章中。
您可按需選擇其中一個許可協議執行。
原始上傳日誌
This image is a derivative work of the following images:
- File:North_Korea_on_the_globe_(Japan_centered).svg licensed with Cc-by-sa-3.0, GFDL
- 2011-04-27T07:27:57Z TUBS 1246x1246 (1188392 Bytes)
檔案歷史
點選日期/時間以檢視該時間的檔案版本。
日期/時間 | 縮圖 | 尺寸 | 使用者 | 備註 | |
---|---|---|---|---|---|
目前 | 2023年10月8日 (日) 19:47 | 512 × 512(163 KB) | BXHS-bot(留言 | 貢獻) | 自其他网站迁移文件 |
無法覆蓋此檔案。
檔案用途
下列3個頁面有用到此檔案: