# NOT RUN {
x <- '{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"marker-color": "#7e7e7e",
"marker-size": "medium",
"marker-symbol": "",
"value": 4,
"id": 4
},
"geometry": {
"type": "Point",
"coordinates": [
9.155731201171875,
45.47216977418841
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#7e7e7e",
"marker-size": "medium",
"marker-symbol": "",
"value": 99,
"id": 2
},
"geometry": {
"type": "Point",
"coordinates": [
9.195213317871094,
45.53689620055365
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#7e7e7e",
"marker-size": "medium",
"marker-symbol": "",
"value": 10,
"id": 1
},
"geometry": {
"type": "Point",
"coordinates": [
9.175300598144531,
45.49912810913339
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#7e7e7e",
"marker-size": "medium",
"marker-symbol": "",
"value": 6,
"id": 3
},
"geometry": {
"type": "Point",
"coordinates": [
9.231605529785156,
45.49190839157102
]
}
},
{
"type": "Feature",
"properties": {
"marker-color": "#7e7e7e",
"marker-size": "medium",
"marker-symbol": "",
"value": 7,
"id": 5
},
"geometry": {
"type": "Point",
"coordinates": [
9.116249084472656,
45.4391764115696
]
}
}
]
}'
lawn_idw(x, 'value', 0.5, 1)
# }
Run the code above in your browser using DataLab