Jump to content

360 degrees challenge checker polygons, download possible


Team On

Recommended Posts

I am already talking about the challenge checker website, AFTER I put in my user name for checking and seeing all those beams in the map. That is where I notized in the source code of that page, the polygons of the 360 polygons data are available, question is how to kml that. I mean its easy to understand, but what format is used? I would like to paste it into file and change it to kml.

 

For example the first two polygons (beam 0-1 and 1-2 degree) are displayed in the challenge checker this way:

 
   
  var polygon = new L.polygon([[51.54905,7.320867], [51.558043201943,7.320867], [51.647975221377,7.320867], [51.73790724081,7.320867], [51.827839260244,7.320867], [51.917771279677,7.320867], [52.007703299111,7.320867], [52.097635318544,7.320867], [52.187567337978,7.320867], [52.277499357411,7.320867], [52.279555053757,7.320867], [52.279441972593,7.3417046903146], [52.277386599679,7.3416450909712], [52.187468700353,7.3390431535982], [52.097550744028,7.3364517187814], [52.007632731117,7.3338707103785], [51.917714662029,7.33130005296], [51.827796537169,7.3287396718026], [51.737878356941,7.3261894928792], [51.647960121741,7.3236494428518], [51.558041831964,7.321119449063], [51.54905,7.320867]], {
  color: '#0f3',
  weight: 1,
  opacity: 0.4,
  fillOpacity: 0.15
  }).addTo(map);
   
  polygon.bindPopup('<a href="?gccode=GC4FXPC&profile_name=Team+On&submit=Filter&degree=0">0-1 degrees</a>');
   
  overlayLayers.Polygons = polygon;
   
  var polygon = new L.polygon([[51.54905,7.320867], [51.558041831964,7.321119449063], [51.647960121741,7.3236494428518], [51.737878356941,7.3261894928792], [51.827796537169,7.3287396718026], [51.917714662029,7.33130005296], [52.007632731117,7.3338707103785], [52.097550744028,7.3364517187814], [52.187468700353,7.3390431535982], [52.276632938012,7.3416232385411], [52.276295056608,7.3623728408306], [52.268060818484,7.3618952886004], [52.178185251904,7.3566943867944], [52.088309457568,7.3515144612534], [51.998433437125,7.3463553600455], [51.908557192211,7.3412169326606], [51.818680724444,7.3360990299945], [51.72880403543,7.3310015043315], [51.638927126757,7.3259242093287], [51.54905,7.320867]], {
  color: '#f30',
  weight: 1,
  opacity: 0.4,
  fillOpacity: 0.2
  }).addTo(map);
   
Link to comment
1 hour ago, Team On said:

The source code above does not seem to be kml, so if I do not know what it is I can not change it to kml

Part of the code seems to be GeoJSON. There are JSON to KML converters available (even online converter).

Edited by HHL
Typo
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...