# geomesh **Repository Path**: finevis/geomesh ## Basic Information - **Project Name**: geomesh - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-11 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### GeoLand GeoJSON 预处理 ```html ``` ```js const geojson = await fetch('xxx.json'); const opt = { minPolygonArea: 0.3e10, // 过滤一些面积较小的区域, 比如南沙群岛诸岛. simplifyPct: 0.2, name: "中国" } Van.GeoLand.formatGeoJSON(geojson, opt, function(formatted) { // {all: {}, combine: {}} formatted.name = "xxx"; doSomething(formatted); }); ```