• Stars
    star
    208
  • Rank 189,015 (Top 4 %)
  • Language
    JavaScript
  • Created over 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Generate geojson files for Echarts Map,base on mapshaper(Echarts 地图数据压缩转换)

mapshaper-plus

Generate geojson files for Apache ECharts (incubating) Map,base on mapshaper

基于mapshaper对geojson地图数据的坐标信息进行压缩编码,并提供可直接生成压缩编码后的echarts map数据格式

通过mapshaper-plus可以直接将shp格式数据转换为压缩后的echarts数据

Demo

https://giscafer.github.io/mapshaper-plus/

Description

介绍 ——mapshaper可以将多种数据格式(Shapefile, GeoJSON, TopoJSON 和 Zip files)导入后,对地图的编辑和导出(Shapefile, GeoJSON, TopoJSON, DSV, SVG),功能强大和简单易用。

mapshaper-plus是在mapshaper基础上拓展对地图坐标信息的压缩编码,很大程度上减小了文件的代码行数和字节大小:譬如一个贵州省的数据,原始的geojson数据会在30M左右,但在对坐标信息压缩编码后,仅为1.4M

背景 ——在做echarts图表统计时,需要自制地图数据,但官方没有提供一个平台可以直接将shp文件转化为压缩后的jsonjs格式的地图文件,而mapshaper导出的json数据没有压缩,数据量过大。

使用可以访问mapshaper-plus在线demo

Screenshot

导出压缩版的数据

License

mapshaper is licensed under MPL 2.0. and mapshaper-plus is licensed under MIT.

Blog giscafer.com  ·  GitHub @giscafer  ·  Weibo @Nickbing Lao

More Repositories

1

wechat-weapp-mapdemo

微信小程序开发mapdemo,地图导航、marker标注
JavaScript
585
star
2

FinalScheduler

📆 终极排班管理、考勤系统
Java
582
star
3

blog

Next.js + Issues 博客解决方案 https://www.giscafer.com
MDX
278
star
4

Ponitor

💵 [ P ] rice + M [ onitor ] = Ponitor 价格监测应用(老版本 vue.js,源码不推荐学习)
JavaScript
231
star
5

hexo-theme-cafe

精简的Hexo博客主题,样式风格如阮一峰老师博客
CSS
231
star
6

ngx-form-builder

Angular Form generation base on Angular , dynamic template support ng-zorro-antd/BootStrap UI (基于ng8的 json schema 表单生成器,提供生成组件源码,可对生成的表单代码进行编辑)
TypeScript
120
star
7

Vue-order

🍖 🍕 订餐系统应用
CSS
82
star
8

vue-json-schema-editor-visual

A json-schema editor of high efficient and easy-to-use, base on Vue.
Vue
62
star
9

easyocr

easy to ocr
JavaScript
52
star
10

vue-form-builder

A drag & drop form builder platform that made with Vue.js and Element UI and generate form sourcecode (基于 vue 和 element-ui 实现的表单设计平台,生成 Element UI 的表单源代码)
Vue
51
star
11

project

一些开发学习相关 demo 展示
CSS
50
star
12

wechat-autoreply

微信机器人
JavaScript
33
star
13

sinokit

Vue.js 2.x 组件库、基础组件、业务组件、区块、模板(WIP)
JavaScript
30
star
14

ife-course-demo

百度前端技术学院demo
HTML
27
star
15

alidayujs

🐟 阿里大鱼短信SDK( JavaScript Alidayu SDK). 兼容服务器端环境node.js,模块加载器如RequireJS和所有浏览器
JavaScript
24
star
16

moviesite

🎬 A Movie website
JavaScript
23
star
17

angular-webuploader

An AngularJS directive for webuploader (angular指令封装的webuploader demo,弹窗上传图片,缩略图展示列表,翻页效果;支持点击缩略图查看大图详情)
JavaScript
23
star
18

sailor

"水手"低码开发平台,向研发提效迈一大步!(调研demo)
TypeScript
20
star
19

react-ponitor

[ P ] rice + M [ onitor ] = Ponitor 价格监测 (React、Redux )
JavaScript
17
star
20

video-script

视频搬运脚本
JavaScript
14
star
21

node-typhoon

🔨 Help you get the typhoon information 台风信息查询Api
JavaScript
13
star
22

angular-chat

(IM App)Chat App built using Angular and Socket.io
CSS
12
star
23

