Comments (3)
@roshomon 你的数据我用JTS和GQIS验证过了,其是不符合GeoJSON规范的,你可以自己验证下
- 能被渲染不代表正确,因为渲染利用的奇偶填充,是平面几何里的知识,而GeoJSON是平面几何的子集,是有严格的定义的,可以类比,一个对象可以符合JSON的定义,但是不一定符合GeoJSON的定义
- GeoJSON规范里,一个polygon里holes是不可以相交的,即所有的内环,任何两个都不可相交,更不要说你的数据这种套娃了
from maptalks.js.
@deyihu
多谢,试了QGIS的check validity工具,确实数据有错;
示例数据是简化后的,实际生产是从turf.isobands输出的“套娃”, 请问有更好的isobands方法吗,或是分离套娃的方法?
from maptalks.js.
@deyihu 多谢,试了QGIS的check validity工具,确实数据有错; 示例数据是简化后的,实际生产是从turf.isobands输出的“套娃”, 请问有更好的isobands方法吗,或是分离套娃的方法?
log下:重写了turf.isobands源码中的groupNestedRings方法,将套环拆分输出到多个多边形
from maptalks.js.
Related Issues (20)
- 三维模式下infoWindow 显示位置不准确
- Question: Add map boundaries
- Possibility of drawing LineStrings drawAltitude floating? HOT 1
- flyTo Method: Animation Zooms Without Panning and Flickers to Target Location on End
- 修改 seamlessZoom 后鼠标滚轮缩放地图失效
- Marker 3D Altitude HOT 5
- Selectively disable drawAltitude for compound markers
- VectorLayer view filter error when only has Markers HOT 1
- when do you release a new version? maybe this month?
- cdn 引入 maptalks 没有Geo3DTilesLayer 这个属性,cdn 引入如何创建Geo3DTilesLayer这个呢 HOT 1
- enableSimplify does not work
- only load tiles in mask
- leaflet中的4326投影底图切换到maltalks不能正常展示 HOT 6
- offset gcoord底图纠偏出现偏差
- ArcCurve rendering issue, incorrectly clips at the edge of the screen
- Question: Providing Sky/Horizon fade
- LineString arrow placement, scalable markers
- marker闪烁事件
- English Maptalks GL docs
- Optimize idle scheduling
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maptalks.js.