compare-geojson
Version:
Compare a features new and old versions in GeoJSON
1,877 lines (1,876 loc) • 68 kB
JSON
{
"compareFunction": "name_modified",
"fixtures": [
{
"description":"Description of this fixture",
"newVersion":{
"type":"Feature",
"id":"relation!4008256!18",
"properties":{
"addr:city":"Córdoba",
"addr:country":"ES",
"addr:housenumber":"1",
"addr:postcode":"14003",
"addr:street":"Calle del Cardenal Herrero",
"amenity":"place_of_worship",
"building":"yes",
"denomination":"catholic",
"name":"Catedral de Córdoba",
"name:de":"Kathedrale von Cordoba",
"official_name":"Catedral de la Asunción de Nuestra Señora",
"religion":"christian",
"tourism":"yes",
"website":"http://www.catedraldecordoba.es/",
"wheelchair":"limited",
"wikidata":"Q5170029",
"wikipedia":"en:Cathedral of Córdoba",
"wikipedia:es":"Catedral de Córdoba",
"osm:type":"relation",
"osm:id":4008256,
"osm:version":18,
"osm:changeset":40140384,
"osm:timestamp":1466357371000,
"osm:uid":1896271,
"osm:user":"salvabarquin"
},
"geometry":{
"type":"MultiPolygon",
"coordinates":[
[
[
[
-4.7784328,
37.878653
],
[
-4.7784164,
37.8786276
],
[
-4.7784447,
37.8786154
],
[
-4.77845,
37.8786232
],
[
-4.7784927,
37.8786041
],
[
-4.7784875,
37.8785957
],
[
-4.7784912,
37.8785862
],
[
-4.7785527,
37.8785597
],
[
-4.778565,
37.8785615
],
[
-4.7785705,
37.8785692
],
[
-4.7790858,
37.878338
],
[
-4.7790898,
37.8783232
],
[
-4.7791443,
37.8782987
],
[
-4.7791595,
37.8783033
],
[
-4.7792411,
37.8782695
],
[
-4.7792458,
37.8782561
],
[
-4.7792611,
37.8782493
],
[
-4.7792585,
37.8782375
],
[
-4.7793117,
37.8782151
],
[
-4.7793179,
37.8782241
],
[
-4.7794209,
37.8781784
],
[
-4.7796826,
37.8780604
],
[
-4.779694,
37.8780769
],
[
-4.7796823,
37.878082
],
[
-4.7796969,
37.8781033
],
[
-4.77971,
37.8781223
],
[
-4.7797258,
37.8781149
],
[
-4.7797401,
37.8781358
],
[
-4.7797241,
37.8781428
],
[
-4.7797539,
37.8781843
],
[
-4.779782,
37.8782234
],
[
-4.7797978,
37.8782171
],
[
-4.7798087,
37.878233
],
[
-4.7797942,
37.8782396
],
[
-4.7798183,
37.8782729
],
[
-4.7798409,
37.8783041
],
[
-4.7798653,
37.8782938
],
[
-4.7798889,
37.8783283
],
[
-4.7798672,
37.8783381
],
[
-4.7798999,
37.8783846
],
[
-4.7799258,
37.8784213
],
[
-4.7799419,
37.8784147
],
[
-4.7799597,
37.8784405
],
[
-4.7799436,
37.8784476
],
[
-4.7799725,
37.8784885
],
[
-4.7799999,
37.8785273
],
[
-4.7800133,
37.8785219
],
[
-4.7800253,
37.878539
],
[
-4.7800118,
37.8785448
],
[
-4.7800757,
37.878637
],
[
-4.7800915,
37.8786304
],
[
-4.7801078,
37.8786541
],
[
-4.780092,
37.8786614
],
[
-4.7801506,
37.878742
],
[
-4.7801667,
37.8787348
],
[
-4.7801789,
37.8787529
],
[
-4.7801673,
37.8787581
],
[
-4.7801855,
37.8787821
],
[
-4.7801913,
37.8787797
],
[
-4.7802039,
37.8787959
],
[
-4.7802161,
37.8788119
],
[
-4.7802091,
37.8788154
],
[
-4.7802277,
37.8788397
],
[
-4.780238,
37.8788351
],
[
-4.7802487,
37.8788522
],
[
-4.7802326,
37.8788598
],
[
-4.7802909,
37.8789381
],
[
-4.7803065,
37.8789313
],
[
-4.7803244,
37.8789566
],
[
-4.7803099,
37.8789638
],
[
-4.7803674,
37.8790456
],
[
-4.7806243,
37.8794131
],
[
-4.7806414,
37.8794371
],
[
-4.7803967,
37.8795467
],
[
-4.780412,
37.8795678
],
[
-4.7803532,
37.8795944
],
[
-4.780301,
37.8796183
],
[
-4.7802972,
37.879613
],
[
-4.7802602,
37.8796297
],
[
-4.7802273,
37.879645
],
[
-4.7802143,
37.8796287
],
[
-4.7798983,
37.8797697
],
[
-4.7796569,
37.8798774
],
[
-4.7795671,
37.8799171
],
[
-4.7795278,
37.8799349
],
[
-4.7794088,
37.8799887
],
[
-4.7793929,
37.8799674
],
[
-4.7791745,
37.8796604
],
[
-4.7791543,
37.879632
],
[
-4.7791494,
37.8796251
],
[
-4.7791395,
37.8796296
],
[
-4.779122,
37.8796043
],
[
-4.7791063,
37.8795824
],
[
-4.7791152,
37.8795779
],
[
-4.7790791,
37.8795296
],
[
-4.779069,
37.8795344
],
[
-4.7790556,
37.8795161
],
[
-4.7790653,
37.8795113
],
[
-4.7790048,
37.8794305
],
[
-4.7789909,
37.8794367
],
[
-4.7789738,
37.8794146
],
[
-4.7789881,
37.8794082
],
[
-4.7789539,
37.8793625
],
[
-4.7789261,
37.8793241
],
[
-4.7789155,
37.879329
],
[
-4.7789022,
37.8793104
],
[
-4.7789129,
37.8793058
],
[
-4.7788812,
37.8792619
],
[
-4.7788509,
37.87922
],
[
-4.7788397,
37.8792244
],
[
-4.7788263,
37.8792045
],
[
-4.7788367,
37.8792003
],
[
-4.7788072,
37.8791595
],
[
-4.7787761,
37.8791154
],
[
-4.7787666,
37.8791201
],
[
-4.7787539,
37.8791025
],
[
-4.7787634,
37.8790974
],
[
-4.7787335,
37.879055
],
[
-4.7787005,
37.8790107
],
[
-4.7786916,
37.8790146
],
[
-4.7786823,
37.8790017
],
[
-4.7786908,
37.8789976
],
[
-4.7786587,
37.8789546
],
[
-4.7786248,
37.8789081
],
[
-4.7786179,
37.8789105
],
[
-4.7786088,
37.8788967
],
[
-4.7786149,
37.8788945
],
[
-4.7785813,
37.8788482
],
[
-4.7785527,
37.8788074
],
[
-4.7785453,
37.878811
],
[
-4.7785317,
37.8787925
],
[
-4.7785396,
37.8787887
],
[
-4.7785074,
37.8787426
],
[
-4.7784796,
37.8787042
],
[
-4.7784715,
37.8787072
],
[
-4.778456,
37.8786849
],
[
-4.7784647,
37.8786814
],
[
-4.7784405,
37.87865
],
[
-4.7784328,
37.878653
]
],
[
[
-4.7791558,
37.8794839
],
[
-4.7794568,
37.8798915
],
[
-4.780242,
37.8795373
],
[
-4.78023,
37.8795206
],
[
-4.7803414,
37.8794705
],
[
-4.7803532,
37.8794869
],
[
-4.7805229,
37.8794095
],
[
-4.7802264,
37.8789914
],
[
-4.7791558,
37.8794839
]
]
]
]
}
},
"oldVersion":{
"type":"Feature",
"id":"relation!4008256!17",
"properties":{
"addr:city":"Córdoba",
"addr:country":"ES",
"addr:housenumber":"1",
"addr:postcode":"14003",
"addr:street":"Calle del Cardenal Herrero",
"amenity":"place_of_worship",
"building":"yes",
"denomination":"catholic",
"name":"Mezquita-Catedral de Córdoba",
"name:de":"Moschee-Kathedrale von Cordoba",
"official_name":"Catedral de la Asunción de Nuestra Señora",
"religion":"christian",
"tourism":"yes",
"website":"http://www.catedraldecordoba.es/",
"wheelchair":"limited",
"wikipedia":"en:Mosque–Cathedral of Córdoba",
"wikipedia:es":"Mezquita-catedral de Córdoba",
"osm:type":"relation",
"osm:id":4008256,
"osm:version":17,
"osm:changeset":39134799,
"osm:timestamp":1462511681000,
"osm:uid":1306,
"osm:user":"PlaneMad"
},
"geometry":{
"type":"MultiPolygon",
"coordinates":[
[
[
[
-4.7784328,
37.878653
],
[
-4.7784164,
37.8786276
],
[
-4.7784447,
37.8786154
],
[
-4.77845,
37.8786232
],
[
-4.7784927,
37.8786041
],
[
-4.7784875,
37.8785957
],
[
-4.7784912,
37.8785862
],
[
-4.7785527,
37.8785597
],
[
-4.778565,
37.8785615
],
[
-4.7785705,
37.8785692
],
[
-4.7790858,
37.878338
],
[
-4.7790898,
37.8783232
],
[
-4.7791443,
37.8782987
],
[
-4.7791595,
37.8783033
],
[
-4.7792411,
37.8782695
],
[
-4.7792458,
37.8782561
],
[
-4.7792611,
37.8782493
],
[
-4.7792585,
37.8782375
],
[
-4.7793117,
37.8782151
],
[
-4.7793179,
37.8782241
],
[
-4.7794209,
37.8781784
],
[
-4.7796826,
37.8780604
],
[
-4.779694,
37.8780769
],
[
-4.7796823,
37.878082
],
[
-4.7796969,
37.8781033
],
[
-4.77971,
37.8781223
],
[
-4.7797258,
37.8781149
],
[
-4.7797401,
37.8781358
],
[
-4.7797241,
37.8781428
],
[
-4.7797539,
37.8781843
],
[
-4.779782,
37.8782234
],
[
-4.7797978,
37.8782171
],
[
-4.7798087,
37.878233
],
[
-4.7797942,
37.8782396
],
[
-4.7798183,
37.8782729
],
[
-4.7798409,
37.8783041
],
[
-4.7798653,
37.8782938
],
[
-4.7798889,
37.8783283
],
[
-4.7798672,
37.8783381
],
[
-4.7798999,
37.8783846
],
[
-4.7799258,
37.8784213
],
[
-4.7799419,
37.8784147
],
[
-4.7799597,
37.8784405
],
[
-4.7799436,
37.8784476
],
[
-4.7799725,
37.8784885
],
[
-4.7799999,
37.8785273
],
[
-4.7800133,
37.8785219
],
[
-4.7800253,
37.878539
],
[
-4.7800118,
37.8785448
],
[
-4.7800757,
37.878637
],
[
-4.7800915,
37.8786304
],
[
-4.7801078,
37.8786541
],
[
-4.780092,
37.8786614
],
[
-4.7801506,
37.878742
],
[
-4.7801667,
37.8787348
],
[
-4.7801789,
37.8787529
],
[
-4.7801673,
37.8787581
],
[
-4.7801855,
37.8787821
],
[
-4.7801913,
37.8787797
],
[
-4.7802039,
37.8787959
],
[
-4.7802161,
37.8788119
],
[
-4.7802091,
37.8788154
],
[
-4.7802277,
37.8788397
],
[
-4.780238,
37.8788351
],
[
-4.7802487,
37.8788522
],
[
-4.7802326,
37.8788598
],
[
-4.7802909,
37.8789381
],
[
-4.7803065,
37.8789313
],
[
-4.7803244,
37.8789566
],
[
-4.7803099,
37.8789638
],
[
-4.7803674,
37.8790456
],
[
-4.7806243,
37.8794131
],
[
-4.7806414,
37.8794371
],
[
-4.7803967,
37.8795467
],
[
-4.780412,
37.8795678
],
[
-4.7803532,
37.8795944
],
[
-4.780301,
37.8796183
],
[
-4.7802972,
37.879613
],
[
-4.7802602,
37.8796297
],
[
-4.7802273,
37.879645
],
[
-4.7802143,
37.8796287
],
[
-4.7798983,
37.8797697
],
[
-4.7796569,
37.8798774
],
[
-4.7795671,
37.8799171
],
[
-4.7795278,
37.8799349
],
[
-4.7794088,
37.8799887
],
[
-4.7793929,
37.8799674
],
[
-4.7791745,
37.8796604
],
[
-4.7791543,
37.879632
],
[
-4.7791494,
37.8796251
],
[
-4.7791395,
37.8796296
],
[
-4.779122,
37.8796043
],
[
-4.7791063,
37.8795824
],
[
-4.7791152,
37.8795779
],
[
-4.7790791,
37.8795296
],
[
-4.779069,
37.8795344
],
[
-4.7790556,
37.8795161
],
[
-4.7790653,
37.8795113
],
[
-4.7790048,
37.8794305
],
[
-4.7789909,
37.8794367
],
[
-4.7789738,
37.8794146
],
[
-4.7789881,
37.8794082
],
[
-4.7789539,
37.8793625
],
[
-4.7789261,
37.8793241
],
[
-4.7789155,
37.879329
],
[
-4.7789022,
37.8793104
],
[
-4.7789129,
37.8793058
],
[
-4.7788812,
37.8792619
],
[
-4.7788509,
37.87922
],
[
-4.7788397,
37.8792244
],
[
-4.7788263,
37.8792045
],
[
-4.7788367,
37.8792003
],
[
-4.7788072,
37.8791595
],
[
-4.7787761,
37.8791154
],
[
-4.7787666,
37.8791201
],
[
-4.7787539,
37.8791025
],
[
-4.7787634,
37.8790974
],
[
-4.7787335,
37.879055
],
[
-4.7787005,
37.8790107
],
[
-4.7786916,
37.8790146
],
[
-4.7786823,
37.8790017
],
[
-4.7786908,
37.8789976
],
[
-4.7786587,
37.8789546
],
[
-4.7786248,
37.8789081
],
[
-4.7786179,
37.8789105
],
[
-4.7786088,
37.8788967
],
[
-4.7786149,
37.8788945
],
[
-4.7785813,
37.8788482
],
[
-4.7785527,
37.8788074
],
[
-4.7785453,
37.878811
],
[
-4.7785317,
37.8787925
],
[
-4.7785396,
37.8787887
],
[
-4.7785074,
37.8787426
],
[
-4.7784796,
37.8787042
],
[
-4.7784715,
37.8787072
],
[
-4.778456,
37.8786849
],
[
-4.7784647,
37.8786814
],
[
-4.7784405,
37.87865
],
[
-4.7784328,
37.878653
]
],
[
[
-4.7791558,
37.8794839
],
[
-4.7794568,
37.8798915
],
[
-4.780242,
37.8795373
],
[
-4.78023,
37.8795206
],
[
-4.7803414,
37.8794705
],
[
-4.7803532,
37.8794869
],
[
-4.7805229,
37.8794095
],
[
-4.7802264,
37.8789914
],
[
-4.7791558,
37.8794839
]
]
]
]
}
},
"expectedResult":{
"result:name_modified": {
"name": 1,
"name:de": 1
}
}
},
{
"description":"Description of this fixture",
"newVersion":{
"type":"Feature",
"id":"relation!4008256!18",
"properties":{
"addr:city":"Córdoba",
"addr:country":"ES",
"addr:housenumber":"1",
"addr:postcode":"14003",
"addr:street":"Calle del Cardenal Herrero",
"amenity":"place_of_worship",
"building":"yes",
"denomination":"catholic",
"name":"Catedral de Córdoba",
"name:de":"Kathedrale von Cordoba",
"official_name":"Catedral de la Asunción de Nuestra Señora",
"religion":"christian",
"tourism":"yes",
"website":"http://www.catedraldecordoba.es/",
"wheelchair":"limited",
"wikidata":"Q5170029",
"wikipedia":"en:Cathedral of Córdoba",
"wikipedia:es":"Catedral de Córdoba",
"osm:type":"relation",
"osm:id":4008256,
"osm:version":18,
"osm:changeset":40140384,
"osm:timestamp":1466357371000,
"osm:uid":1896271,
"osm:user":"salvabarquin"
},
"geometry":{
"type":"MultiPolygon",
"coordinates":[
[
[
[
-4.7784328,
37.878653
],
[
-4.7784164,
37.8786276
],
[
-4.7784447,
37.8786154
],
[
-4.77845,
37.8786232
],
[
-4.7784927,
37.8786041
],
[
-4.7784875,
37.8785957
],
[
-4.7784912,
37.8785862
],
[
-4.7785527,
37.8785597
],
[
-4.778565,
37.8785615
],
[
-4.7785705,
37.8785692
],
[
-4.7790858,
37.878338
],
[
-4.7790898,
37.8783232
],
[
-4.7791443,
37.8782987
],
[
-4.7791595,
37.8783033
],
[
-4.7792411,
37.8782695
],
[
-4.7792458,
37.8782561
],
[
-4.7792611,
37.8782493
],
[
-4.7792585,
37.8782375
],
[
-4.7793117,
37.8782151
],
[
-4.7793179,
37.8782241
],
[
-4.7794209,
37.8781784
],
[
-4.7796826,
37.8780604
],
[
-4.779694,
37.8780769
],
[
-4.7796823,
37.878082
],
[
-4.7796969,
37.8781033
],
[
-4.77971,
37.8781223
],
[
-4.7797258,
37.8781149
],
[
-4.7797401,
37.8781358
],
[
-4.7797241,
37.8781428
],
[
-4.7797539,
37.8781843
],
[
-4.779782,
37.8782234
],
[
-4.7797978,
37.8782171
],
[
-4.7798087,
37.878233
],
[
-4.7797942,
37.8782396
],
[
-4.7798183,
37.8782729
],
[
-4.7798409,
37.8783041
],
[
-4.7798653,
37.8782938
],
[
-4.7798889,
37.8783283
],
[
-4.7798672,
37.8783381
],
[
-4.7798999,
37.8783846
],
[
-4.7799258,
37.8784213
],
[
-4.7799419,
37.8784147
],
[
-4.7799597,
37.8784405
],
[
-4.7799436,
37.8784476
],
[
-4.7799725,
37.8784885
],
[
-4.7799999,
37.8785273
],
[
-4.7800133,
37.8785219
],
[
-4.7800253,
37.878539
],
[
-4.7800118,
37.8785448
],
[
-4.7800757,
37.878637
],
[
-4.7800915,
37.8786304
],
[
-4.7801078,
37.8786541
],
[
-4.780092,
37.8786614
],
[
-4.7801506,
37.878742
],
[
-4.7801667,
37.8787348
],
[
-4.7801789,
37.8787529
],
[
-4.7801673,
37.8787581
],
[
-4.7801855,
37.8787821
],
[
-4.7801913,
37.8787797
],
[
-4.7802039,
37.8787959
],
[
-4.7802161,
37.8788119
],
[
-4.7802091,
37.8788154
],
[
-4.7802277,
37.8788397
],
[
-4.780238,
37.8788351
],
[
-4.7802487,
37.8788522
],
[
-4.7802326,
37.8788598
],
[
-4.7802909,
37.8789381
],
[
-4.7803065,
37.8789313
],
[
-4.7803244,
37.8789566
],
[
-4.7803099,
37.8789638
],
[
-4.7803674,
37.8790456
],
[
-4.7806243,
37.8794131
],
[
-4.7806414,
37.8794371
],
[
-4.7803967,
37.8795467
],
[
-4.780412,
37.8795678
],
[
-4.7803532,
37.8795944
],
[
-4.780301,
37.8796183
],
[
-4.7802972,
37.879613
],
[
-4.7802602,
37.8796297
],
[
-4.7802273,
37.879645
],
[
-4.7802143,
37.8796287
],
[
-4.7798983,
37.8797697
],
[
-4.7796569,
37.8798774
],
[
-4.7795671,
37.8799171
],
[
-4.7795278,
37.8799349
],
[
-4.7794088,
37.8799887
],
[
-4.7793929,
37.8799674
],
[
-4.7791745,
37.8796604
],
[
-4.7791543,
37.879632
],
[
-4.7791494,
37.8796251
],
[
-4.7791395,
37.8796296
],
[
-4.779122,
37.8796043
],
[
-4.7791063,
37.8795824
],
[
-4.7791152,
37.8795779
],
[
-4.7790791,
37.8795296
],
[
-4.779069,
37.8795344
],
[
-4.7790556,
37.8795161
],
[
-4.7790653,
37.8795113
],
[
-4.7790048,
37.8794305
],
[
-4.7789909,
37.8794367
],
[
-4.7789738,
37.8794146
],
[
-4.7789881,
37.8794082
],
[
-4.7789539,
37.8793625
],
[
-4.7789261,
37.8793241
],
[
-4.7789155,
37.879329
],
[
-4.7789022,
37.8793104
],
[
-4.7789129,
37.8793058
],
[
-4.7788812,
37.8792619
],
[
-4.7788509,
37.87922
],
[
-4.7788397,
37.8792244
],
[
-4.7788263,
37.8792045
],
[
-4.7788367,
37.8792003
],
[
-4.7788072,
37.8791595
],
[
-4.7787761,
37.8791154
],
[
-4.7787666,
37.8791201
],
[
-4.7787539,
37.8791025
],
[
-4.7787634,
37.8790974
],
[
-4.7787335,
37.879055
],
[
-4.7787005,
37.8790107
],
[
-4.7786916,
37.8790146
],
[
-4.7786823,
37.8790017
],
[
-4.7786908,
37.8789976
],
[
-4.7786587,
37.8789546
],
[
-4.7786248,
37.8789081
],
[
-4.7786179,
37.8789105
],
[
-4.7786088,
37.8788967
],
[
-4.7786149,
37.8788945
],
[
-4.7785813,
37.8788482
],
[
-4.7785527,
37.8788074
],
[
-4.7785453,
37.878811
],
[
-4.7785317,
37.8787925
],
[
-4.7785396,
37.8787887
],
[
-4.7785074,
37.8787426
],
[
-4.7784796,
37.8787042
],
[
-4.7784715,
37.8787072
],
[
-4.778456,
37.8786849
],
[
-4.7784647,
37.8786814
],
[
-4.7784405,
37.87865
],
[
-4.7784328,
37.878653
]
],
[
[
-4.7791558,