lodash-api-doc

lodash.js 中文 API文档(个人学习附带翻译)
JavaScript
10
star
24

giscafer.github.io

giscafer's blog
HTML
10
star
25

vue-brush-timeline

基于 d3-brush 实现的时间轴,可缩放、拖动
Vue
9
star
26

lao-utils

🔨 JavaScript function tool (JavaScript常用函数工具集)
JavaScript
9
star
27

ngx-ace-tern

Tern plugin for Ace Editor for Angular
JavaScript
8
star
28

lodash-sourcecode-study

基于版本v5,源码学习,代码注释@giscafer
JavaScript
7
star
29

alidayu-sign-nodejs

NodeJS生成阿里大鱼短信签名、短信发送demo
JavaScript
7
star
30

vue-front-template

Element UI 工程初始化模板,适用于前台类网站
Vue
7
star
31

primeng-ext

primeng component extension
TypeScript
6
star
32

vscode-frontend-box

VSCode 里订阅查看前端技术文章
TypeScript
6
star
33

travel-map

Recorded the city on the map where i have been travelled.
JavaScript
5
star
34

node-ipcity

🔨 get ip city info 获取ip归属城市信息
JavaScript
5
star
35

ziroom-crawler

自如友家租房,房源爬虫,房源状态监听,目的是抢房
JavaScript
5
star
36

leetcode-js

数据结构与算法学习 & leetcode 题解
JavaScript
5
star
37

react-demo-list

react 学习demos
JavaScript
5
star
38

angular-webpack-es6

A boilerplate for Angular1.2.30 using ES6 and build with webpack,Compatible with IE 8
JavaScript
4
star
39

ng-viewer

An angular directive for viewer.js
TypeScript
4
star
40

wechat-chatgpt

TypeScript
4
star
41

vue-element-admin-template

用于开发简单的后台管理系统,根据自身情况做接口请求封装、工程规范等
Vue
4
star
42

webpack-study

study note
JavaScript
4
star
43

airlevel-crawler

a demo of crawler for air-level.com
Java
4
star
44

easyui-webuploader

基于easyui的webuploader demo
CSS
4
star
45

resume

personal resume
HTML
3
star
46

cesium-fly-demo

https://xiaozhuanlan.com/topic/6354190287
JavaScript
3
star
47

vscode-global-snippets

VSCode Global snippets
3
star
48

SessionManager

Java监听器实现在线人数统计Demo
Java
3
star
49

sync-address-code

sync address code from AMap
JavaScript
3
star
50

ag-grid-angular-demo

demo list for ag-grid-angular,includes websocket/graphql data binding service
TypeScript
3
star
51

generate-form-by-table-structure

generate the form html template according to the table structure(根据表结构自动生成表单)
JavaScript
3
star
52

PWA-demo

PWA技术分享Demo & PPT
JavaScript
2
star
53

demo

demo for study
HTML
2
star
54

auto-m3

seeyon m3 app auto attendance
JavaScript
2
star
55

html2site

convert harddrive file to site page(将html目录文件生成静态网站)
TypeScript
2
star
56

buy-me-a-coffee

☕ Buy me a coffee
2
star
57

docsify-demo-codesandbox-vue

A plugin for docsify to write Vue jsx demo with instant preview and codesandbox integration
JavaScript
2
star
58

topology-umi-demo

Umi3.x + TypeScript + Topology
CSS
2
star
59

street-address-search

根据详细地址反查四级地址,支持百度语音识别
JavaScript
1
star
60

Front-end-technical-documentation

The front-end technical documentation
1
star
61

rh-template-gis

GIS&MIS 工程模板
TypeScript
1
star
62

node-red-contrib-json2xlsx

node convert an object array to an xlsx buffered file output.
HTML
1
star
63

roothub-redirect-site

HTML
1
star
64

giscafer

My GitHub Profile.
1
star
65

nativescript-menudemo

Use segmented-bar to create customized bottom tabs for android
JavaScript
1
star
66

ng2-ife-course

ife-course SPA with angular2
TypeScript
1
star
67

weapp-quatedaily

每日鸡汤
JavaScript
1
star
68

fedemo

知识星球 demo site
JavaScript
1
star
69

micro-umi-max-cra

micro app demo use umi/max & cra
TypeScript
1
star
70

ionic-android-docker

docker for ionic3
Dockerfile
1
star