Giter VIP home page Giter VIP logo

Comments (7)

sakitam-fdd avatar sakitam-fdd commented on May 14, 2024

@mytheshow 这个是需要修改serviceUrl https://github.com/sakitam-fdd/wind-layer/blob/master/server/config/config.js#L4 的,默认对应关系如下:

但是数据量过大可能扛不住,建议可以使用不同层级对应不同粒子数量来解决这个问题

from wind-layer.

mytheshow avatar mytheshow commented on May 14, 2024

你好,我这里还是不行,我的代码:

daima

缩放为整体对比图,风向是正确的:
zhengti
zhengti2

当精度为0.25时对比图,我的风向全是一个方向;而 "真气网"精度0.25时,风向很清晰:

suofang2
suofang

from wind-layer.

mytheshow avatar mytheshow commented on May 14, 2024

大佬,有时间能否帮忙看看这里,不知道你有没有遇到这个问题( ⊙ o ⊙ )?

from wind-layer.

sakitam-fdd avatar sakitam-fdd commented on May 14, 2024

@mytheshow 你使用的是哪个包哪个版本

from wind-layer.

mytheshow avatar mytheshow commented on May 14, 2024

当前最新的,直接clone下来的

from wind-layer.

sakitam-fdd avatar sakitam-fdd commented on May 14, 2024

@mytheshow 关于数据这块我不能提供太多信息,但是实际的格点数据处理也并不复杂,这个需要你自行研究。另外我看了一下真气网,他应该使用的是leaflet对应的插件,对应的你如果使用的ol地图类库的话可以查看此项目的0.1版本,但是这个版本实际有一些无法解决的问题,比如地图不可旋转、投影变换、粒子控制等。对于真气网的效果这个效果涉及业务处理,只提供一个思路:

  • 监听地图视图分辨率变化事件
  • 在事件中处理粒子数量的基值particleMultiplier
  • 重绘

from wind-layer.

mytheshow avatar mytheshow commented on May 14, 2024

好的,现在我用leafletVelocity做了,非常感谢!

from wind-layer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.