Update tests

This commit is contained in:
Blottiere Paul 2019-01-24 10:08:55 +00:00
parent 7dbc96b614
commit aa55beba8e
7 changed files with 43 additions and 72 deletions

View File

@ -1,18 +1,15 @@
*****
Content-Type: application/json; charset=utf-8
{"layers":[{
"name": "fields_alias",
"type": "FeatureCollection",
{"type": "FeatureCollection",
"features":[
{
"type":"Feature",
"id":2,
"id":"fields_alias.2",
"geometry":null,
"properties":{
"alias_id":3,
"alias_name":"three",
"utf8nameè":"three èé↓"
}
}
]}]}
}]}

View File

@ -1,17 +1,14 @@
*****
Content-Type: application/json; charset=utf-8
{"layers":[{
"name": "exclude_attribute",
"type": "FeatureCollection",
{"type": "FeatureCollection",
"features":[
{
"type":"Feature",
"id":2,
"id":"exclude_attribute.2",
"geometry":null,
"properties":{
"id":3,
"utf8nameè":"three èé↓"
}
}
]}]}
}]}

View File

@ -1,19 +1,15 @@
*****
Content-Type: application/geo+json; charset=utf-8
{
"layers":[{
"name": "testlayer èé",
"type": "FeatureCollection",
{"type": "FeatureCollection",
"features":[
{
"type":"Feature",
"id":2,
"id":"testlayer èé.2",
"geometry":null,
"properties":{
"id":3,
"name":"three",
"utf8nameè":"three èé↓"
}
}
]}]}
}]}

View File

@ -1,13 +1,11 @@
*****
Content-Type: application/json; charset=utf-8
{"layers":[{
"name": "testlayer èé",
"type": "FeatureCollection",
{"type": "FeatureCollection",
"features":[
{
"type":"Feature",
"id":2,
"id":"testlayer èé.2",
"geometry":
{"type": "Point", "coordinates": [8.203459, 44.901395]},
"properties":{
@ -15,5 +13,4 @@ Content-Type: application/json; charset=utf-8
"name":"three",
"utf8nameè":"three èé↓"
}
}
]}]}
}]}

View File

@ -1,19 +1,15 @@
*****
Content-Type: application/json; charset=utf-8
{
"layers":[{
"name": "testlayer èé",
"type": "FeatureCollection",
{"type": "FeatureCollection",
"features":[
{
"type":"Feature",
"id":2,
"id":"testlayer èé.2",
"geometry":null,
"properties":{
"id":3,
"name":"three",
"utf8nameè":"three èé↓"
}
}
]}]}
}]}

View File

@ -1,74 +1,58 @@
*****
Content-Type: application/json; charset=utf-8
{"layers":[{
"name": "testlayer èé",
"type": "FeatureCollection",
{"type": "FeatureCollection",
"features":[
{
"type":"Feature",
"id":0,
"id":"testlayer èé.0",
"geometry":null,
"properties":{
"id":1,
"name":"one",
"utf8nameè":"one èé"
}
},
{
},{
"type":"Feature",
"id":1,
"id":"testlayer èé.1",
"geometry":null,
"properties":{
"id":2,
"name":"two",
"utf8nameè":"two àò"
}
}
]},{
"name": "fields_alias",
"type": "FeatureCollection",
"features":[
{
},{
"type":"Feature",
"id":0,
"id":"fields_alias.0",
"geometry":null,
"properties":{
"alias_id":1,
"alias_name":"one",
"utf8nameè":"one èé"
}
},
{
},{
"type":"Feature",
"id":1,
"id":"fields_alias.1",
"geometry":null,
"properties":{
"alias_id":2,
"alias_name":"two",
"utf8nameè":"two àò"
}
}
]},{
"name": "exclude_attribute",
"type": "FeatureCollection",
"features":[
{
},{
"type":"Feature",
"id":0,
"id":"exclude_attribute.0",
"geometry":null,
"properties":{
"id":1,
"utf8nameè":"one èé"
}
},
{
},{
"type":"Feature",
"id":1,
"id":"exclude_attribute.1",
"geometry":null,
"properties":{
"id":2,
"utf8nameè":"two àò"
}
}
]}]}
}]}

View File

@ -1,15 +1,19 @@
*****
Content-Type: application/json; charset=utf-8
{"layers":[{
"name": "landsat",
"Band 1": "125",
"Band 2": "138",
"Band 3": "112",
"Band 4": "75",
"Band 5": "90",
"Band 6": "132",
"Band 7": "165",
"Band 8": "217",
"Band 9": "175"
{"type": "FeatureCollection",
"features":[
{"type":"Feature",
"id":"landsat",
"properties":{
"Band 1": "125",
"Band 2": "138",
"Band 3": "112",
"Band 4": "75",
"Band 5": "90",
"Band 6": "132",
"Band 7": "165",
"Band 8": "217",
"Band 9": "175"
}
}]}