Skip to content

Commit

Permalink
replaces geojsons with expanded values
Browse files Browse the repository at this point in the history
  • Loading branch information
fdansv committed Feb 10, 2016
1 parent 9154c0b commit a9e3adc
Showing 1 changed file with 111 additions and 90 deletions.
201 changes: 111 additions & 90 deletions test/support/geojson_value.js
@@ -1,73 +1,94 @@
'use strict';

module.exports.singlelayer = {
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-411852.28231158, 4927604.99065116]
},
"properties": {
"updated_at": "2011-09-21 14:02:21.358706",
"created_at": "2011-09-21 14:02:21.314252",
"cartodb_id": 1,
"name": "Hawai",
"address": "Calle de Pérez Galdós 9, Madrid, Spain"
}
}, {
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-412880.540448036, 4928180.70372423]
},
"properties": {
"updated_at": "2011-09-21 14:02:21.358706",
"created_at": "2011-09-21 14:02:21.319101",
"cartodb_id": 2,
"name": "El Estocolmo",
"address": "Calle de la Palma 72, Madrid, Spain"
}
}, {
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-412947.443462004, 4927845.09853507]
},
"properties": {
"updated_at": "2011-09-21 14:02:21.358706",
"created_at": "2011-09-21 14:02:21.324",
"cartodb_id": 3,
"name": "El Rey del Tallarín",
"address": "Plaza Conde de Toreno 2, Madrid, Spain"
}
}, {
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-411867.7557208, 4926450.01033066]
},
"properties": {
"updated_at": "2011-09-21 14:02:21.358706",
"created_at": "2011-09-21 14:02:21.329509",
"cartodb_id": 4,
"name": "El Lacón",
"address": "Manuel Fernández y González 8, Madrid, Spain"
}
}, {
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-412326.392022869, 4928363.35380041]
},
"properties": {
"updated_at": "2011-09-21 14:02:21.358706",
"created_at": "2011-09-21 14:02:21.334931",
"cartodb_id": 5,
"name": "El Pico",
"address": "Calle Divino Pastor 12, Madrid, Spain"
}
}]
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-411852.28231158,
4927604.99065116
]
},
"properties": {
"updated_at": "2011-09-21T14:02:21.358706",
"created_at": "2011-09-21T14:02:21.314252",
"cartodb_id": 1,
"name": "Hawai",
"address": "Calle de Pérez Galdós 9, Madrid, Spain"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-412880.540448036,
4928180.70372423
]
},
"properties": {
"updated_at": "2011-09-21T14:02:21.358706",
"created_at": "2011-09-21T14:02:21.319101",
"cartodb_id": 2,
"name": "El Estocolmo",
"address": "Calle de la Palma 72, Madrid, Spain"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-412947.443462004,
4927845.09853507
]
},
"properties": {
"updated_at": "2011-09-21T14:02:21.358706",
"created_at": "2011-09-21T14:02:21.324",
"cartodb_id": 3,
"name": "El Rey del Tallarín",
"address": "Plaza Conde de Toreno 2, Madrid, Spain"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-411867.7557208,
4926450.01033066
]
},
"properties": {
"updated_at": "2011-09-21T14:02:21.358706",
"created_at": "2011-09-21T14:02:21.329509",
"cartodb_id": 4,
"name": "El Lacón",
"address": "Manuel Fernández y González 8, Madrid, Spain"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-412326.392022869,
4928363.35380041
]
},
"properties": {
"updated_at": "2011-09-21T14:02:21.358706",
"created_at": "2011-09-21T14:02:21.334931",
"cartodb_id": 5,
"name": "El Pico",
"address": "Calle Divino Pastor 12, Madrid, Spain"
}
}
]
};

