Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    Upload, display and share your KML, GPX or GeoJSON on Windy

    Announcements
    article
    46
    75
    67.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mhaberlerM
      mhaberler | Premium
      last edited by

      Question - how would I create an embed widget given I have a dynamic KML/GPX//GeoJSON fragment?

      The input file would need to be passed as a URI parameter as it might be created on the fly

      for the same reason, the upload to windy.com seems suboptimal - assuming you would not want a public upload everytime someone retrieves the page with the embed on it

      any suggestions?

      thanks in advance.

      Michael

      mhaberlerM 1 Reply Last reply Reply Quote 0
      • mhaberlerM
        mhaberler @mhaberler | Premium
        last edited by

        here is an example what I'd be looking for: https://sailpatience.com/where-is-patience/ - an embed provided by https://www.predictwind.com/ (which pushes all the right buttons for people trying to do tracking and weather as an embed)

        Michael

        idefix37I 1 Reply Last reply Reply Quote 0
        • idefix37I
          idefix37 Sailor Moderator @mhaberler
          last edited by

          @mhaberler
          Hi, you mean something like that?
          https://gis.ee/leaucommotion/

          jmh2002J 1 Reply Last reply Reply Quote 1
          • jmh2002J
            jmh2002 Moderator Mariners - Seafarers Sailor @idefix37
            last edited by

            @idefix37 said in Upload, display and share your KML, GPX or GeoJSON on Windy:

            @mhaberler
            Hi, you mean something like that?
            https://gis.ee/leaucommotion/

            From the links in your post:

            https://tracker.ee/

            "Simple sailing trackers with beautiful Windy weather layers"

            Very nice!

            WINDY is everywhere :)

            idefix37I mhaberlerM 2 Replies Last reply Reply Quote 2
            • idefix37I
              idefix37 Sailor Moderator @jmh2002
              last edited by

              @jmh2002
              Just note that I’m not the owner of this nice track sailing around the world.
              https://www.sailblogs.com/member/leaucommotion

              1 Reply Last reply Reply Quote 0
              • mhaberlerM
                mhaberler @jmh2002 | Premium
                last edited by

                @jmh2002 that looks very promising

                will contact the author and see what can be made of it

                Michael

                idefix37I 1 Reply Last reply Reply Quote 0
                • idefix37I
                  idefix37 Sailor Moderator @mhaberler
                  last edited by

                  @mhaberler
                  There are several people who have developed such tracks on Windy maps.
                  Here is an other example
                  https://tracker.borisherrmannracing.com/
                  Another one was the track shown when Greta Thunberg sailed from UK to New York. So Windy developers knows how to do that.

                  1 Reply Last reply Reply Quote 1
                  • siimS
                    siim
                    last edited by

                    All those maps are based on Windy API: https://api.windy.com/map-forecast
                    There are some official examples also available.

                    My site is tracker.ee, you can copy-paste some code if you want, just don't make visually identical clone :)

                    Multiple boats (race ended, so no active movements):
                    https://gis.ee/sh/

                    Single boat:
                    https://gis.ee/leaucommotion/

                    Probably most difficult part is getting data from boat.
                    For L'Eau Commotion Iridium Go was used.
                    Iridium Go has automatic reporting service via e-mail.
                    Server can fetch those e-mail reports and make it usable for Leaflet map (Windy API).

                    idefix37I 1 Reply Last reply Reply Quote 3
                    • idefix37I
                      idefix37 Sailor Moderator @siim
                      last edited by idefix37

                      @siim
                      @mhaberler
                      I remember too the live tracker of Ben Lecomte who tried to cross the Pacific from Tokyo to San Francisco. He abandoned in Hawai .
                      He used a GPS tracker and had of course an assistance boat.
                      https://benlecomte.com/live-tracker/
                      https://www.businessinsider.fr/us/swimming-across-pacific-ocean-ben-lecomte-photos-2018-10

                      trevorgankarchT 1 Reply Last reply Reply Quote 0
                      • S
                        skor
                        last edited by

                        If i use a KML with a network reference, does your webserver have to have access to that link? Looking to load files from my local network without having to upload them to your server.

                        1 Reply Last reply Reply Quote 0
                        • KorinaK
                          Korina
                          last edited by

                          @skor Hi, if you want to use the 'Upload, display and share your KML, GPX or GeoJSON' feature, you need to upload the file into the browser.

                          Screenshot 2020-03-26 at 12.16.19.png

                          Korina

                          1 Reply Last reply Reply Quote 1
                          • S
                            skor
                            last edited by

                            Yes, thanks i get that part. My problem is that i may not be allowed to share this data. So i'm trying to make sure i prevent it from being uploaded to your server. My thought was to take advantage of the ability that KML provides to use a reference to another file. So if i do that, does that data get loaded into the local memory of your web app? Or does it first upload the data to your server and then download it to the web browser.

                            1 Reply Last reply Reply Quote 0
                            • S
                              skor
                              last edited by skor

                              Or maybe i'm mis-reading your response. when you say " you need to upload the file into the browser." are you saying that even for the lower example above where it indicates "data is private" are you saying that the data is actually uploaded to the server but you are managing permissions such that i am the only one who can see it?
                              That's what i was trying to avoid if i can.

                              KorinaK 1 Reply Last reply Reply Quote 0
                              • KorinaK
                                Korina @skor
                                last edited by

                                @skor Hi, yes, you can choose 'Make data private' option and then it will not be visible for other users.

                                Screenshot 2020-03-30 at 18.57.07.png

                                Korina

                                1 Reply Last reply Reply Quote 0
                                • S
                                  skor
                                  last edited by

                                  @Korina yes, thanks for the continued quick replies. While I appreciate that option, and i trust you to not intentionally share the data, I'm trying to determine if there is a way to make sure the data isn't exposed if you had a security incident. My thought on how i could do that is by using the KML option to use a reference to the data like this:

                                  Random Placemark
                                        Here is some more kml content
                                        
                                          http://internalServer.corp/more_kml_content.kml
                                          once 
                                        
                                  
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    skor
                                    last edited by

                                    Well, that didn't format like i wanted. let's try a picture:
                                    KML-reference.png

                                    1 Reply Last reply Reply Quote 0
                                    • trevorgankarchT
                                      trevorgankarch @idefix37
                                      last edited by

                                      @idefix37 and @siim can you guys help me get my coordinates in google firebase into Windy API Leaflet map. Or share your source codes and steps with me please.I created an android app with GPS tracking, the data will be stored in Firebase Database.

                                      idefix37I 1 Reply Last reply Reply Quote 0
                                      • idefix37I
                                        idefix37 Sailor Moderator @trevorgankarch
                                        last edited by

                                        @trevorgankarch
                                        Sorry but I’m not able to help you on this particular matter.

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          royvandegraaf
                                          last edited by

                                          Looks great, uploading works, just doesn't sync to the app on my phone (Android)...

                                          1 Reply Last reply Reply Quote 4
                                          • G
                                            gdupen
                                            last edited by

                                            Hi, is there a way to color a track on a geojson file with this feature? Is there also a way to have a popup for the track? Thanks!

                                            KorinaK 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
                                            NodeBB & contributors, OSM & contributors, HERE maps
                                            Terms of Use     Privacy Policy