Recent

Author Topic: Wind rose component  (Read 4306 times)

dnota

  • New Member
  • *
  • Posts: 13
Wind rose component
« on: December 23, 2016, 02:14:45 pm »
Hi, I'm looking for a graphic component to show wind direction, I have a 0-360º value, is there any existing component that already do that?

Thank you very much.


wp

  • Hero Member
  • *****
  • Posts: 7539
Re: Wind rose component
« Reply #1 on: December 23, 2016, 02:45:25 pm »
What is a "windrose" component? Something like this: http://www.windroseplot.com/features.html?

Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

tr_escape

  • Sr. Member
  • ****
  • Posts: 410
  • sector name toys | respect to spectre
    • Github:
Re: Wind rose component
« Reply #2 on: December 23, 2016, 02:53:13 pm »
I think "wind rose" means windmill.

Did you check BRGA components?


molly

  • Hero Member
  • *****
  • Posts: 2345
Re: Wind rose component
« Reply #3 on: December 23, 2016, 03:09:21 pm »
i believe tr_escape has the better idea, although that diagram you showed looks pretty cool wp.

There is a commercial set of weather components available for delphi here that shows the weather direction graphics that OP meant (i think).

There's only one person that knows for sure :)

i was unable to find a ready to go solution for Lazarus, but as mentioned by tr_escape, it should be fairly easy to implement something similar, even when using a simple solution like a image component.

The component acts more like a wind-vane,  not wind-mill  :)
« Last Edit: December 23, 2016, 03:20:56 pm by molly »

lainz

  • Hero Member
  • *****
  • Posts: 3699
  • Leandro Diaz
Re: Wind rose component
« Reply #4 on: December 23, 2016, 04:22:05 pm »
Maybe he speak spanish?, the literal translation of 'Rosa de los vientos' is 'wind rose', but maybe he's loking for a 'compass rose'

See some pictures here:
https://www.google.com.ar/search?q=rosa+de+los+vientos

Wikipedia:
https://es.wikipedia.org/wiki/Rosa_de_los_vientos
« Last Edit: December 23, 2016, 04:28:21 pm by lainz »

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8729
  • FPC developer.
Re: Wind rose component
« Reply #5 on: December 23, 2016, 04:29:45 pm »
It's windroos in Dutch too. Searching for the Dutch eq gives some more pictures:

google windroos I hope

Basically it is a compass rose with the wind direction drawn in (sometimes with other visualizers for the strength)

Google says that wind rose (in English) is a synonym for compass rose (search for "compass rose")
« Last Edit: December 23, 2016, 04:31:37 pm by marcov »

tr_escape

  • Sr. Member
  • ****
  • Posts: 410
  • sector name toys | respect to spectre
    • Github:
Re: Wind rose component
« Reply #6 on: December 23, 2016, 06:34:47 pm »
Ok.

What about that project:

https://mehmetulukaya.files.wordpress.com/2015/05/lazcompass.png

Maybe dnota modify this project.
« Last Edit: December 23, 2016, 06:36:24 pm by tr_escape »

molly

  • Hero Member
  • *****
  • Posts: 2345
Re: Wind rose component
« Reply #7 on: December 23, 2016, 07:02:31 pm »
Hmz, i just discovered the same project. Was importing it into lazarus  :)

Yes, that seems like a great starting point, as both the arrow or the heading can rotate.

dnota

  • New Member
  • *
  • Posts: 13
Re: Wind rose component
« Reply #8 on: December 24, 2016, 05:09:22 pm »
Thank you very much,

Yes, I mean compass rose, but, in Spanish, is "Rosa de los Vientos".

I install bgra components and now I'm tring to install LazCompass, but, I get a lot of errors on lpi file, maybe it's because I'm using lazarus for windows.


molly

  • Hero Member
  • *****
  • Posts: 2345
Re: Wind rose component
« Reply #9 on: December 24, 2016, 05:50:06 pm »
I'm tring to install LazCompass, but, I get a lot of errors on lpi file, maybe it's because I'm using lazarus for windows.
Lazcompass is just a project,. not a component that requires installation.

I've converted the original delphi project of that compass project (as originally it was written in delphi), and it works without any issues for me.

Could you elaborate on what error message you get when you try opening the lazcompass project ?

If all else fails for you then i'll zip up my conversion and attach it to a new post (but you should be able to just open that lazcompass project yourself).

It doesn't matter that you are running a windows version of lazarus, you should just be able to open the project on any platform (as long as lazarus is installed and the required components are available for your platform -> for windows they are all there)

 

TinyPortal © 2005-2018