module.exports.singlelayerPolygon = {
Expand All @@ -87,8 +108,8 @@ module.exports.singlelayerPolygon = {
]
},
"properties": {
"updated_at": "2015-11-27 15:22:56.980193",
"created_at": "2015-11-27 15:22:56.980193",
"updated_at": "2015-11-27T15:22:56.980193",
"created_at": "2015-11-27T15:22:56.980193",
"cartodb_id": 1,
"name": "west"
}
Expand All @@ -102,14 +123,14 @@ module.exports.multilayer = {
features: [{
type: "Feature",
geometry: {
type: "Point",
coordinates: [-411852.28231158,
4927604.99065116
"type":"Point",
"coordinates":[-411852.28231158,
4927604.99065116
]
},
properties: {
updated_at: "2011-09-21 14:02:21.358706",
created_at: "2011-09-21 14:02:21.314252",
updated_at: "2011-09-21T14:02:21.358706",
created_at: "2011-09-21T14:02:21.314252",
cartodb_id: 1,
name: "Hawai",
address: "Calle de P\u00e9rez Gald\u00f3s 9, Madrid, Spain"
Expand All @@ -123,8 +144,8 @@ module.exports.multilayer = {
]
},
properties: {
updated_at: "2011-09-21 14:02:21.358706",
created_at: "2011-09-21 14:02:21.319101",
updated_at: "2011-09-21T14:02:21.358706",
created_at: "2011-09-21T14:02:21.319101",
cartodb_id: 2,
name: "El Estocolmo",
address: "Calle de la Palma 72, Madrid, Spain"
Expand All @@ -141,8 +162,8 @@ module.exports.multilayer = {
]
},
properties: {
updated_at: "2011-09-21 14:02:21.358706",
created_at: "2011-09-21 14:02:21.314252",
updated_at: "2011-09-21T14:02:21.358706",
created_at: "2011-09-21T14:02:21.314252",
cartodb_id: 1,
name: "Hawai",
address: "Calle de P\u00e9rez Gald\u00f3s 9, Madrid, Spain"
Expand All @@ -156,8 +177,8 @@ module.exports.multilayer = {
]
},
properties: {
updated_at: "2011-09-21 14:02:21.358706",
created_at: "2011-09-21 14:02:21.319101",
updated_at: "2011-09-21T14:02:21.358706",
created_at: "2011-09-21T14:02:21.319101",
cartodb_id: 2,
name: "El Estocolmo",
address: "Calle de la Palma 72, Madrid, Spain"
Expand All @@ -171,8 +192,8 @@ module.exports.multilayer = {
]
},
properties: {
updated_at: "2011-09-21 14:02:21.358706",
created_at: "2011-09-21 14:02:21.324",
updated_at: "2011-09-21T14:02:21.358706",
created_at: "2011-09-21T14:02:21.324",
cartodb_id: 3,
name: "El Rey del Tallar\u00edn",
address: "Plaza Conde de Toreno 2, Madrid, Spain"
Expand All @@ -186,8 +207,8 @@ module.exports.multilayer = {
]
},
properties: {
updated_at: "2011-09-21 14:02:21.358706",
created_at: "2011-09-21 14:02:21.329509",
updated_at: "2011-09-21T14:02:21.358706",
created_at: "2011-09-21T14:02:21.329509",
cartodb_id: 4,
name: "El Lac\u00f3n",
address: "Manuel Fern\u00e1ndez y Gonz\u00e1lez 8, Madrid, Spain"
Expand All @@ -204,8 +225,8 @@ module.exports.multilayer = {
]
},
properties: {
updated_at: "2011-09-21 14:02:21.358706",
created_at: "2011-09-21 14:02:21.314252",
updated_at: "2011-09-21T14:02:21.358706",
created_at: "2011-09-21T14:02:21.314252",
cartodb_id: 1,
name: "Hawai",
address: "Calle de P\u00e9rez Gald\u00f3s 9, Madrid, Spain"
Expand All @@ -219,8 +240,8 @@ module.exports.multilayer = {
]
},
properties: {
updated_at: "2011-09-21 14:02:21.358706",
created_at: "2011-09-21 14:02:21.319101",
updated_at: "2011-09-21T14:02:21.358706",
created_at: "2011-09-21T14:02:21.319101",
cartodb_id: 2,
name: "El Estocolmo",
address: "Calle de la Palma 72, Madrid, Spain"
Expand All @@ -234,8 +255,8 @@ module.exports.multilayer = {
]
},
properties: {
updated_at: "2011-09-21 14:02:21.358706",
created_at: "2011-09-21 14:02:21.324",
updated_at: "2011-09-21T14:02:21.358706",
created_at: "2011-09-21T14:02:21.324",
cartodb_id: 3,
name: "El Rey del Tallar\u00edn",
address: "Plaza Conde de Toreno 2, Madrid, Spain"
Expand Down

0 comments on commit a9e3adc

Please sign in to comment.