SOFP OGC API Features server v0.7.15
Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
Base URLs:
License: MIT
Capabilities
Essential characteristics of this API including information about the data
getLandingPage
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/ \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/ HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /
OGC API Features Landing page
Example responses
200 Response
{
"type": "object",
"required": [
"links"
],
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | links to the API capabilities | root |
default | Default | an error occurred | exception |
getRequirementsClasses
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/conformance \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/conformance HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/conformance',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/conformance',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/conformance', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/conformance', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/conformance");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/conformance", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /conformance
information about standards that this API conforms to
list all requirements classes specified in a standard (e.g., WFS 3.0 Part 1: Core) that the server conforms to
Example responses
200 Response
{
"type": "object",
"required": [
"conformsTo"
],
"properties": {
"conformsTo": {
"type": "array",
"items": {
"type": "string"
},
"example": [
"http://www.opengis.net/spec/wfs-1/3.0/req/core",
"http://www.opengis.net/spec/wfs-1/3.0/req/oas30",
"http://www.opengis.net/spec/wfs-1/3.0/req/html",
"http://www.opengis.net/spec/wfs-1/3.0/req/geojson"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | the URIs of all requirements classes supported by the server | req-classes |
default | Default | an error occurred | exception |
describeCollections
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections
describe the feature collections in the dataset
Example responses
200 Response
{
"type": "object",
"required": [
"links",
"collections"
],
"properties": {
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"collections": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the feature collections shared by this API | content |
default | Default | an error occurred | exception |
describeCollection_AreaStatisticalUnit_4500k_EPSG_3067
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_3067
describe the INSPIRE SU AreaStatisticalUnit 4500k EPSG:3067 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 4500k scale EPSG:3067
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the AreaStatisticalUnit_4500k_EPSG_3067 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_AreaStatisticalUnit_4500k_EPSG_3067_2023
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_3067_2023
describe the INSPIRE SU AreaStatisticalUnit 4500k EPSG:3067 2023 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 4500k scale EPSG:3067 year 2023
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the AreaStatisticalUnit_4500k_EPSG_3067_2023 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_AreaStatisticalUnit_4500k_EPSG_3067_2022
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_3067_2022
describe the INSPIRE SU AreaStatisticalUnit 4500k EPSG:3067 2022 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 4500k scale EPSG:3067 year 2022
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the AreaStatisticalUnit_4500k_EPSG_3067_2022 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_AreaStatisticalUnit_4500k_EPSG_3067_2021
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_3067_2021
describe the INSPIRE SU AreaStatisticalUnit 4500k EPSG:3067 2021 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 4500k scale EPSG:3067 year 2021
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the AreaStatisticalUnit_4500k_EPSG_3067_2021 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_AreaStatisticalUnit_4500k_EPSG_3067_2020
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_3067_2020
describe the INSPIRE SU AreaStatisticalUnit 4500k EPSG:3067 2020 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 4500k scale EPSG:3067 year 2020
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the AreaStatisticalUnit_4500k_EPSG_3067_2020 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_AreaStatisticalUnit_4500k_EPSG_4326
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_4326
describe the INSPIRE SU AreaStatisticalUnit 4500k EPSG:4326 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 4500k scale EPSG:4326
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the AreaStatisticalUnit_4500k_EPSG_4326 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_AreaStatisticalUnit_4500k_EPSG_4326_2023
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_4326_2023
describe the INSPIRE SU AreaStatisticalUnit 4500k EPSG:4326 2023 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 4500k scale EPSG:4326 year 2023
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the AreaStatisticalUnit_4500k_EPSG_4326_2023 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_AreaStatisticalUnit_4500k_EPSG_4326_2022
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_4326_2022
describe the INSPIRE SU AreaStatisticalUnit 4500k EPSG:4326 2022 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 4500k scale EPSG:4326 year 2022
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the AreaStatisticalUnit_4500k_EPSG_4326_2022 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_AreaStatisticalUnit_4500k_EPSG_4326_2021
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_4326_2021
describe the INSPIRE SU AreaStatisticalUnit 4500k EPSG:4326 2021 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 4500k scale EPSG:4326 year 2021
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the AreaStatisticalUnit_4500k_EPSG_4326_2021 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_AreaStatisticalUnit_4500k_EPSG_4326_2020
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_4326_2020
describe the INSPIRE SU AreaStatisticalUnit 4500k EPSG:4326 2020 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 4500k scale EPSG:4326 year 2020
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the AreaStatisticalUnit_4500k_EPSG_4326_2020 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_AreaStatisticalUnit_1000k_EPSG_3067
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_1000k_EPSG_3067
describe the INSPIRE SU AreaStatisticalUnit 1000k EPSG:3067 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 1000k scale EPSG:3067
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the AreaStatisticalUnit_1000k_EPSG_3067 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_AreaStatisticalUnit_1000k_EPSG_3067_2023
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2023 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2023 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2023',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2023',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2023', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2023', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2023");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2023", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_1000k_EPSG_3067_2023
describe the INSPIRE SU AreaStatisticalUnit 1000k EPSG:3067 2023 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 1000k scale EPSG:3067 year 2023
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the AreaStatisticalUnit_1000k_EPSG_3067_2023 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_AreaStatisticalUnit_1000k_EPSG_3067_2022
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2022 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2022 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2022',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2022',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2022', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2022', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2022");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2022", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_1000k_EPSG_3067_2022
describe the INSPIRE SU AreaStatisticalUnit 1000k EPSG:3067 2022 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 1000k scale EPSG:3067 year 2022
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the AreaStatisticalUnit_1000k_EPSG_3067_2022 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_AreaStatisticalUnit_1000k_EPSG_3067_2021
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2021 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2021 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2021',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2021',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2021', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2021', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2021");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2021", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_1000k_EPSG_3067_2021
describe the INSPIRE SU AreaStatisticalUnit 1000k EPSG:3067 2021 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 1000k scale EPSG:3067 year 2021
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the AreaStatisticalUnit_1000k_EPSG_3067_2021 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_AreaStatisticalUnit_1000k_EPSG_3067_2020
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2020 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2020 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2020',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2020',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2020', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2020', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2020");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2020", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_1000k_EPSG_3067_2020
describe the INSPIRE SU AreaStatisticalUnit 1000k EPSG:3067 2020 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 1000k scale EPSG:3067 year 2020
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the AreaStatisticalUnit_1000k_EPSG_3067_2020 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_AreaStatisticalUnit_1000k_EPSG_4326
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_1000k_EPSG_4326
describe the INSPIRE SU AreaStatisticalUnit 1000k EPSG:4326 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 1000k scale EPSG:4326
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the AreaStatisticalUnit_1000k_EPSG_4326 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_AreaStatisticalUnit_1000k_EPSG_4326_2023
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2023 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2023 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2023',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2023',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2023', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2023', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2023");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2023", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_1000k_EPSG_4326_2023
describe the INSPIRE SU AreaStatisticalUnit 1000k EPSG:4326 2023 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 1000k scale EPSG:4326 year 2023
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the AreaStatisticalUnit_1000k_EPSG_4326_2023 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_AreaStatisticalUnit_1000k_EPSG_4326_2022
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2022 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2022 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2022',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2022',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2022', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2022', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2022");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2022", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_1000k_EPSG_4326_2022
describe the INSPIRE SU AreaStatisticalUnit 1000k EPSG:4326 2022 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 1000k scale EPSG:4326 year 2022
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the AreaStatisticalUnit_1000k_EPSG_4326_2022 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_AreaStatisticalUnit_1000k_EPSG_4326_2021
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2021 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2021 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2021',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2021',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2021', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2021', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2021");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2021", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_1000k_EPSG_4326_2021
describe the INSPIRE SU AreaStatisticalUnit 1000k EPSG:4326 2021 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 1000k scale EPSG:4326 year 2021
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the AreaStatisticalUnit_1000k_EPSG_4326_2021 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_AreaStatisticalUnit_1000k_EPSG_4326_2020
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2020 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2020 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2020',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2020',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2020', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2020', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2020");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_4326_2020", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_1000k_EPSG_4326_2020
describe the INSPIRE SU AreaStatisticalUnit 1000k EPSG:4326 2020 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 1000k scale EPSG:4326 year 2020
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the AreaStatisticalUnit_1000k_EPSG_4326_2020 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_StatisticalGrid_EPSG_3067
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGrid_EPSG_3067 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGrid_EPSG_3067 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGrid_EPSG_3067',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGrid_EPSG_3067',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGrid_EPSG_3067', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGrid_EPSG_3067', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGrid_EPSG_3067");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGrid_EPSG_3067", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/StatisticalGrid_EPSG_3067
describe the INSPIRE SU StatisticalGrid EPSG:3067 feature collection
INSPIRE SU StatisticalGrid in Finland EPSG:3067
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the StatisticalGrid_EPSG_3067 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_StatisticalGridCell_RES_5000m_EPSG_3067
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGridCell_RES_5000m_EPSG_3067 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGridCell_RES_5000m_EPSG_3067 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGridCell_RES_5000m_EPSG_3067',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGridCell_RES_5000m_EPSG_3067',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGridCell_RES_5000m_EPSG_3067', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGridCell_RES_5000m_EPSG_3067', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGridCell_RES_5000m_EPSG_3067");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGridCell_RES_5000m_EPSG_3067", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/StatisticalGridCell_RES_5000m_EPSG_3067
describe the INSPIRE SU StatisticalGridCell RES 5000m EPSG:3067 feature collection
INSPIRE SU StatisticalGridCell RES 5000m in Finland EPSG:3067
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the StatisticalGridCell_RES_5000m_EPSG_3067 collection | collectionInfo |
default | Default | an error occurred | exception |
describeCollection_StatisticalGridCell_RES_1000m_EPSG_3067
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGridCell_RES_1000m_EPSG_3067 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGridCell_RES_1000m_EPSG_3067 HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGridCell_RES_1000m_EPSG_3067',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGridCell_RES_1000m_EPSG_3067',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGridCell_RES_1000m_EPSG_3067', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGridCell_RES_1000m_EPSG_3067', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGridCell_RES_1000m_EPSG_3067");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/StatisticalGridCell_RES_1000m_EPSG_3067", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/StatisticalGridCell_RES_1000m_EPSG_3067
describe the INSPIRE SU StatisticalGridCell RES 1000m EPSG:3067 feature collection
INSPIRE SU StatisticalGridCell RES 1000m in Finland EPSG:3067
Example responses
200 Response
{
"type": "object",
"required": [
"id",
"links"
],
"properties": {
"id": {
"description": "identifier of the collection used, for example, in URIs",
"type": "string"
},
"title": {
"description": "human readable title of the collection",
"type": "string"
},
"description": {
"description": "a description of the features in the collection",
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"extent": {
"type": "object",
"properties": {
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent (property `spatial`). In the Core, only WGS84 longitude/latitude is supported. Extensions may support additional coordinate reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
],
"default": "http://www.opengis.net/def/crs/OGC/1.3/CRS84"
},
"spatial": {
"description": "West, north, east, south edges of the spatial extent. The minimum and maximum values apply to the coordinate reference system WGS84 longitude/latitude that is supported in the Core. If, for example, a projected coordinate reference system is used, the minimum and maximum values need to be adjusted.",
"type": "array",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number"
},
"example": [
-180,
-90,
180,
90
]
},
"trs": {
"description": "Temporal reference system of the coordinates in the temporal extent (property `temporal`). In the Core, only the Gregorian calendar is supported. Extensions may support additional temporal reference systems.",
"type": "string",
"enum": [
"http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
],
"default": "http://www.opengis.net/def/uom/ISO-8601/0/Gregorian"
},
"temporal": {
"description": "Begin and end times of the temporal extent.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "string",
"format": "dateTime"
},
"example": [
"2011-11-11T12:22:11Z",
"2012-11-24T12:32:43Z"
]
}
}
},
"crs": {
"description": "The coordinate reference systems in which geometries may be retrieved. Coordinate reference systems are identified by a URI. The first coordinate reference system is the coordinate reference system that is used by default. This is always \"http://www.opengis.net/def/crs/OGC/1.3/CRS84\", i.e. WGS84 longitude/latitude.",
"type": "array",
"items": {
"type": "string"
},
"default": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84"
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | metadata about the StatisticalGridCell_RES_1000m_EPSG_3067 collection | collectionInfo |
default | Default | an error occurred | exception |
Features
Access to data (features).
getFeatures_AreaStatisticalUnit_4500k_EPSG_3067
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067/items \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067/items HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067/items',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067/items',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067/items', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067/items', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067/items");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067/items", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_3067/items
retrieve features of AreaStatisticalUnit_4500k_EPSG_3067 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 4500k scale EPSG:3067
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
limit | query | integer | false | The optional limit parameter limits the number of items that are presented in the response document. |
bbox | query | array[number] | false | Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers: |
datetime | query | string | false | Either a date-time or a period string that adheres to RFC 3339. Examples: |
gid | query | string | false | Filters returned features based on feature properties. |
featureType | query | string | false | Filters returned features based on feature properties. |
inspireId_localId | query | string | false | Filters returned features based on feature properties. |
inspireId_versionId | query | number | false | Filters returned features based on feature properties. |
inspireId_namespace | query | string | false | Filters returned features based on feature properties. |
beginLifespanVersion | query | date | false | Filters returned features based on feature properties. |
endLifespanVersion | query | date | false | Filters returned features based on feature properties. |
country | query | string | false | Filters returned features based on feature properties. |
geographicalName_fin | query | string | false | Filters returned features based on feature properties. |
geographicalName_swe | query | string | false | Filters returned features based on feature properties. |
geographicalName_eng | query | string | false | Filters returned features based on feature properties. |
nationalCode | query | string | false | Filters returned features based on feature properties. |
tessellation | query | string | false | Filters returned features based on feature properties. |
tessellationId | query | string | false | Filters returned features based on feature properties. |
thematicId | query | string | false | Filters returned features based on feature properties. |
referencePeriod_beginPosition | query | date | false | Filters returned features based on feature properties. |
referencePeriod_endPosition | query | date | false | Filters returned features based on feature properties. |
areaValue | query | number | false | Filters returned features based on feature properties. |
areaValue_uom | query | string | false | Filters returned features based on feature properties. |
landAreaValue | query | number | false | Filters returned features based on feature properties. |
landAreaValue_uom | query | string | false | Filters returned features based on feature properties. |
geometry_geometryDescription | query | string | false | Filters returned features based on feature properties. |
geometry_scale | query | string | false | Filters returned features based on feature properties. |
Detailed descriptions
limit: The optional limit parameter limits the number of items that are presented in the response document. Only items are counted that are on the first level of the collection in the response document. Nested objects contained within the explicitly requested items shall not be counted.
bbox: Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers:
- Lower left corner, coordinate axis 1
- Lower left corner, coordinate axis 2
- Lower left corner, coordinate axis 3 (optional)
- Upper right corner, coordinate axis 1
- Upper right corner, coordinate axis 2
- Upper right corner, coordinate axis 3 (optional)
The coordinate reference system of the values is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84) unless a different coordinate reference system is specified in the parameter
bbox-crs
. For WGS84 longitude/latitude the values are in most cases the sequence of minimum longitude, minimum latitude, maximum longitude and maximum latitude. However, in cases where the box spans the antimeridian the first value (west-most box edge) is larger than the third value (east-most box edge). If a feature has multiple spatial geometry properties, it is the decision of the server whether only a single spatial geometry property is used to determine the extent or all relevant geometries.
datetime: Either a date-time or a period string that adheres to RFC 3339. Examples:
- A date-time: "2018-02-12T23:20:50Z"
- A period: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" or "2018-02-12T00:00:00Z/P1M6DT12H31M12S"
Only features that have a temporal property that intersects the value of
datetime
are selected. If a feature has multiple temporal properties, it is the decision of the server whether only a single temporal property is used to determine the extent or all relevant temporal properties.
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"features"
],
"properties": {
"type": {
"type": "string",
"enum": [
"FeatureCollection"
]
},
"features": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"timeStamp": {
"type": "string",
"format": "dateTime"
},
"numberMatched": {
"type": "integer",
"minimum": 0
},
"numberReturned": {
"type": "integer",
"minimum": 0
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Information about the feature collection plus the first features matching the selection parameters. | AreaStatisticalUnit_4500k_EPSG_3067FeatureCollectionGeoJSON |
default | Default | an error occurred | exception |
getFeature_AreaStatisticalUnit_4500k_EPSG_3067
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067/items/{featureId} \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067/items/{featureId} HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067/items/{featureId}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067/items/{featureId}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067/items/{featureId}', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067/items/{featureId}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067/items/{featureId}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067/items/{featureId}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_3067/items/{featureId}
retrieve single feature from feature collection AreaStatisticalUnit_4500k_EPSG_3067
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
featureId | path | string | true | Local identifier of a specific feature |
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | A feature | AreaStatisticalUnit_4500k_EPSG_3067FeatureGeoJSON |
default | Default | an error occurred | exception |
getFeatures_AreaStatisticalUnit_4500k_EPSG_3067_2023
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023/items \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023/items HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023/items',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023/items',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023/items', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023/items', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023/items");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023/items", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_3067_2023/items
retrieve features of AreaStatisticalUnit_4500k_EPSG_3067_2023 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 4500k scale EPSG:3067 year 2023
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
limit | query | integer | false | The optional limit parameter limits the number of items that are presented in the response document. |
bbox | query | array[number] | false | Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers: |
datetime | query | string | false | Either a date-time or a period string that adheres to RFC 3339. Examples: |
gid | query | string | false | Filters returned features based on feature properties. |
featureType | query | string | false | Filters returned features based on feature properties. |
inspireId_localId | query | string | false | Filters returned features based on feature properties. |
inspireId_versionId | query | number | false | Filters returned features based on feature properties. |
inspireId_namespace | query | string | false | Filters returned features based on feature properties. |
beginLifespanVersion | query | date | false | Filters returned features based on feature properties. |
endLifespanVersion | query | date | false | Filters returned features based on feature properties. |
country | query | string | false | Filters returned features based on feature properties. |
geographicalName_fin | query | string | false | Filters returned features based on feature properties. |
geographicalName_swe | query | string | false | Filters returned features based on feature properties. |
geographicalName_eng | query | string | false | Filters returned features based on feature properties. |
nationalCode | query | string | false | Filters returned features based on feature properties. |
tessellation | query | string | false | Filters returned features based on feature properties. |
tessellationId | query | string | false | Filters returned features based on feature properties. |
thematicId | query | string | false | Filters returned features based on feature properties. |
referencePeriod_beginPosition | query | date | false | Filters returned features based on feature properties. |
referencePeriod_endPosition | query | date | false | Filters returned features based on feature properties. |
areaValue | query | number | false | Filters returned features based on feature properties. |
areaValue_uom | query | string | false | Filters returned features based on feature properties. |
landAreaValue | query | number | false | Filters returned features based on feature properties. |
landAreaValue_uom | query | string | false | Filters returned features based on feature properties. |
geometry_geometryDescription | query | string | false | Filters returned features based on feature properties. |
geometry_scale | query | string | false | Filters returned features based on feature properties. |
Detailed descriptions
limit: The optional limit parameter limits the number of items that are presented in the response document. Only items are counted that are on the first level of the collection in the response document. Nested objects contained within the explicitly requested items shall not be counted.
bbox: Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers:
- Lower left corner, coordinate axis 1
- Lower left corner, coordinate axis 2
- Lower left corner, coordinate axis 3 (optional)
- Upper right corner, coordinate axis 1
- Upper right corner, coordinate axis 2
- Upper right corner, coordinate axis 3 (optional)
The coordinate reference system of the values is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84) unless a different coordinate reference system is specified in the parameter
bbox-crs
. For WGS84 longitude/latitude the values are in most cases the sequence of minimum longitude, minimum latitude, maximum longitude and maximum latitude. However, in cases where the box spans the antimeridian the first value (west-most box edge) is larger than the third value (east-most box edge). If a feature has multiple spatial geometry properties, it is the decision of the server whether only a single spatial geometry property is used to determine the extent or all relevant geometries.
datetime: Either a date-time or a period string that adheres to RFC 3339. Examples:
- A date-time: "2018-02-12T23:20:50Z"
- A period: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" or "2018-02-12T00:00:00Z/P1M6DT12H31M12S"
Only features that have a temporal property that intersects the value of
datetime
are selected. If a feature has multiple temporal properties, it is the decision of the server whether only a single temporal property is used to determine the extent or all relevant temporal properties.
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"features"
],
"properties": {
"type": {
"type": "string",
"enum": [
"FeatureCollection"
]
},
"features": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"timeStamp": {
"type": "string",
"format": "dateTime"
},
"numberMatched": {
"type": "integer",
"minimum": 0
},
"numberReturned": {
"type": "integer",
"minimum": 0
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Information about the feature collection plus the first features matching the selection parameters. | AreaStatisticalUnit_4500k_EPSG_3067_2023FeatureCollectionGeoJSON |
default | Default | an error occurred | exception |
getFeature_AreaStatisticalUnit_4500k_EPSG_3067_2023
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023/items/{featureId} \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023/items/{featureId} HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023/items/{featureId}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023/items/{featureId}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023/items/{featureId}', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023/items/{featureId}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023/items/{featureId}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2023/items/{featureId}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_3067_2023/items/{featureId}
retrieve single feature from feature collection AreaStatisticalUnit_4500k_EPSG_3067_2023
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
featureId | path | string | true | Local identifier of a specific feature |
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | A feature | AreaStatisticalUnit_4500k_EPSG_3067_2023FeatureGeoJSON |
default | Default | an error occurred | exception |
getFeatures_AreaStatisticalUnit_4500k_EPSG_3067_2022
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022/items \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022/items HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022/items',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022/items',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022/items', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022/items', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022/items");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022/items", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_3067_2022/items
retrieve features of AreaStatisticalUnit_4500k_EPSG_3067_2022 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 4500k scale EPSG:3067 year 2022
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
limit | query | integer | false | The optional limit parameter limits the number of items that are presented in the response document. |
bbox | query | array[number] | false | Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers: |
datetime | query | string | false | Either a date-time or a period string that adheres to RFC 3339. Examples: |
gid | query | string | false | Filters returned features based on feature properties. |
featureType | query | string | false | Filters returned features based on feature properties. |
inspireId_localId | query | string | false | Filters returned features based on feature properties. |
inspireId_versionId | query | number | false | Filters returned features based on feature properties. |
inspireId_namespace | query | string | false | Filters returned features based on feature properties. |
beginLifespanVersion | query | date | false | Filters returned features based on feature properties. |
endLifespanVersion | query | date | false | Filters returned features based on feature properties. |
country | query | string | false | Filters returned features based on feature properties. |
geographicalName_fin | query | string | false | Filters returned features based on feature properties. |
geographicalName_swe | query | string | false | Filters returned features based on feature properties. |
geographicalName_eng | query | string | false | Filters returned features based on feature properties. |
nationalCode | query | string | false | Filters returned features based on feature properties. |
tessellation | query | string | false | Filters returned features based on feature properties. |
tessellationId | query | string | false | Filters returned features based on feature properties. |
thematicId | query | string | false | Filters returned features based on feature properties. |
referencePeriod_beginPosition | query | date | false | Filters returned features based on feature properties. |
referencePeriod_endPosition | query | date | false | Filters returned features based on feature properties. |
areaValue | query | number | false | Filters returned features based on feature properties. |
areaValue_uom | query | string | false | Filters returned features based on feature properties. |
landAreaValue | query | number | false | Filters returned features based on feature properties. |
landAreaValue_uom | query | string | false | Filters returned features based on feature properties. |
geometry_geometryDescription | query | string | false | Filters returned features based on feature properties. |
geometry_scale | query | string | false | Filters returned features based on feature properties. |
Detailed descriptions
limit: The optional limit parameter limits the number of items that are presented in the response document. Only items are counted that are on the first level of the collection in the response document. Nested objects contained within the explicitly requested items shall not be counted.
bbox: Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers:
- Lower left corner, coordinate axis 1
- Lower left corner, coordinate axis 2
- Lower left corner, coordinate axis 3 (optional)
- Upper right corner, coordinate axis 1
- Upper right corner, coordinate axis 2
- Upper right corner, coordinate axis 3 (optional)
The coordinate reference system of the values is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84) unless a different coordinate reference system is specified in the parameter
bbox-crs
. For WGS84 longitude/latitude the values are in most cases the sequence of minimum longitude, minimum latitude, maximum longitude and maximum latitude. However, in cases where the box spans the antimeridian the first value (west-most box edge) is larger than the third value (east-most box edge). If a feature has multiple spatial geometry properties, it is the decision of the server whether only a single spatial geometry property is used to determine the extent or all relevant geometries.
datetime: Either a date-time or a period string that adheres to RFC 3339. Examples:
- A date-time: "2018-02-12T23:20:50Z"
- A period: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" or "2018-02-12T00:00:00Z/P1M6DT12H31M12S"
Only features that have a temporal property that intersects the value of
datetime
are selected. If a feature has multiple temporal properties, it is the decision of the server whether only a single temporal property is used to determine the extent or all relevant temporal properties.
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"features"
],
"properties": {
"type": {
"type": "string",
"enum": [
"FeatureCollection"
]
},
"features": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"timeStamp": {
"type": "string",
"format": "dateTime"
},
"numberMatched": {
"type": "integer",
"minimum": 0
},
"numberReturned": {
"type": "integer",
"minimum": 0
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Information about the feature collection plus the first features matching the selection parameters. | AreaStatisticalUnit_4500k_EPSG_3067_2022FeatureCollectionGeoJSON |
default | Default | an error occurred | exception |
getFeature_AreaStatisticalUnit_4500k_EPSG_3067_2022
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022/items/{featureId} \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022/items/{featureId} HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022/items/{featureId}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022/items/{featureId}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022/items/{featureId}', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022/items/{featureId}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022/items/{featureId}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2022/items/{featureId}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_3067_2022/items/{featureId}
retrieve single feature from feature collection AreaStatisticalUnit_4500k_EPSG_3067_2022
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
featureId | path | string | true | Local identifier of a specific feature |
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | A feature | AreaStatisticalUnit_4500k_EPSG_3067_2022FeatureGeoJSON |
default | Default | an error occurred | exception |
getFeatures_AreaStatisticalUnit_4500k_EPSG_3067_2021
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021/items \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021/items HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021/items',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021/items',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021/items', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021/items', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021/items");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021/items", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_3067_2021/items
retrieve features of AreaStatisticalUnit_4500k_EPSG_3067_2021 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 4500k scale EPSG:3067 year 2021
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
limit | query | integer | false | The optional limit parameter limits the number of items that are presented in the response document. |
bbox | query | array[number] | false | Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers: |
datetime | query | string | false | Either a date-time or a period string that adheres to RFC 3339. Examples: |
gid | query | string | false | Filters returned features based on feature properties. |
featureType | query | string | false | Filters returned features based on feature properties. |
inspireId_localId | query | string | false | Filters returned features based on feature properties. |
inspireId_versionId | query | number | false | Filters returned features based on feature properties. |
inspireId_namespace | query | string | false | Filters returned features based on feature properties. |
beginLifespanVersion | query | date | false | Filters returned features based on feature properties. |
endLifespanVersion | query | date | false | Filters returned features based on feature properties. |
country | query | string | false | Filters returned features based on feature properties. |
geographicalName_fin | query | string | false | Filters returned features based on feature properties. |
geographicalName_swe | query | string | false | Filters returned features based on feature properties. |
geographicalName_eng | query | string | false | Filters returned features based on feature properties. |
nationalCode | query | string | false | Filters returned features based on feature properties. |
tessellation | query | string | false | Filters returned features based on feature properties. |
tessellationId | query | string | false | Filters returned features based on feature properties. |
thematicId | query | string | false | Filters returned features based on feature properties. |
referencePeriod_beginPosition | query | date | false | Filters returned features based on feature properties. |
referencePeriod_endPosition | query | date | false | Filters returned features based on feature properties. |
areaValue | query | number | false | Filters returned features based on feature properties. |
areaValue_uom | query | string | false | Filters returned features based on feature properties. |
landAreaValue | query | number | false | Filters returned features based on feature properties. |
landAreaValue_uom | query | string | false | Filters returned features based on feature properties. |
geometry_geometryDescription | query | string | false | Filters returned features based on feature properties. |
geometry_scale | query | string | false | Filters returned features based on feature properties. |
Detailed descriptions
limit: The optional limit parameter limits the number of items that are presented in the response document. Only items are counted that are on the first level of the collection in the response document. Nested objects contained within the explicitly requested items shall not be counted.
bbox: Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers:
- Lower left corner, coordinate axis 1
- Lower left corner, coordinate axis 2
- Lower left corner, coordinate axis 3 (optional)
- Upper right corner, coordinate axis 1
- Upper right corner, coordinate axis 2
- Upper right corner, coordinate axis 3 (optional)
The coordinate reference system of the values is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84) unless a different coordinate reference system is specified in the parameter
bbox-crs
. For WGS84 longitude/latitude the values are in most cases the sequence of minimum longitude, minimum latitude, maximum longitude and maximum latitude. However, in cases where the box spans the antimeridian the first value (west-most box edge) is larger than the third value (east-most box edge). If a feature has multiple spatial geometry properties, it is the decision of the server whether only a single spatial geometry property is used to determine the extent or all relevant geometries.
datetime: Either a date-time or a period string that adheres to RFC 3339. Examples:
- A date-time: "2018-02-12T23:20:50Z"
- A period: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" or "2018-02-12T00:00:00Z/P1M6DT12H31M12S"
Only features that have a temporal property that intersects the value of
datetime
are selected. If a feature has multiple temporal properties, it is the decision of the server whether only a single temporal property is used to determine the extent or all relevant temporal properties.
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"features"
],
"properties": {
"type": {
"type": "string",
"enum": [
"FeatureCollection"
]
},
"features": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"timeStamp": {
"type": "string",
"format": "dateTime"
},
"numberMatched": {
"type": "integer",
"minimum": 0
},
"numberReturned": {
"type": "integer",
"minimum": 0
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Information about the feature collection plus the first features matching the selection parameters. | AreaStatisticalUnit_4500k_EPSG_3067_2021FeatureCollectionGeoJSON |
default | Default | an error occurred | exception |
getFeature_AreaStatisticalUnit_4500k_EPSG_3067_2021
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021/items/{featureId} \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021/items/{featureId} HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021/items/{featureId}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021/items/{featureId}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021/items/{featureId}', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021/items/{featureId}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021/items/{featureId}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2021/items/{featureId}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_3067_2021/items/{featureId}
retrieve single feature from feature collection AreaStatisticalUnit_4500k_EPSG_3067_2021
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
featureId | path | string | true | Local identifier of a specific feature |
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | A feature | AreaStatisticalUnit_4500k_EPSG_3067_2021FeatureGeoJSON |
default | Default | an error occurred | exception |
getFeatures_AreaStatisticalUnit_4500k_EPSG_3067_2020
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020/items \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020/items HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020/items',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020/items',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020/items', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020/items', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020/items");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020/items", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_3067_2020/items
retrieve features of AreaStatisticalUnit_4500k_EPSG_3067_2020 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 4500k scale EPSG:3067 year 2020
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
limit | query | integer | false | The optional limit parameter limits the number of items that are presented in the response document. |
bbox | query | array[number] | false | Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers: |
datetime | query | string | false | Either a date-time or a period string that adheres to RFC 3339. Examples: |
gid | query | string | false | Filters returned features based on feature properties. |
featureType | query | string | false | Filters returned features based on feature properties. |
inspireId_localId | query | string | false | Filters returned features based on feature properties. |
inspireId_versionId | query | number | false | Filters returned features based on feature properties. |
inspireId_namespace | query | string | false | Filters returned features based on feature properties. |
beginLifespanVersion | query | date | false | Filters returned features based on feature properties. |
endLifespanVersion | query | date | false | Filters returned features based on feature properties. |
country | query | string | false | Filters returned features based on feature properties. |
geographicalName_fin | query | string | false | Filters returned features based on feature properties. |
geographicalName_swe | query | string | false | Filters returned features based on feature properties. |
geographicalName_eng | query | string | false | Filters returned features based on feature properties. |
nationalCode | query | string | false | Filters returned features based on feature properties. |
tessellation | query | string | false | Filters returned features based on feature properties. |
tessellationId | query | string | false | Filters returned features based on feature properties. |
thematicId | query | string | false | Filters returned features based on feature properties. |
referencePeriod_beginPosition | query | date | false | Filters returned features based on feature properties. |
referencePeriod_endPosition | query | date | false | Filters returned features based on feature properties. |
areaValue | query | number | false | Filters returned features based on feature properties. |
areaValue_uom | query | string | false | Filters returned features based on feature properties. |
landAreaValue | query | number | false | Filters returned features based on feature properties. |
landAreaValue_uom | query | string | false | Filters returned features based on feature properties. |
geometry_geometryDescription | query | string | false | Filters returned features based on feature properties. |
geometry_scale | query | string | false | Filters returned features based on feature properties. |
Detailed descriptions
limit: The optional limit parameter limits the number of items that are presented in the response document. Only items are counted that are on the first level of the collection in the response document. Nested objects contained within the explicitly requested items shall not be counted.
bbox: Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers:
- Lower left corner, coordinate axis 1
- Lower left corner, coordinate axis 2
- Lower left corner, coordinate axis 3 (optional)
- Upper right corner, coordinate axis 1
- Upper right corner, coordinate axis 2
- Upper right corner, coordinate axis 3 (optional)
The coordinate reference system of the values is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84) unless a different coordinate reference system is specified in the parameter
bbox-crs
. For WGS84 longitude/latitude the values are in most cases the sequence of minimum longitude, minimum latitude, maximum longitude and maximum latitude. However, in cases where the box spans the antimeridian the first value (west-most box edge) is larger than the third value (east-most box edge). If a feature has multiple spatial geometry properties, it is the decision of the server whether only a single spatial geometry property is used to determine the extent or all relevant geometries.
datetime: Either a date-time or a period string that adheres to RFC 3339. Examples:
- A date-time: "2018-02-12T23:20:50Z"
- A period: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" or "2018-02-12T00:00:00Z/P1M6DT12H31M12S"
Only features that have a temporal property that intersects the value of
datetime
are selected. If a feature has multiple temporal properties, it is the decision of the server whether only a single temporal property is used to determine the extent or all relevant temporal properties.
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"features"
],
"properties": {
"type": {
"type": "string",
"enum": [
"FeatureCollection"
]
},
"features": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"timeStamp": {
"type": "string",
"format": "dateTime"
},
"numberMatched": {
"type": "integer",
"minimum": 0
},
"numberReturned": {
"type": "integer",
"minimum": 0
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Information about the feature collection plus the first features matching the selection parameters. | AreaStatisticalUnit_4500k_EPSG_3067_2020FeatureCollectionGeoJSON |
default | Default | an error occurred | exception |
getFeature_AreaStatisticalUnit_4500k_EPSG_3067_2020
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020/items/{featureId} \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020/items/{featureId} HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020/items/{featureId}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020/items/{featureId}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020/items/{featureId}', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020/items/{featureId}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020/items/{featureId}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_3067_2020/items/{featureId}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_3067_2020/items/{featureId}
retrieve single feature from feature collection AreaStatisticalUnit_4500k_EPSG_3067_2020
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
featureId | path | string | true | Local identifier of a specific feature |
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | A feature | AreaStatisticalUnit_4500k_EPSG_3067_2020FeatureGeoJSON |
default | Default | an error occurred | exception |
getFeatures_AreaStatisticalUnit_4500k_EPSG_4326
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326/items \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326/items HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326/items',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326/items',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326/items', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326/items', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326/items");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326/items", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_4326/items
retrieve features of AreaStatisticalUnit_4500k_EPSG_4326 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 4500k scale EPSG:4326
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
limit | query | integer | false | The optional limit parameter limits the number of items that are presented in the response document. |
bbox | query | array[number] | false | Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers: |
datetime | query | string | false | Either a date-time or a period string that adheres to RFC 3339. Examples: |
gid | query | string | false | Filters returned features based on feature properties. |
featureType | query | string | false | Filters returned features based on feature properties. |
inspireId_localId | query | string | false | Filters returned features based on feature properties. |
inspireId_versionId | query | number | false | Filters returned features based on feature properties. |
inspireId_namespace | query | string | false | Filters returned features based on feature properties. |
beginLifespanVersion | query | date | false | Filters returned features based on feature properties. |
endLifespanVersion | query | date | false | Filters returned features based on feature properties. |
country | query | string | false | Filters returned features based on feature properties. |
geographicalName_fin | query | string | false | Filters returned features based on feature properties. |
geographicalName_swe | query | string | false | Filters returned features based on feature properties. |
geographicalName_eng | query | string | false | Filters returned features based on feature properties. |
nationalCode | query | string | false | Filters returned features based on feature properties. |
tessellation | query | string | false | Filters returned features based on feature properties. |
tessellationId | query | string | false | Filters returned features based on feature properties. |
thematicId | query | string | false | Filters returned features based on feature properties. |
referencePeriod_beginPosition | query | date | false | Filters returned features based on feature properties. |
referencePeriod_endPosition | query | date | false | Filters returned features based on feature properties. |
areaValue | query | number | false | Filters returned features based on feature properties. |
areaValue_uom | query | string | false | Filters returned features based on feature properties. |
landAreaValue | query | number | false | Filters returned features based on feature properties. |
landAreaValue_uom | query | string | false | Filters returned features based on feature properties. |
geometry_geometryDescription | query | string | false | Filters returned features based on feature properties. |
geometry_scale | query | string | false | Filters returned features based on feature properties. |
Detailed descriptions
limit: The optional limit parameter limits the number of items that are presented in the response document. Only items are counted that are on the first level of the collection in the response document. Nested objects contained within the explicitly requested items shall not be counted.
bbox: Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers:
- Lower left corner, coordinate axis 1
- Lower left corner, coordinate axis 2
- Lower left corner, coordinate axis 3 (optional)
- Upper right corner, coordinate axis 1
- Upper right corner, coordinate axis 2
- Upper right corner, coordinate axis 3 (optional)
The coordinate reference system of the values is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84) unless a different coordinate reference system is specified in the parameter
bbox-crs
. For WGS84 longitude/latitude the values are in most cases the sequence of minimum longitude, minimum latitude, maximum longitude and maximum latitude. However, in cases where the box spans the antimeridian the first value (west-most box edge) is larger than the third value (east-most box edge). If a feature has multiple spatial geometry properties, it is the decision of the server whether only a single spatial geometry property is used to determine the extent or all relevant geometries.
datetime: Either a date-time or a period string that adheres to RFC 3339. Examples:
- A date-time: "2018-02-12T23:20:50Z"
- A period: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" or "2018-02-12T00:00:00Z/P1M6DT12H31M12S"
Only features that have a temporal property that intersects the value of
datetime
are selected. If a feature has multiple temporal properties, it is the decision of the server whether only a single temporal property is used to determine the extent or all relevant temporal properties.
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"features"
],
"properties": {
"type": {
"type": "string",
"enum": [
"FeatureCollection"
]
},
"features": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"timeStamp": {
"type": "string",
"format": "dateTime"
},
"numberMatched": {
"type": "integer",
"minimum": 0
},
"numberReturned": {
"type": "integer",
"minimum": 0
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Information about the feature collection plus the first features matching the selection parameters. | AreaStatisticalUnit_4500k_EPSG_4326FeatureCollectionGeoJSON |
default | Default | an error occurred | exception |
getFeature_AreaStatisticalUnit_4500k_EPSG_4326
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326/items/{featureId} \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326/items/{featureId} HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326/items/{featureId}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326/items/{featureId}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326/items/{featureId}', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326/items/{featureId}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326/items/{featureId}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326/items/{featureId}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_4326/items/{featureId}
retrieve single feature from feature collection AreaStatisticalUnit_4500k_EPSG_4326
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
featureId | path | string | true | Local identifier of a specific feature |
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | A feature | AreaStatisticalUnit_4500k_EPSG_4326FeatureGeoJSON |
default | Default | an error occurred | exception |
getFeatures_AreaStatisticalUnit_4500k_EPSG_4326_2023
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023/items \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023/items HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023/items',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023/items',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023/items', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023/items', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023/items");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023/items", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_4326_2023/items
retrieve features of AreaStatisticalUnit_4500k_EPSG_4326_2023 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 4500k scale EPSG:4326 year 2023
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
limit | query | integer | false | The optional limit parameter limits the number of items that are presented in the response document. |
bbox | query | array[number] | false | Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers: |
datetime | query | string | false | Either a date-time or a period string that adheres to RFC 3339. Examples: |
gid | query | string | false | Filters returned features based on feature properties. |
featureType | query | string | false | Filters returned features based on feature properties. |
inspireId_localId | query | string | false | Filters returned features based on feature properties. |
inspireId_versionId | query | number | false | Filters returned features based on feature properties. |
inspireId_namespace | query | string | false | Filters returned features based on feature properties. |
beginLifespanVersion | query | date | false | Filters returned features based on feature properties. |
endLifespanVersion | query | date | false | Filters returned features based on feature properties. |
country | query | string | false | Filters returned features based on feature properties. |
geographicalName_fin | query | string | false | Filters returned features based on feature properties. |
geographicalName_swe | query | string | false | Filters returned features based on feature properties. |
geographicalName_eng | query | string | false | Filters returned features based on feature properties. |
nationalCode | query | string | false | Filters returned features based on feature properties. |
tessellation | query | string | false | Filters returned features based on feature properties. |
tessellationId | query | string | false | Filters returned features based on feature properties. |
thematicId | query | string | false | Filters returned features based on feature properties. |
referencePeriod_beginPosition | query | date | false | Filters returned features based on feature properties. |
referencePeriod_endPosition | query | date | false | Filters returned features based on feature properties. |
areaValue | query | number | false | Filters returned features based on feature properties. |
areaValue_uom | query | string | false | Filters returned features based on feature properties. |
landAreaValue | query | number | false | Filters returned features based on feature properties. |
landAreaValue_uom | query | string | false | Filters returned features based on feature properties. |
geometry_geometryDescription | query | string | false | Filters returned features based on feature properties. |
geometry_scale | query | string | false | Filters returned features based on feature properties. |
Detailed descriptions
limit: The optional limit parameter limits the number of items that are presented in the response document. Only items are counted that are on the first level of the collection in the response document. Nested objects contained within the explicitly requested items shall not be counted.
bbox: Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers:
- Lower left corner, coordinate axis 1
- Lower left corner, coordinate axis 2
- Lower left corner, coordinate axis 3 (optional)
- Upper right corner, coordinate axis 1
- Upper right corner, coordinate axis 2
- Upper right corner, coordinate axis 3 (optional)
The coordinate reference system of the values is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84) unless a different coordinate reference system is specified in the parameter
bbox-crs
. For WGS84 longitude/latitude the values are in most cases the sequence of minimum longitude, minimum latitude, maximum longitude and maximum latitude. However, in cases where the box spans the antimeridian the first value (west-most box edge) is larger than the third value (east-most box edge). If a feature has multiple spatial geometry properties, it is the decision of the server whether only a single spatial geometry property is used to determine the extent or all relevant geometries.
datetime: Either a date-time or a period string that adheres to RFC 3339. Examples:
- A date-time: "2018-02-12T23:20:50Z"
- A period: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" or "2018-02-12T00:00:00Z/P1M6DT12H31M12S"
Only features that have a temporal property that intersects the value of
datetime
are selected. If a feature has multiple temporal properties, it is the decision of the server whether only a single temporal property is used to determine the extent or all relevant temporal properties.
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"features"
],
"properties": {
"type": {
"type": "string",
"enum": [
"FeatureCollection"
]
},
"features": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"timeStamp": {
"type": "string",
"format": "dateTime"
},
"numberMatched": {
"type": "integer",
"minimum": 0
},
"numberReturned": {
"type": "integer",
"minimum": 0
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Information about the feature collection plus the first features matching the selection parameters. | AreaStatisticalUnit_4500k_EPSG_4326_2023FeatureCollectionGeoJSON |
default | Default | an error occurred | exception |
getFeature_AreaStatisticalUnit_4500k_EPSG_4326_2023
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023/items/{featureId} \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023/items/{featureId} HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023/items/{featureId}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023/items/{featureId}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023/items/{featureId}', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023/items/{featureId}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023/items/{featureId}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2023/items/{featureId}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_4326_2023/items/{featureId}
retrieve single feature from feature collection AreaStatisticalUnit_4500k_EPSG_4326_2023
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
featureId | path | string | true | Local identifier of a specific feature |
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | A feature | AreaStatisticalUnit_4500k_EPSG_4326_2023FeatureGeoJSON |
default | Default | an error occurred | exception |
getFeatures_AreaStatisticalUnit_4500k_EPSG_4326_2022
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022/items \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022/items HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022/items',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022/items',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022/items', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022/items', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022/items");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022/items", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_4326_2022/items
retrieve features of AreaStatisticalUnit_4500k_EPSG_4326_2022 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 4500k scale EPSG:4326 year 2022
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
limit | query | integer | false | The optional limit parameter limits the number of items that are presented in the response document. |
bbox | query | array[number] | false | Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers: |
datetime | query | string | false | Either a date-time or a period string that adheres to RFC 3339. Examples: |
gid | query | string | false | Filters returned features based on feature properties. |
featureType | query | string | false | Filters returned features based on feature properties. |
inspireId_localId | query | string | false | Filters returned features based on feature properties. |
inspireId_versionId | query | number | false | Filters returned features based on feature properties. |
inspireId_namespace | query | string | false | Filters returned features based on feature properties. |
beginLifespanVersion | query | date | false | Filters returned features based on feature properties. |
endLifespanVersion | query | date | false | Filters returned features based on feature properties. |
country | query | string | false | Filters returned features based on feature properties. |
geographicalName_fin | query | string | false | Filters returned features based on feature properties. |
geographicalName_swe | query | string | false | Filters returned features based on feature properties. |
geographicalName_eng | query | string | false | Filters returned features based on feature properties. |
nationalCode | query | string | false | Filters returned features based on feature properties. |
tessellation | query | string | false | Filters returned features based on feature properties. |
tessellationId | query | string | false | Filters returned features based on feature properties. |
thematicId | query | string | false | Filters returned features based on feature properties. |
referencePeriod_beginPosition | query | date | false | Filters returned features based on feature properties. |
referencePeriod_endPosition | query | date | false | Filters returned features based on feature properties. |
areaValue | query | number | false | Filters returned features based on feature properties. |
areaValue_uom | query | string | false | Filters returned features based on feature properties. |
landAreaValue | query | number | false | Filters returned features based on feature properties. |
landAreaValue_uom | query | string | false | Filters returned features based on feature properties. |
geometry_geometryDescription | query | string | false | Filters returned features based on feature properties. |
geometry_scale | query | string | false | Filters returned features based on feature properties. |
Detailed descriptions
limit: The optional limit parameter limits the number of items that are presented in the response document. Only items are counted that are on the first level of the collection in the response document. Nested objects contained within the explicitly requested items shall not be counted.
bbox: Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers:
- Lower left corner, coordinate axis 1
- Lower left corner, coordinate axis 2
- Lower left corner, coordinate axis 3 (optional)
- Upper right corner, coordinate axis 1
- Upper right corner, coordinate axis 2
- Upper right corner, coordinate axis 3 (optional)
The coordinate reference system of the values is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84) unless a different coordinate reference system is specified in the parameter
bbox-crs
. For WGS84 longitude/latitude the values are in most cases the sequence of minimum longitude, minimum latitude, maximum longitude and maximum latitude. However, in cases where the box spans the antimeridian the first value (west-most box edge) is larger than the third value (east-most box edge). If a feature has multiple spatial geometry properties, it is the decision of the server whether only a single spatial geometry property is used to determine the extent or all relevant geometries.
datetime: Either a date-time or a period string that adheres to RFC 3339. Examples:
- A date-time: "2018-02-12T23:20:50Z"
- A period: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" or "2018-02-12T00:00:00Z/P1M6DT12H31M12S"
Only features that have a temporal property that intersects the value of
datetime
are selected. If a feature has multiple temporal properties, it is the decision of the server whether only a single temporal property is used to determine the extent or all relevant temporal properties.
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"features"
],
"properties": {
"type": {
"type": "string",
"enum": [
"FeatureCollection"
]
},
"features": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"timeStamp": {
"type": "string",
"format": "dateTime"
},
"numberMatched": {
"type": "integer",
"minimum": 0
},
"numberReturned": {
"type": "integer",
"minimum": 0
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Information about the feature collection plus the first features matching the selection parameters. | AreaStatisticalUnit_4500k_EPSG_4326_2022FeatureCollectionGeoJSON |
default | Default | an error occurred | exception |
getFeature_AreaStatisticalUnit_4500k_EPSG_4326_2022
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022/items/{featureId} \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022/items/{featureId} HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022/items/{featureId}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022/items/{featureId}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022/items/{featureId}', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022/items/{featureId}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022/items/{featureId}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2022/items/{featureId}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_4326_2022/items/{featureId}
retrieve single feature from feature collection AreaStatisticalUnit_4500k_EPSG_4326_2022
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
featureId | path | string | true | Local identifier of a specific feature |
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | A feature | AreaStatisticalUnit_4500k_EPSG_4326_2022FeatureGeoJSON |
default | Default | an error occurred | exception |
getFeatures_AreaStatisticalUnit_4500k_EPSG_4326_2021
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021/items \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021/items HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021/items',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021/items',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021/items', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021/items', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021/items");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021/items", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_4326_2021/items
retrieve features of AreaStatisticalUnit_4500k_EPSG_4326_2021 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 4500k scale EPSG:4326 year 2021
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
limit | query | integer | false | The optional limit parameter limits the number of items that are presented in the response document. |
bbox | query | array[number] | false | Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers: |
datetime | query | string | false | Either a date-time or a period string that adheres to RFC 3339. Examples: |
gid | query | string | false | Filters returned features based on feature properties. |
featureType | query | string | false | Filters returned features based on feature properties. |
inspireId_localId | query | string | false | Filters returned features based on feature properties. |
inspireId_versionId | query | number | false | Filters returned features based on feature properties. |
inspireId_namespace | query | string | false | Filters returned features based on feature properties. |
beginLifespanVersion | query | date | false | Filters returned features based on feature properties. |
endLifespanVersion | query | date | false | Filters returned features based on feature properties. |
country | query | string | false | Filters returned features based on feature properties. |
geographicalName_fin | query | string | false | Filters returned features based on feature properties. |
geographicalName_swe | query | string | false | Filters returned features based on feature properties. |
geographicalName_eng | query | string | false | Filters returned features based on feature properties. |
nationalCode | query | string | false | Filters returned features based on feature properties. |
tessellation | query | string | false | Filters returned features based on feature properties. |
tessellationId | query | string | false | Filters returned features based on feature properties. |
thematicId | query | string | false | Filters returned features based on feature properties. |
referencePeriod_beginPosition | query | date | false | Filters returned features based on feature properties. |
referencePeriod_endPosition | query | date | false | Filters returned features based on feature properties. |
areaValue | query | number | false | Filters returned features based on feature properties. |
areaValue_uom | query | string | false | Filters returned features based on feature properties. |
landAreaValue | query | number | false | Filters returned features based on feature properties. |
landAreaValue_uom | query | string | false | Filters returned features based on feature properties. |
geometry_geometryDescription | query | string | false | Filters returned features based on feature properties. |
geometry_scale | query | string | false | Filters returned features based on feature properties. |
Detailed descriptions
limit: The optional limit parameter limits the number of items that are presented in the response document. Only items are counted that are on the first level of the collection in the response document. Nested objects contained within the explicitly requested items shall not be counted.
bbox: Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers:
- Lower left corner, coordinate axis 1
- Lower left corner, coordinate axis 2
- Lower left corner, coordinate axis 3 (optional)
- Upper right corner, coordinate axis 1
- Upper right corner, coordinate axis 2
- Upper right corner, coordinate axis 3 (optional)
The coordinate reference system of the values is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84) unless a different coordinate reference system is specified in the parameter
bbox-crs
. For WGS84 longitude/latitude the values are in most cases the sequence of minimum longitude, minimum latitude, maximum longitude and maximum latitude. However, in cases where the box spans the antimeridian the first value (west-most box edge) is larger than the third value (east-most box edge). If a feature has multiple spatial geometry properties, it is the decision of the server whether only a single spatial geometry property is used to determine the extent or all relevant geometries.
datetime: Either a date-time or a period string that adheres to RFC 3339. Examples:
- A date-time: "2018-02-12T23:20:50Z"
- A period: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" or "2018-02-12T00:00:00Z/P1M6DT12H31M12S"
Only features that have a temporal property that intersects the value of
datetime
are selected. If a feature has multiple temporal properties, it is the decision of the server whether only a single temporal property is used to determine the extent or all relevant temporal properties.
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"features"
],
"properties": {
"type": {
"type": "string",
"enum": [
"FeatureCollection"
]
},
"features": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"timeStamp": {
"type": "string",
"format": "dateTime"
},
"numberMatched": {
"type": "integer",
"minimum": 0
},
"numberReturned": {
"type": "integer",
"minimum": 0
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Information about the feature collection plus the first features matching the selection parameters. | AreaStatisticalUnit_4500k_EPSG_4326_2021FeatureCollectionGeoJSON |
default | Default | an error occurred | exception |
getFeature_AreaStatisticalUnit_4500k_EPSG_4326_2021
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021/items/{featureId} \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021/items/{featureId} HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021/items/{featureId}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021/items/{featureId}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021/items/{featureId}', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021/items/{featureId}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021/items/{featureId}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2021/items/{featureId}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_4326_2021/items/{featureId}
retrieve single feature from feature collection AreaStatisticalUnit_4500k_EPSG_4326_2021
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
featureId | path | string | true | Local identifier of a specific feature |
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | A feature | AreaStatisticalUnit_4500k_EPSG_4326_2021FeatureGeoJSON |
default | Default | an error occurred | exception |
getFeatures_AreaStatisticalUnit_4500k_EPSG_4326_2020
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020/items \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020/items HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020/items',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020/items',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020/items', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020/items', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020/items");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020/items", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_4326_2020/items
retrieve features of AreaStatisticalUnit_4500k_EPSG_4326_2020 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 4500k scale EPSG:4326 year 2020
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
limit | query | integer | false | The optional limit parameter limits the number of items that are presented in the response document. |
bbox | query | array[number] | false | Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers: |
datetime | query | string | false | Either a date-time or a period string that adheres to RFC 3339. Examples: |
gid | query | string | false | Filters returned features based on feature properties. |
featureType | query | string | false | Filters returned features based on feature properties. |
inspireId_localId | query | string | false | Filters returned features based on feature properties. |
inspireId_versionId | query | number | false | Filters returned features based on feature properties. |
inspireId_namespace | query | string | false | Filters returned features based on feature properties. |
beginLifespanVersion | query | date | false | Filters returned features based on feature properties. |
endLifespanVersion | query | date | false | Filters returned features based on feature properties. |
country | query | string | false | Filters returned features based on feature properties. |
geographicalName_fin | query | string | false | Filters returned features based on feature properties. |
geographicalName_swe | query | string | false | Filters returned features based on feature properties. |
geographicalName_eng | query | string | false | Filters returned features based on feature properties. |
nationalCode | query | string | false | Filters returned features based on feature properties. |
tessellation | query | string | false | Filters returned features based on feature properties. |
tessellationId | query | string | false | Filters returned features based on feature properties. |
thematicId | query | string | false | Filters returned features based on feature properties. |
referencePeriod_beginPosition | query | date | false | Filters returned features based on feature properties. |
referencePeriod_endPosition | query | date | false | Filters returned features based on feature properties. |
areaValue | query | number | false | Filters returned features based on feature properties. |
areaValue_uom | query | string | false | Filters returned features based on feature properties. |
landAreaValue | query | number | false | Filters returned features based on feature properties. |
landAreaValue_uom | query | string | false | Filters returned features based on feature properties. |
geometry_geometryDescription | query | string | false | Filters returned features based on feature properties. |
geometry_scale | query | string | false | Filters returned features based on feature properties. |
Detailed descriptions
limit: The optional limit parameter limits the number of items that are presented in the response document. Only items are counted that are on the first level of the collection in the response document. Nested objects contained within the explicitly requested items shall not be counted.
bbox: Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers:
- Lower left corner, coordinate axis 1
- Lower left corner, coordinate axis 2
- Lower left corner, coordinate axis 3 (optional)
- Upper right corner, coordinate axis 1
- Upper right corner, coordinate axis 2
- Upper right corner, coordinate axis 3 (optional)
The coordinate reference system of the values is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84) unless a different coordinate reference system is specified in the parameter
bbox-crs
. For WGS84 longitude/latitude the values are in most cases the sequence of minimum longitude, minimum latitude, maximum longitude and maximum latitude. However, in cases where the box spans the antimeridian the first value (west-most box edge) is larger than the third value (east-most box edge). If a feature has multiple spatial geometry properties, it is the decision of the server whether only a single spatial geometry property is used to determine the extent or all relevant geometries.
datetime: Either a date-time or a period string that adheres to RFC 3339. Examples:
- A date-time: "2018-02-12T23:20:50Z"
- A period: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" or "2018-02-12T00:00:00Z/P1M6DT12H31M12S"
Only features that have a temporal property that intersects the value of
datetime
are selected. If a feature has multiple temporal properties, it is the decision of the server whether only a single temporal property is used to determine the extent or all relevant temporal properties.
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"features"
],
"properties": {
"type": {
"type": "string",
"enum": [
"FeatureCollection"
]
},
"features": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"timeStamp": {
"type": "string",
"format": "dateTime"
},
"numberMatched": {
"type": "integer",
"minimum": 0
},
"numberReturned": {
"type": "integer",
"minimum": 0
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Information about the feature collection plus the first features matching the selection parameters. | AreaStatisticalUnit_4500k_EPSG_4326_2020FeatureCollectionGeoJSON |
default | Default | an error occurred | exception |
getFeature_AreaStatisticalUnit_4500k_EPSG_4326_2020
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020/items/{featureId} \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020/items/{featureId} HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020/items/{featureId}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020/items/{featureId}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020/items/{featureId}', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020/items/{featureId}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020/items/{featureId}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_4500k_EPSG_4326_2020/items/{featureId}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_4500k_EPSG_4326_2020/items/{featureId}
retrieve single feature from feature collection AreaStatisticalUnit_4500k_EPSG_4326_2020
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
featureId | path | string | true | Local identifier of a specific feature |
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | A feature | AreaStatisticalUnit_4500k_EPSG_4326_2020FeatureGeoJSON |
default | Default | an error occurred | exception |
getFeatures_AreaStatisticalUnit_1000k_EPSG_3067
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067/items \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067/items HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067/items',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067/items',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067/items', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067/items', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067/items");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067/items", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_1000k_EPSG_3067/items
retrieve features of AreaStatisticalUnit_1000k_EPSG_3067 feature collection
INSPIRE SU AreaStatisticalUnit in Finland in 1000k scale EPSG:3067
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
limit | query | integer | false | The optional limit parameter limits the number of items that are presented in the response document. |
bbox | query | array[number] | false | Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers: |
datetime | query | string | false | Either a date-time or a period string that adheres to RFC 3339. Examples: |
gid | query | string | false | Filters returned features based on feature properties. |
featureType | query | string | false | Filters returned features based on feature properties. |
inspireId_localId | query | string | false | Filters returned features based on feature properties. |
inspireId_versionId | query | number | false | Filters returned features based on feature properties. |
inspireId_namespace | query | string | false | Filters returned features based on feature properties. |
beginLifespanVersion | query | date | false | Filters returned features based on feature properties. |
endLifespanVersion | query | date | false | Filters returned features based on feature properties. |
country | query | string | false | Filters returned features based on feature properties. |
geographicalName_fin | query | string | false | Filters returned features based on feature properties. |
geographicalName_swe | query | string | false | Filters returned features based on feature properties. |
geographicalName_eng | query | string | false | Filters returned features based on feature properties. |
nationalCode | query | string | false | Filters returned features based on feature properties. |
tessellation | query | string | false | Filters returned features based on feature properties. |
tessellationId | query | string | false | Filters returned features based on feature properties. |
thematicId | query | string | false | Filters returned features based on feature properties. |
referencePeriod_beginPosition | query | date | false | Filters returned features based on feature properties. |
referencePeriod_endPosition | query | date | false | Filters returned features based on feature properties. |
areaValue | query | number | false | Filters returned features based on feature properties. |
areaValue_uom | query | string | false | Filters returned features based on feature properties. |
landAreaValue | query | number | false | Filters returned features based on feature properties. |
landAreaValue_uom | query | string | false | Filters returned features based on feature properties. |
geometry_geometryDescription | query | string | false | Filters returned features based on feature properties. |
geometry_scale | query | string | false | Filters returned features based on feature properties. |
Detailed descriptions
limit: The optional limit parameter limits the number of items that are presented in the response document. Only items are counted that are on the first level of the collection in the response document. Nested objects contained within the explicitly requested items shall not be counted.
bbox: Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four numbers:
- Lower left corner, coordinate axis 1
- Lower left corner, coordinate axis 2
- Lower left corner, coordinate axis 3 (optional)
- Upper right corner, coordinate axis 1
- Upper right corner, coordinate axis 2
- Upper right corner, coordinate axis 3 (optional)
The coordinate reference system of the values is WGS84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84) unless a different coordinate reference system is specified in the parameter
bbox-crs
. For WGS84 longitude/latitude the values are in most cases the sequence of minimum longitude, minimum latitude, maximum longitude and maximum latitude. However, in cases where the box spans the antimeridian the first value (west-most box edge) is larger than the third value (east-most box edge). If a feature has multiple spatial geometry properties, it is the decision of the server whether only a single spatial geometry property is used to determine the extent or all relevant geometries.
datetime: Either a date-time or a period string that adheres to RFC 3339. Examples:
- A date-time: "2018-02-12T23:20:50Z"
- A period: "2018-02-12T00:00:00Z/2018-03-18T12:31:12Z" or "2018-02-12T00:00:00Z/P1M6DT12H31M12S"
Only features that have a temporal property that intersects the value of
datetime
are selected. If a feature has multiple temporal properties, it is the decision of the server whether only a single temporal property is used to determine the extent or all relevant temporal properties.
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"features"
],
"properties": {
"type": {
"type": "string",
"enum": [
"FeatureCollection"
]
},
"features": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
},
"links": {
"type": "array",
"items": {
"type": "object",
"required": [
"href"
],
"properties": {
"href": {
"type": "string"
},
"rel": {
"type": "string",
"example": "prev"
},
"type": {
"type": "string",
"example": "application/geo+json"
},
"hreflang": {
"type": "string",
"example": "en"
}
}
}
},
"timeStamp": {
"type": "string",
"format": "dateTime"
},
"numberMatched": {
"type": "integer",
"minimum": 0
},
"numberReturned": {
"type": "integer",
"minimum": 0
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Information about the feature collection plus the first features matching the selection parameters. | AreaStatisticalUnit_1000k_EPSG_3067FeatureCollectionGeoJSON |
default | Default | an error occurred | exception |
getFeature_AreaStatisticalUnit_1000k_EPSG_3067
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067/items/{featureId} \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067/items/{featureId} HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067/items/{featureId}',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067/items/{featureId}',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067/items/{featureId}', headers = headers)
print(r.json())
'application/json',
);
$client = new \GuzzleHttp\Client();
// Define array of request body.
$request_body = array();
try {
$response = $client->request('GET','https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067/items/{featureId}', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (\GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
URL obj = new URL("https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067/items/{featureId}");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
System.out.println(response.toString());
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
"Accept": []string{"application/json"},
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("GET", "https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067/items/{featureId}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/AreaStatisticalUnit_1000k_EPSG_3067/items/{featureId}
retrieve single feature from feature collection AreaStatisticalUnit_1000k_EPSG_3067
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
featureId | path | string | true | Local identifier of a specific feature |
Example responses
200 Response
{
"type": "object",
"required": [
"type",
"geometry",
"properties"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
},
"properties": {
"type": "object",
"properties": {
"gid": {
"type": "string"
},
"featureType": {
"type": "string"
},
"inspireId_localId": {
"type": "string"
},
"inspireId_versionId": {
"type": "number"
},
"inspireId_namespace": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"country": {
"type": "string"
},
"geographicalName_fin": {
"type": "string"
},
"geographicalName_swe": {
"type": "string"
},
"geographicalName_eng": {
"type": "string"
},
"nationalCode": {
"type": "string"
},
"tessellation": {
"type": "string"
},
"tessellationId": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"referencePeriod_beginPosition": {
"type": "date"
},
"referencePeriod_endPosition": {
"type": "date"
},
"areaValue": {
"type": "number"
},
"areaValue_uom": {
"type": "string"
},
"landAreaValue": {
"type": "number"
},
"landAreaValue_uom": {
"type": "string"
},
"geometry_geometryDescription": {
"type": "string"
},
"geometry_scale": {
"type": "string"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | A feature | AreaStatisticalUnit_1000k_EPSG_3067FeatureGeoJSON |
default | Default | an error occurred | exception |
getFeatures_AreaStatisticalUnit_1000k_EPSG_3067_2023
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2023/items \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2023/items HTTP/1.1
Host: geo.stat.fi:443
Accept: application/json
const headers = {
'Accept':'application/json'
};
fetch('https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2023/items',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
require 'rest-client'
require 'json'
headers = {
'Accept' => 'application/json'
}
result = RestClient.get 'https://geo.stat.fi:443/inspire/ogc/api/su/collections/AreaStatisticalUnit_1000k_EPSG_3067_2023/items',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept':