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/us/ \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/us/ 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/us/',
{
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/us/',
params: {
}, headers: headers
p JSON.parse(result)
import requests
headers = {
'Accept': 'application/json'
}
r = requests.get('https://geo.stat.fi:443/inspire/ogc/api/us/', 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/us/', 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/us/");
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/us/", 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/us/conformance \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/us/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/us/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/us/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/us/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/us/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/us/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/us/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/us/collections \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/us/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/us/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/us/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/us/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/us/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/us/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/us/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_GovernmentalService_Education_EPSG_3067
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/us/collections/GovernmentalService_Education_EPSG_3067 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_EPSG_3067", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/GovernmentalService_Education_EPSG_3067
describe the INSPIRE US GovernmentalService Education EPSG:3067 feature collection
INSPIRE US GovernmentalService Education 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 GovernmentalService_Education_EPSG_3067 collection | collectionInfo |
| default | Default | an error occurred | exception |
describeCollection_GovernmentalService_Education_EPSG_4326
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/us/collections/GovernmentalService_Education_EPSG_4326 \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_EPSG_4326", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/GovernmentalService_Education_EPSG_4326
describe the INSPIRE US GovernmentalService Education EPSG:4326 feature collection
INSPIRE US GovernmentalService Education in Finland 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 GovernmentalService_Education_EPSG_4326 collection | collectionInfo |
| default | Default | an error occurred | exception |
Features
Access to data (features).
getFeatures_GovernmentalService_Education_EPSG_3067
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/us/collections/GovernmentalService_Education_EPSG_3067/items \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_EPSG_3067/items", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/GovernmentalService_Education_EPSG_3067/items
retrieve features of GovernmentalService_Education_EPSG_3067 feature collection
INSPIRE US GovernmentalService Education in Finland 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 | string | false | Filters returned features based on feature properties. |
| inspireId_namespace | query | string | false | Filters returned features based on feature properties. |
| thematicId | query | string | false | Filters returned features based on feature properties. |
| name_fi | query | string | false | Filters returned features based on feature properties. |
| status | query | string | false | Filters returned features based on feature properties. |
| type | query | string | false | Filters returned features based on feature properties. |
| type_label_fi | 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. |
| serviceType | query | string | false | Filters returned features based on feature properties. |
| serviceLocationByGeometry | query | geometry | 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
datetimeare 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": "string"
},
"inspireId_namespace": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"name_fi": {
"type": "string"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
},
"type_label_fi": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"serviceType": {
"type": "string"
},
"serviceLocationByGeometry": {
"type": "geometry"
}
}
},
"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. | GovernmentalService_Education_EPSG_3067FeatureCollectionGeoJSON |
| default | Default | an error occurred | exception |
getFeature_GovernmentalService_Education_EPSG_3067
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/us/collections/GovernmentalService_Education_EPSG_3067/items/{featureId} \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_EPSG_3067/items/{featureId}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/GovernmentalService_Education_EPSG_3067/items/{featureId}
retrieve single feature from feature collection GovernmentalService_Education_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": "string"
},
"inspireId_namespace": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"name_fi": {
"type": "string"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
},
"type_label_fi": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"serviceType": {
"type": "string"
},
"serviceLocationByGeometry": {
"type": "geometry"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | A feature | GovernmentalService_Education_EPSG_3067FeatureGeoJSON |
| default | Default | an error occurred | exception |
getFeatures_GovernmentalService_Education_EPSG_4326
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/us/collections/GovernmentalService_Education_EPSG_4326/items \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_EPSG_4326/items", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/GovernmentalService_Education_EPSG_4326/items
retrieve features of GovernmentalService_Education_EPSG_4326 feature collection
INSPIRE US GovernmentalService Education in Finland 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 | string | false | Filters returned features based on feature properties. |
| inspireId_namespace | query | string | false | Filters returned features based on feature properties. |
| thematicId | query | string | false | Filters returned features based on feature properties. |
| name_fi | query | string | false | Filters returned features based on feature properties. |
| status | query | string | false | Filters returned features based on feature properties. |
| type | query | string | false | Filters returned features based on feature properties. |
| type_label_fi | 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. |
| serviceType | query | string | false | Filters returned features based on feature properties. |
| serviceLocationByGeometry | query | geometry | 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
datetimeare 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": "string"
},
"inspireId_namespace": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"name_fi": {
"type": "string"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
},
"type_label_fi": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"serviceType": {
"type": "string"
},
"serviceLocationByGeometry": {
"type": "geometry"
}
}
},
"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. | GovernmentalService_Education_EPSG_4326FeatureCollectionGeoJSON |
| default | Default | an error occurred | exception |
getFeature_GovernmentalService_Education_EPSG_4326
Code samples
# You can also use wget
curl -X GET https://geo.stat.fi:443/inspire/ogc/api/us/collections/GovernmentalService_Education_EPSG_4326/items/{featureId} \
-H 'Accept: application/json'
GET https://geo.stat.fi:443/inspire/ogc/api/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_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/us/collections/GovernmentalService_Education_EPSG_4326/items/{featureId}", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
GET /collections/GovernmentalService_Education_EPSG_4326/items/{featureId}
retrieve single feature from feature collection GovernmentalService_Education_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": "string"
},
"inspireId_namespace": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"name_fi": {
"type": "string"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
},
"type_label_fi": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"serviceType": {
"type": "string"
},
"serviceLocationByGeometry": {
"type": "geometry"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | A feature | GovernmentalService_Education_EPSG_4326FeatureGeoJSON |
| default | Default | an error occurred | exception |
Schemas
exception
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
Properties
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| code | string | true | none | none |
| description | string | false | none | none |
root
{
"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"
}
}
}
}
}
}
Properties
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| links | [link] | true | none | none |
req-classes
{
"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"
]
}
}
}
Properties
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| conformsTo | [string] | true | none | none |
link
{
"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"
}
}
}
Properties
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| href | string | true | none | none |
| rel | string | false | none | none |
| type | string | false | none | none |
| hreflang | string | false | none | none |
content
{
"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"
]
}
}
}
}
}
}
Properties
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| links | [link] | true | none | none |
| collections | [collectionInfo] | true | none | none |
collectionInfo
{
"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"
]
}
}
}
Properties
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| id | string | true | none | identifier of the collection used, for example, in URIs |
| title | string | false | none | human readable title of the collection |
| description | string | false | none | a description of the features in the collection |
| links | [link] | true | none | none |
| extent | extent | false | none | none |
| crs | [string] | false | none | 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. |
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"
]
}
}
}
Properties
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| crs | string | false | none | 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. |
| spatial | [number] | false | none | 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. |
| trs | string | false | none | 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. |
| temporal | [string] | false | none | Begin and end times of the temporal extent. |
Enumerated Values
| Property | Value |
|---|---|
| crs | http://www.opengis.net/def/crs/OGC/1.3/CRS84 |
| trs | http://www.opengis.net/def/uom/ISO-8601/0/Gregorian |
geometryGeoJSON
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection"
]
}
}
}
Properties
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| type | string | true | none | none |
Enumerated Values
| Property | Value |
|---|---|
| type | Point |
| type | MultiPoint |
| type | LineString |
| type | MultiLineString |
| type | Polygon |
| type | MultiPolygon |
| type | GeometryCollection |
GovernmentalService_Education_EPSG_3067FeatureCollectionGeoJSON
{
"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": "string"
},
"inspireId_namespace": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"name_fi": {
"type": "string"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
},
"type_label_fi": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"serviceType": {
"type": "string"
},
"serviceLocationByGeometry": {
"type": "geometry"
}
}
},
"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
}
}
}
Properties
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| type | string | true | none | none |
| features | [GovernmentalService_Education_EPSG_3067FeatureGeoJSON] | true | none | none |
| links | [link] | false | none | none |
| timeStamp | string(dateTime) | false | none | none |
| numberMatched | integer | false | none | none |
| numberReturned | integer | false | none | none |
Enumerated Values
| Property | Value |
|---|---|
| type | FeatureCollection |
GovernmentalService_Education_EPSG_3067FeatureGeoJSON
{
"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": "string"
},
"inspireId_namespace": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"name_fi": {
"type": "string"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
},
"type_label_fi": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"serviceType": {
"type": "string"
},
"serviceLocationByGeometry": {
"type": "geometry"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
Properties
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| type | string | true | none | none |
| geometry | geometryGeoJSON | true | none | none |
| properties | object | true | none | none |
| » gid | string | false | none | none |
| » featureType | string | false | none | none |
| » inspireId_localId | string | false | none | none |
| » inspireId_versionId | string | false | none | none |
| » inspireId_namespace | string | false | none | none |
| » thematicId | string | false | none | none |
| » name_fi | string | false | none | none |
| » status | string | false | none | none |
| » type | string | false | none | none |
| » type_label_fi | string | false | none | none |
| » beginLifespanVersion | date | false | none | none |
| » endLifespanVersion | date | false | none | none |
| » serviceType | string | false | none | none |
| » serviceLocationByGeometry | geometry | false | none | none |
| id | any | false | none | none |
oneOf
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| » anonymous | string | false | none | none |
xor
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| » anonymous | integer | false | none | none |
Enumerated Values
| Property | Value |
|---|---|
| type | Feature |
GovernmentalService_Education_EPSG_4326FeatureCollectionGeoJSON
{
"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": "string"
},
"inspireId_namespace": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"name_fi": {
"type": "string"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
},
"type_label_fi": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"serviceType": {
"type": "string"
},
"serviceLocationByGeometry": {
"type": "geometry"
}
}
},
"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
}
}
}
Properties
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| type | string | true | none | none |
| features | [GovernmentalService_Education_EPSG_4326FeatureGeoJSON] | true | none | none |
| links | [link] | false | none | none |
| timeStamp | string(dateTime) | false | none | none |
| numberMatched | integer | false | none | none |
| numberReturned | integer | false | none | none |
Enumerated Values
| Property | Value |
|---|---|
| type | FeatureCollection |
GovernmentalService_Education_EPSG_4326FeatureGeoJSON
{
"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": "string"
},
"inspireId_namespace": {
"type": "string"
},
"thematicId": {
"type": "string"
},
"name_fi": {
"type": "string"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
},
"type_label_fi": {
"type": "string"
},
"beginLifespanVersion": {
"type": "date"
},
"endLifespanVersion": {
"type": "date"
},
"serviceType": {
"type": "string"
},
"serviceLocationByGeometry": {
"type": "geometry"
}
}
},
"id": {
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
}
}
Properties
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| type | string | true | none | none |
| geometry | geometryGeoJSON | true | none | none |
| properties | object | true | none | none |
| » gid | string | false | none | none |
| » featureType | string | false | none | none |
| » inspireId_localId | string | false | none | none |
| » inspireId_versionId | string | false | none | none |
| » inspireId_namespace | string | false | none | none |
| » thematicId | string | false | none | none |
| » name_fi | string | false | none | none |
| » status | string | false | none | none |
| » type | string | false | none | none |
| » type_label_fi | string | false | none | none |
| » beginLifespanVersion | date | false | none | none |
| » endLifespanVersion | date | false | none | none |
| » serviceType | string | false | none | none |
| » serviceLocationByGeometry | geometry | false | none | none |
| id | any | false | none | none |
oneOf
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| » anonymous | string | false | none | none |
xor
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| » anonymous | integer | false | none | none |
Enumerated Values
| Property | Value |
|---|---|
| type | Feature |