Skip to content

Instantly share code, notes, and snippets.

@pkqk
Last active January 28, 2022 01:49
Show Gist options
  • Save pkqk/4ce3e7ede3d3b196a17e704b6c3a12da to your computer and use it in GitHub Desktop.
Save pkqk/4ce3e7ede3d3b196a17e704b6c3a12da to your computer and use it in GitHub Desktop.
Whale Tales 2022
url=https://www.whaletales2022.org/wp-json/wpgmza/v1/features/base64eJyrVkrLzClJLVKyUqqOUcpNLIjPTIlRsopRMo5R0gEJFGeUFni6FAPFomOBAsmlxSX5uW6ZqTkpELFapVoABaMWvA
curl -k "${url}" | jq '{type: "FeatureCollection", features:[.markers[]|select(.lat != "NA")|{type: "Feature",geometry: {type: "Point", coordinates: [(.lng|tonumber),(.lat|tonumber)]}, properties:{title:.title, link: "https://whaletales2022.org\(.link)"}}]}' > whaletales.geojson
Display the source blob
Display the rendered blob
Raw
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7872676,
-36.94231665
]
},
"properties": {
"title": "A Cautionary Tale",
"link": "https://whaletales2022.org/big-broos/A-Cautionary-Tale/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7811422,
-36.86274681
]
},
"properties": {
"title": "A Fragile Tale to Tell",
"link": "https://whaletales2022.org/big-broos/A-Fragile-Tale-to-Tell/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7586562,
-36.85933374
]
},
"properties": {
"title": "A Splash of Colour",
"link": "https://whaletales2022.org/big-broos/A-Splash-of-Colour/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7959769,
-36.83235123
]
},
"properties": {
"title": "A Splash of Colour 1",
"link": "https://whaletales2022.org/big-broos/A-Splash-of-Colour-1/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.8172765,
-36.84548793
]
},
"properties": {
"title": "Adorning our Taonga",
"link": "https://whaletales2022.org/big-broos/Adorning-our-Taonga/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.6520361,
-36.84310912
]
},
"properties": {
"title": "All that Shimmers is not Gold",
"link": "https://whaletales2022.org/big-broos/All-that-Shimmers-is-not-Gold/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7633302,
-36.84178866
]
},
"properties": {
"title": "Backyard Bliss",
"link": "https://whaletales2022.org/big-broos/Backyard-Bliss/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.6963997,
-36.58555166
]
},
"properties": {
"title": "Beached",
"link": "https://whaletales2022.org/big-broos/Beached/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.749393,
-36.857749
]
},
"properties": {
"title": "Bubble Sea",
"link": "https://whaletales2022.org/big-broos/Bubble-Sea/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7440852,
-36.84725962
]
},
"properties": {
"title": "Calm of Hauraki Gulf",
"link": "https://whaletales2022.org/big-broos/Calm-of-Hauraki-Gulf/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.773831,
-36.8595467
]
},
"properties": {
"title": "Change of Heart",
"link": "https://whaletales2022.org/big-broos/Change-of-Heart/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.833618,
-36.88845563
]
},
"properties": {
"title": "Comet",
"link": "https://whaletales2022.org/big-broos/Comet/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7470037,
-36.63691067
]
},
"properties": {
"title": "Coral Fields",
"link": "https://whaletales2022.org/big-broos/Coral-Fields/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7781509,
-36.85195467
]
},
"properties": {
"title": "Corrugated Tail",
"link": "https://whaletales2022.org/big-broos/Corrugated-Tail/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7561562,
-36.8404225
]
},
"properties": {
"title": "Creatures de la mer",
"link": "https://whaletales2022.org/big-broos/Creatures-de-la-mer/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7780995,
-36.87122652
]
},
"properties": {
"title": "Deco Deity",
"link": "https://whaletales2022.org/big-broos/Deco-Deity/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7965658,
-36.9495826
]
},
"properties": {
"title": "Dreambreathe",
"link": "https://whaletales2022.org/big-broos/Dreambreathe/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.6274655,
-36.87694921
]
},
"properties": {
"title": "Fabric of Nature",
"link": "https://whaletales2022.org/big-broos/Fabric-of-Nature/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7668586,
-36.84417199
]
},
"properties": {
"title": "Fade Away",
"link": "https://whaletales2022.org/big-broos/Fade-Away/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7589198,
-36.84113878
]
},
"properties": {
"title": "Flourish",
"link": "https://whaletales2022.org/big-broos/Flourish/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.762191,
-36.84840795
]
},
"properties": {
"title": "Flukes of Steel",
"link": "https://whaletales2022.org/big-broos/Flukes-of-Steel/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7261603,
-36.81217406
]
},
"properties": {
"title": "Forward Flow",
"link": "https://whaletales2022.org/big-broos/Forward-Flow/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7784901,
-36.86113508
]
},
"properties": {
"title": "From the Tiny to the Mighty",
"link": "https://whaletales2022.org/big-broos/From-the-Tiny-to-the-Mighty/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7544462,
-36.78423361
]
},
"properties": {
"title": "Guardian Kaitiaki",
"link": "https://whaletales2022.org/big-broos/Guardian-Kaitiaki/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7665455,
-36.84607834
]
},
"properties": {
"title": "He Aha Te Hau",
"link": "https://whaletales2022.org/big-broos/He-Aha-Te-Hau/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.739664,
-36.6852391
]
},
"properties": {
"title": "Heads on Tales",
"link": "https://whaletales2022.org/big-broos/Heads-on-Tales/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7667104,
-36.84719704
]
},
"properties": {
"title": "Heal Huku",
"link": "https://whaletales2022.org/big-broos/Heal-Huku/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.6551311,
-36.78962232
]
},
"properties": {
"title": "Home",
"link": "https://whaletales2022.org/big-broos/Home/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.661692,
-36.83932084
]
},
"properties": {
"title": "Horizontal cultural transmission",
"link": "https://whaletales2022.org/big-broos/Horizontal-cultural-transmission/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7742658,
-36.78723306
]
},
"properties": {
"title": "I am the Water and the Water is Me",
"link": "https://whaletales2022.org/big-broos/I-am-the-Water-and-the-Water-is-Me/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7459276,
-36.84089995
]
},
"properties": {
"title": "Interpretive Tale",
"link": "https://whaletales2022.org/big-broos/Interpretive-Tale/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7755892,
-36.78432319
]
},
"properties": {
"title": "Just Fowlin Around",
"link": "https://whaletales2022.org/big-broos/Just-Fowlin-Around/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.9468533,
-37.06293214
]
},
"properties": {
"title": "Kaitiaki",
"link": "https://whaletales2022.org/big-broos/Kaitiaki/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.8601918,
-36.92298406
]
},
"properties": {
"title": "Kaitiakitanga",
"link": "https://whaletales2022.org/big-broos/Kaitiakitanga/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.8552943,
-36.89967431
]
},
"properties": {
"title": "Kapehu Whetu",
"link": "https://whaletales2022.org/big-broos/Kapehu-Whetu/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7473913,
-36.84232557
]
},
"properties": {
"title": "Kete Aronui",
"link": "https://whaletales2022.org/big-broos/Kete-Aronui/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.8751804,
-36.93722309
]
},
"properties": {
"title": "Kotare",
"link": "https://whaletales2022.org/big-broos/Kotare/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.8788918,
-36.99377251
]
},
"properties": {
"title": "Mailap Man ay Nariyan ang Diwata ng Karagatan Elusive but Ever Present are the Spirits of the Seas",
"link": "https://whaletales2022.org/big-broos/Mailap-Man-ay-Nariyan-ang-Diwata-ng-Karagatan-Elusive-but-Ever-Present-are-the-Spirits-of-the-Seas/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7823684,
-36.8508806
]
},
"properties": {
"title": "Matariki",
"link": "https://whaletales2022.org/big-broos/Matariki/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.838461,
-36.89015958
]
},
"properties": {
"title": "Matariki1",
"link": "https://whaletales2022.org/big-broos/Matariki1/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.9922747,
-36.78000606
]
},
"properties": {
"title": "Migration",
"link": "https://whaletales2022.org/big-broos/Migration/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.8319095,
-36.84758241
]
},
"properties": {
"title": "Moby Brick",
"link": "https://whaletales2022.org/big-broos/Moby-Brick/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.8737977,
-36.96096846
]
},
"properties": {
"title": "Moonbeam",
"link": "https://whaletales2022.org/big-broos/Moonbeam/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7586562,
-36.85933374
]
},
"properties": {
"title": "Oceanic Heat Map",
"link": "https://whaletales2022.org/big-broos/Oceanic-Heat-Map/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7852098,
-36.92279798
]
},
"properties": {
"title": "Our Hands",
"link": "https://whaletales2022.org/big-broos/Our-Hands/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.9056419,
-37.20083125
]
},
"properties": {
"title": "Our Ocean Our Future",
"link": "https://whaletales2022.org/big-broos/Our-Ocean-Our-Future/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.628928,
-36.908147
]
},
"properties": {
"title": "Plot Twist",
"link": "https://whaletales2022.org/big-broos/Plot-Twist/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.8684207,
-36.90134882
]
},
"properties": {
"title": "Recharting the Gulf",
"link": "https://whaletales2022.org/big-broos/Recharting-the-Gulf/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.9421341,
-37.06210229
]
},
"properties": {
"title": "Sacred Taonga",
"link": "https://whaletales2022.org/big-broos/Sacred-Taonga/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7585592,
-36.84080176
]
},
"properties": {
"title": "Save the Ocean",
"link": "https://whaletales2022.org/big-broos/Save-the-Ocean/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7548174,
-36.84118128
]
},
"properties": {
"title": "Sea lebration",
"link": "https://whaletales2022.org/big-broos/Sea-lebration/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7831061,
-36.85960539
]
},
"properties": {
"title": "Sentient Beings of the Sea",
"link": "https://whaletales2022.org/big-broos/Sentient-Beings-of-the-Sea/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7335521,
-36.85599644
]
},
"properties": {
"title": "Shadows and Reflections",
"link": "https://whaletales2022.org/big-broos/Shadows-and-Reflections/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7800505,
-36.85428584
]
},
"properties": {
"title": "Sirius Dreaming",
"link": "https://whaletales2022.org/big-broos/Sirius-Dreaming/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.989989,
-36.88970559
]
},
"properties": {
"title": "Sky Walkers",
"link": "https://whaletales2022.org/big-broos/Sky-Walkers/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.9131679,
-36.9322225
]
},
"properties": {
"title": "Sleeping Herons",
"link": "https://whaletales2022.org/big-broos/Sleeping-Herons/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7544023,
-36.8392175
]
},
"properties": {
"title": "Solar Remnant",
"link": "https://whaletales2022.org/big-broos/Solar-Remnant/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7605783,
-36.84295603
]
},
"properties": {
"title": "Taiko Take Flight",
"link": "https://whaletales2022.org/big-broos/Taiko-Take-Flight/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7719309,
-36.78711429
]
},
"properties": {
"title": "Te Koha Tohora",
"link": "https://whaletales2022.org/big-broos/Te-Koha-Tohora/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.9329361,
-36.89477657
]
},
"properties": {
"title": "Te Koha The Gift",
"link": "https://whaletales2022.org/big-broos/Te-Koha-The-Gift/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7551561,
-36.84803173
]
},
"properties": {
"title": "Te Whanau Moana",
"link": "https://whaletales2022.org/big-broos/Te-Whanau-Moana/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.8592782,
-36.84935027
]
},
"properties": {
"title": "The Embrace",
"link": "https://whaletales2022.org/big-broos/The-Embrace/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7667259,
-36.84789933
]
},
"properties": {
"title": "The Guardian",
"link": "https://whaletales2022.org/big-broos/The-Guardian/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7566433,
-36.84100792
]
},
"properties": {
"title": "The Ocean is our Treasure",
"link": "https://whaletales2022.org/big-broos/The-Ocean-is-our-Treasure/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7778405,
-36.86722218
]
},
"properties": {
"title": "They are Us",
"link": "https://whaletales2022.org/big-broos/They-are-Us/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7463582,
-36.83547629
]
},
"properties": {
"title": "T_kapa Moana",
"link": "https://whaletales2022.org/big-broos/T_kapa-Moana/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.719685,
-36.86390697
]
},
"properties": {
"title": "Treasures of Nature",
"link": "https://whaletales2022.org/big-broos/Treasures-of-Nature/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.8283131,
-36.87591371
]
},
"properties": {
"title": "Trypophobia",
"link": "https://whaletales2022.org/big-broos/Trypophobia/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.9234382,
-37.06079972
]
},
"properties": {
"title": "Tupou",
"link": "https://whaletales2022.org/big-broos/Tupou/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7856654,
-36.84853772
]
},
"properties": {
"title": "Vibrant",
"link": "https://whaletales2022.org/big-broos/Vibrant/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.907833,
-37.01274505
]
},
"properties": {
"title": "Visiting the Rock",
"link": "https://whaletales2022.org/big-broos/Visiting-the-Rock/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7669837,
-36.84278281
]
},
"properties": {
"title": "Waves",
"link": "https://whaletales2022.org/big-broos/Waves/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7682624,
-36.84468972
]
},
"properties": {
"title": "Whakaora Whale",
"link": "https://whaletales2022.org/big-broos/Whakaora-Whale/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7684693,
-36.84006462
]
},
"properties": {
"title": "Whale Spirit",
"link": "https://whaletales2022.org/big-broos/Whale-Spirit/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.727244,
-36.86808082
]
},
"properties": {
"title": "Whale Tail 2121",
"link": "https://whaletales2022.org/big-broos/Whale-Tail-2121/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.765555,
-36.84296161
]
},
"properties": {
"title": "Whale Years 2021",
"link": "https://whaletales2022.org/big-broos/Whale-Years-2021/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7490553,
-36.71565126
]
},
"properties": {
"title": "Where You Belong Ocean Series",
"link": "https://whaletales2022.org/big-broos/Where-You-Belong-Ocean-Series/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.7449946,
-36.87222728
]
},
"properties": {
"title": "Witness",
"link": "https://whaletales2022.org/big-broos/Witness/"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
174.770121,
-36.84459643
]
},
"properties": {
"title": "New Gold Mountain",
"link": "https://whaletales2022.org/big-broos/New-Gold-Mountain/"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment