RomanistHere / Measureland

An independent interactive encyclopedia of searching for accommodation. Community-driven and completely free (FOSS).
https://measureland.org/en/
GNU General Public License v3.0
23 stars 4 forks source link

20$. Light pollution API. #26

Open RomanistHere opened 2 years ago

RomanistHere commented 2 years ago

Requirements:

Convert existing map or dataset (Whole world, 2020 or later - 2021 pref.) to lat-lng based API with light pollution rating from 1 to 5.

image

Links

Map:

Images:

Other sites to get data:

Money

This task is for hire. If you want to complete it, write "I claim this task" in comments and write to "support@measureland.org" so we will discuss details privately.

AlexStrNik commented 2 years ago

Hello! As i can see API is already exists

Example: https://www.lightpollutionmap.info/QueryRaster/?qk=MTY1MjYxNTk5MjI5NTtpc3Vja2RpY2tzOik=&ql=viirs_2021&qt=point_t&qd=48.74783729168823,55.75136844953553 where qk is API Key (i think you can just use key from their website), ql is data layer (2021 is the latest data available) and qd is a coordinates (obviously)

Response format is pretty simple - before the comma there is a list of measurements (starting from 2012 to 2021) separated by semicolon. After a comma there is a elevation in meters (no idea why it needed) Example: 0.8;1.7;7.6;26.4;40.8;43.9;46.1;42.9;39.4;52.9,205)

RomanistHere commented 2 years ago

Hello! As i can see API is already exists

image

I see. Wonder if it's okay to use it. Will drop them a letter. Thanks @AlexStrNik