Python視覺化-地圖染色
一、資料檔案準備
1、value.txt
0,3.19
1,2.7
2,2.51
3,2.78
4,2.61
5,3.13
6,3.14
7,2.69
8,2.51
9,3.15
10,3.15
11,3.15
12,3.15
第一列是稱是序號,第二列是其對應數值。
序號與城市對應如下:
0,南京市
1,徐州市
2,淮安市
3,鹽城市
4,宿遷市
5,泰州市
6,揚州市
7,南通市
8,連雲港市
9,鎮江市
10,無錫市
11,蘇州市
12,常州市
https://download.csdn.net/my (不能0積分我也hen藍瘦,不過可以複製下面的內容)
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="text/ecmascript" zoomAndPan="magnify" contentStyleType="text/css" id="圖層_1" mapName="江蘇省" mapType="省市地圖" enable-background="new 0 0 800 600" version="1.1" xml:space="preserve" preserveAspectRatio="xMidYMid meet" viewBox="0 0 800 600" x="0px" y="0px">
<path name="南京市" fill="#D3D3D3" id="12" d="M400.8,496.5c-2.3-1.9-2.9-7.1-3.1-10.5c-0.2-3.4,3.5-4.7,5.6-6.3 c2.1-1.6-1.1-5.7-0.3-6c0.8-0.3,2.8-4.4,2.9-7.1c0.1-2.7-4.1-10.4-6.4-11.8c-2.3-1.4-4.8-3-6.1,0.6c-1.3,3.6-3.7-2-5.5-4.3 c-1.8-2.3-3-2.8-5.7-1.6c-2.7,1.3-3.3,0.9-2.4-1.1c0.9-2,0.9-2-1.8-4.3c-2.7-2.3,1.7-1.4,3.7-1.4c2,0,1.7-3.7,4.1-3.4 c2.4,0.3,5,0,5.8-3.6c0.9-3.6-2.1-5-4.7-6.4c-2.6-1.4-2.6-4.1,1.5-5.3s0.6-4.9,1-8.6c0.4-3.7-1.4-6.2-6.4-7.6 c-4.9-1.4,3.7-6.6,6-6.6s3.9-1.9,5.1-4.3c1.2-2.5,6.2-2.5,9.3-2.7c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-2.5c-0.1,0.3,0.3,0.6,1.9,0.5 c2.6-0.1,2.1-0.5,3.7,1.7c1.7,2.2,4.1,1.5,4.6,3.5c0.5,2,1.1,4.1,4,4.1c2.9,0,7-0.1,9.1,1.9c2.2,2,8.6,4.6,13.2,6.1 c4.6,1.5,9.4,5.3,12.4,6.3c3,1,3.7,0.9,4,3.2c0.2,2.3,1.3,5.3,0.2,6c-1,0.7-1.5,3.2-0.8,5.7c0.6,2.4,1,3.2,2.4,3.5 c1.5,0.2,1.5,1.2,0.5,1.7c-1,0.5-3.9,1.4-3.9,4.2c0,2.8-0.2,2.3,1,2.5c1.2,0.2,1.8,0.9,1.7,2.5c-0.1,1.6,1,1.4,2.6,0.8 c1.6-0.6,4.3-0.1,3.6,2.4s-1.7,4.4,2.4,5.5c4.2,1.1,9.3-0.3,11.5,1.8c2.2,2.1,5.3,4.3,9.6,4.8c4.4,0.5,4.6,2.9,7.9,5 c3.3,2,11.4,10.3,11.9,13.4c0.5,3-0.1,5,1.6,6.5c1.7,1.5,0.9,3.5,1.8,5.6c0.9,2.1,3.5,6.4,3.5,10.5 C691.7,454,694.2,458.9,685.5,456.7z M657.2,450.6l-4.7-1.5c0,0-1.1,2.1,3.1,3.8c4.2,1.7,6.9,1.7,4.4,0 C658.1,450.9,657.2,450.6,657.2,450.6L657.2,450.6z M643.4,448.2l-8.2-2.7c0,0-1.9,3.7,5.5,6.7c7.3,3,12.1,3,7.8,0 C644.9,448.7,643.4,448.2,643.4,448.2L643.4,448.2z" stroke-miterlimit="10" stroke="#FFFFFF"/>
<path name="連雲港市" fill="#D3D3D3" id="06" d="M325.1,114.6c2-0.7,3.6-0.6,5.2-2.2c1.6-1.5,3.7-1.5,4.9-0.1 c1.3,1.4,2.7,2.1,4.4,0.8c1.7-1.3,4.2-1.8,5.8,0.5c1.6,2.3,1.3,2.8,1,4.7c-0.4,2-1.3,4.1,1.1,5.1c2.4,1,3,2.8,4.9,2.3 c2-0.4,3-0.7,4.6,0.3c1.6,1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.9-0.6-5.1-1.2 c-3.1-0.5-0.4-1.9-3.4-5.6c-3-3.7-5.6-1.5-8.3-0.7c-2.7,0.8-4.6-3.6-7.2-4.1c-2.6-0.5-0.3,3.3-0.1,5.7c0.1,2.5-4.2-1.5-6-4.6 c-1.8-3.1-7.1,2.7-7.1,5.2s-0.7,9.3-1.1,16.3c-0.4,6.1-7.9,8.1-9.8,8.6c0.2,0.6,0.3,1.2,0.2,1.6c-0.1,2.7-2.1,6.8-2.9,7.1 c-0.8,0.3,2.4,4.4,0.3,6c-2.1,1.6-5.8,2.9-5.6,6.3c0.2,3.4,0.8,8.6,3.1,10.5c2.2,1.9,3.9,6.4,1.3,10.6c0.5,0.3,0.9,0.7,1.1,1.2 c0.7,1.4,1.1,3.6,3.4,3.6s10-1.1,10.5-2c0.6-0.9,0.6-1.7,2.7-1.6c2.1,0.1,2.4,2.8,1.3,4c-1.1,1.1-1.3,3-1.6,5c-0.3,2,0,2.6,2.6,4.3 c2.6,1.7,3.1,0,6.3,1.6c3.1,1.6,5.7,1.6,8.1,1.7c1.2,0.1,2.1,0.6,3.2,1.3C443.4,520.9,440.6,513.3,439,510z" stroke-miterlimit="10" stroke="#FFFFFF"/>
</svg>
用來生成地圖,我採用的示例是江蘇省的,只精確到市。
3、染色的顏色資訊
推薦一個十六進位制的顏色資訊網站:http://zh.spycolor.com/
我們設定,數值大的區域使用深色染色,數值小的區域顏色淺。
二、匯入模組包
可參考Windows下安裝Python、matplotlib包 及相關
https://blog.csdn.net/mikasa3/article/details/78942650
1、bs4
原名是BeautifulSoup,後經修改。
三、完整程式碼
如下:
# coding=utf-8
import sys
reload(sys)
sys.setdefaultencoding('utf8')
import csv
from bs4 import BeautifulSoup
def DrawBlockMap(file_name):
reader = csv.reader(open(file_name,'r'), delimiter = ",")
svg = open('jsmap.svg','r').read() #讀取江蘇省地圖資料
Price = {}
price_only = []#記錄各市的數值
sort_value = []#記錄
sort_no = []#記錄各市的排名
for row in reader:#遍歷讀取的檔案每一行
try:
temp = row[0]#序號
price = float(row[1].strip())#價格
Price[temp] = price
price_only.append(price)
sort_value.append(price)
except:
pass
sort_value.sort()#對所有數值預設升序排序,計算記錄各市的排名
for i in range(len(price_only)):
for j in range(len(sort_value)):
if (price_only[i] == sort_value[j]):
sort_no.append(j)#記錄當前排名
break
soup = BeautifulSoup(svg,"lxml")
paths = soup.findAll('path')
#顏色列表
colors = ["#FFD0E7","#FFA0D0","#FF71B8","#FF41A0", "#FF1288", "#E10071", "#B20059", "#720039","#620031","#510029","#410021","#310018","#210010"]
path_style = 'font-size:12px;fill-rule:nonzero;stroke:#FFFFFF;stroke-opacity:1;stroke-width:0.1;stroke-miterlimit:4;stroke-dasharray:none;stroke-linecap:butt;marker-start:none;stroke-linejoin:bevel;fill:'
count = 0
for p in paths:
try:
color_class = sort_no[count]#根據排名染不同的顏色,排名越前說明值越小,所以顏色越淺
count += 1
except:
continue
color = colors[color_class]
p['style'] = path_style + color#改變地圖對應區域的顏色
print soup.prettify()
if __name__=='__main__':
DrawBlockMap("value.txt")
四、執行結果
若將檔案儲存命名為test.py,生成檔名為out_js_map.svg,則在py資料夾中命令列執行,輸入:
python test.py > out_js_map.svg
可以右擊在瀏覽器中開啟:
如我們所設想的,數值大的區域顏色深,反之則顏色淺。
相關文章
- [資料分析與視覺化] Python繪製資料地圖2-GeoPandas地圖視覺化視覺化Python地圖
- vue地圖視覺化 Cesium篇Vue地圖視覺化
- 【實戰】通過Python實現疫情地圖視覺化Python地圖視覺化
- 視覺化三維地圖怎麼做?視覺化工具中的地圖工具視覺化地圖
- vue 地圖視覺化 mapbox篇(2)Vue地圖視覺化
- vue地圖視覺化 ArcGIS篇(3)Vue地圖視覺化
- Python繪圖與視覺化Python繪圖視覺化
- Python視覺化-氣泡圖Python視覺化
- Python視覺化-折線圖Python視覺化
- Python視覺化(1):折線圖Python視覺化
- Python視覺化圖系列(1)-----jupyter notebookPython視覺化
- 快速實現地圖遷移資料視覺化地圖視覺化
- 大屏視覺化解決方案公司,三維視覺化地圖怎麼做?視覺化地圖
- 匯出谷歌地圖提供的各類地圖視覺化樣式的方法谷歌地圖視覺化
- Python視覺化-散點圖與彩色散點圖Python視覺化
- [Python視覺化] pyecharts安裝入門及繪製中國貴州地圖Python視覺化Echarts地圖
- 拿走不謝,資料視覺化地圖製作教程!視覺化地圖
- 小區確診病例實時地圖,怎麼繪製疫情視覺化地圖?地圖視覺化
- 不會做好看的地圖視覺化?跟著Smartbi學操作,秒變視覺化達人地圖視覺化
- Python視覺化-縣市按經緯度座標在地圖示記數值Python視覺化地圖
- Python資料視覺化之Pygal圖表型別Python視覺化型別
- 什麼地圖可以室內導航,資料視覺化地圖製作平臺地圖視覺化
- 操作指南:如何利用Smartbi、Tableau實現地圖視覺化展示地圖視覺化
- python資料分析與視覺化【思維導圖】Python視覺化
- 炫酷視覺化地圖無需程式碼,只需Smartbi便可完成視覺化地圖
- 大屏視覺化用什麼開發,視覺化地圖用什麼軟體做好一點視覺化地圖
- 智慧園區視覺化地圖製作,如何做一個園區的導航地圖?視覺化地圖
- Python視覺化神器Yellowbrick使用Python視覺化
- python資料視覺化——echartsPython視覺化Echarts
- python 資料視覺化利器Python視覺化
- 關於如何使用echarts實現市縣區地圖的視覺化Echarts地圖視覺化
- 手把手教你製作簡單明瞭的視覺化地圖視覺化地圖
- 視覺化地圖怎麼做?推薦一款免費工具視覺化地圖
- 一個專業的視覺化停車場地圖編輯器視覺化地圖
- 三維展示圖怎麼做,視覺化地圖設計用什麼軟體?視覺化地圖
- python資料視覺化-matplotlib入門(5)-餅圖和堆疊圖Python視覺化
- 從零開始學Python視覺化(五): 餅圖及環形圖Python視覺化
- 資料視覺化如何選擇合適的視覺化圖表?視覺化