Skip to content
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.
/ corine-eu-api Public archive

🏞 πŸŒ… πŸŒ„ Cloud function to get Corine Land Cover data from the European Environment Agency from a lat/long pair or Open Location Code.

Notifications You must be signed in to change notification settings

enjikaka/corine-eu-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Corine EU API

Note

Use this instead: https://github.com/Vufuzi/clc-eu

This is a cloud function that gives you the Corine Land Cover information of a lat/long pair or an Open Location Code.

Only works within the EU as this uses the Corine Land Cover data from 2012 provided by the European Environment Agency.

Get Corine Land Cover information

Request

URL: /

Method: GET

URL params: ?lat=[number]&long=[number] || ?ocl=[OpenLocationCode]

Response

Code: 200 OK Content:

{
  openLocationCode: OpenLocationCode,
  terrainTypes: string[]
}

Example response


{
  "openLocationCode":"9FFJMH3M+4G",
  "terrainTypes": [
    "Industrial or commercial units",
    "Water bodies"
  ]
}

View 9FFJMH3M+4G on the map

Deployment

Prerequisite:

Run npm run deploy to publish the webtask cloud function.

About

🏞 πŸŒ… πŸŒ„ Cloud function to get Corine Land Cover data from the European Environment Agency from a lat/long pair or Open Location Code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages