added analyser for pivot names in harvest file and pivot.geojson
This commit is contained in:
parent
2863c9a657
commit
77633af429
|
|
@ -4,7 +4,9 @@
|
|||
|
||||
use App\Models\Project;
|
||||
use App\Models\ProjectEmailRecipient;
|
||||
use App\PivotNameAnalyser;
|
||||
use App\Rules\HarvestFile;
|
||||
use Illuminate\Support\Facades\File;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
use Illuminate\Validation\Rule;
|
||||
|
|
@ -29,8 +31,11 @@ class Settings extends Component
|
|||
public array $spanFiles;
|
||||
public array $harvestDataFiles;
|
||||
|
||||
private $pivotNameAnalyser = false;
|
||||
|
||||
public $isDirty = false;
|
||||
|
||||
public $showFieldNameModal = false;
|
||||
|
||||
|
||||
/**
|
||||
|
|
@ -43,7 +48,7 @@ public function mount(Project $project)
|
|||
$this->formData = $project->toArray();
|
||||
$this->formData['mail_recipients'] = $project->emailRecipients->toArray() ?: [
|
||||
[
|
||||
'name' => '',
|
||||
'name' => '',
|
||||
'email' => '',
|
||||
]
|
||||
];
|
||||
|
|
@ -51,6 +56,7 @@ public function mount(Project $project)
|
|||
$this->formData['span_file'] = Storage::disk('local')->get($project->name.'/Data/span.geojson');
|
||||
$this->formData['harvest_file'] = null;
|
||||
}
|
||||
|
||||
public function saveProject()
|
||||
{
|
||||
$this->resetErrorBag();
|
||||
|
|
@ -58,7 +64,7 @@ public function saveProject()
|
|||
$this->validateForm();
|
||||
Project::saveWithFormData($this->formData);
|
||||
//dd(route('project.show',[$this->formData['name'],$this->formData['id'],'settings']));
|
||||
return redirect()->route('project.show',[$this->formData['name'],$this->formData['id'],'settings']);
|
||||
return redirect()->route('project.show', [$this->formData['name'], $this->formData['id'], 'settings']);
|
||||
//$this->dispatch('saved');
|
||||
|
||||
}
|
||||
|
|
@ -81,24 +87,30 @@ public function saveSettings()
|
|||
Project::saveWithFormData($this->formData);
|
||||
$this->shouldDownload();
|
||||
//check if the project name changed
|
||||
if($this->isDirty) redirect()->route('project.show',[$this->formData['name'],$this->formData['id'],'settings']);
|
||||
if ($this->isDirty) {
|
||||
redirect()->route('project.show', [$this->formData['name'], $this->formData['id'], 'settings']);
|
||||
}
|
||||
// $this->dispatch('download_notify',title:'Download',message:'hallo');
|
||||
$this->dispatch('saved');
|
||||
}
|
||||
|
||||
public function shouldReload()
|
||||
{
|
||||
if (Project::find($this->formData['id'])?->name == $this->formData['name']) return;
|
||||
if (Project::find($this->formData['id'])?->name == $this->formData['name']) {
|
||||
return;
|
||||
}
|
||||
$this->isDirty = true;
|
||||
}
|
||||
public function shouldDownload(){
|
||||
|
||||
public function shouldDownload()
|
||||
{
|
||||
/**
|
||||
* @var Project $project
|
||||
*/
|
||||
$project = Project::find($this->formData['id']);
|
||||
if($project->hasMissingDownloadsDateInHarvestFile()){
|
||||
if ($project->hasMissingDownloadsDateInHarvestFile()) {
|
||||
$this->dispatch('download_notify');
|
||||
session(['show-download.'.$project->id=>true]);
|
||||
session(['show-download.'.$project->id => true]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -106,7 +118,7 @@ public function addEmailRecipient()
|
|||
{
|
||||
$this->formData['mail_recipients'][] =
|
||||
[
|
||||
'name' => '',
|
||||
'name' => '',
|
||||
'email' => '',
|
||||
];
|
||||
}
|
||||
|
|
@ -125,7 +137,7 @@ public function deleteEmailRecipient($index)
|
|||
/**
|
||||
* Confirm that the given Project should be deleted.
|
||||
*
|
||||
* @param int $reportId
|
||||
* @param int $reportId
|
||||
* @return void
|
||||
*/
|
||||
public function confirmReportDeletion($reportId)
|
||||
|
|
@ -162,11 +174,11 @@ public function getProjectsProperty()
|
|||
private function resetFormData()
|
||||
{
|
||||
$this->formData = [
|
||||
'name' => '',
|
||||
'mail_subject' => '',
|
||||
'mail_template' => '',
|
||||
'mail_frequency' => '',
|
||||
'mail_day' => '',
|
||||
'name' => '',
|
||||
'mail_subject' => '',
|
||||
'mail_template' => '',
|
||||
'mail_frequency' => '',
|
||||
'mail_day' => '',
|
||||
'mail_recipients' => [],
|
||||
];
|
||||
$this->pivotFiles = [];
|
||||
|
|
@ -178,31 +190,35 @@ private function resetFormData()
|
|||
private function validateForm()
|
||||
{
|
||||
$projectIdentifier = $this->formData['id'] ?? null;
|
||||
$acceptedGeoJsonExtenstions = ['txt','json','geojson'];
|
||||
$acceptedGeoJsonExtenstions = ['txt', 'json', 'geojson'];
|
||||
|
||||
return Validator::make([
|
||||
'name' => $this->formData['name'],
|
||||
'pivot_file' => $this->formData['pivot_file'],
|
||||
'span_file' => $this->formData['span_file'],
|
||||
return Validator::make([
|
||||
'name' => $this->formData['name'],
|
||||
'pivot_file' => $this->formData['pivot_file'],
|
||||
'span_file' => $this->formData['span_file'],
|
||||
'harvest_file' => $this->formData['harvest_file'],
|
||||
], [
|
||||
'name' => [
|
||||
'name' => [
|
||||
'required',
|
||||
Rule::unique('projects')->ignore($projectIdentifier),
|
||||
'string',
|
||||
'max:255'
|
||||
],
|
||||
'pivot_file.extension' => ['sometimes', function ($attribute, $value, $fail) use ($acceptedGeoJsonExtenstions) {
|
||||
if ($value && !in_array($value, $acceptedGeoJsonExtenstions)) {
|
||||
$fail('The upload field must have one of the following extensions: json, geojson or txt.');
|
||||
'pivot_file.extension' => [
|
||||
'sometimes', function ($attribute, $value, $fail) use ($acceptedGeoJsonExtenstions) {
|
||||
if ($value && !in_array($value, $acceptedGeoJsonExtenstions)) {
|
||||
$fail('The upload field must have one of the following extensions: json, geojson or txt.');
|
||||
}
|
||||
}
|
||||
}],
|
||||
'span_file.extension' => ['sometimes', function ($attribute, $value, $fail) use ($acceptedGeoJsonExtenstions) {
|
||||
if ($value && !in_array($value, $acceptedGeoJsonExtenstions)) {
|
||||
$fail('The upload field must have one of the following extensions: json, geojson or txt.');
|
||||
],
|
||||
'span_file.extension' => [
|
||||
'sometimes', function ($attribute, $value, $fail) use ($acceptedGeoJsonExtenstions) {
|
||||
if ($value && !in_array($value, $acceptedGeoJsonExtenstions)) {
|
||||
$fail('The upload field must have one of the following extensions: json, geojson or txt.');
|
||||
}
|
||||
}
|
||||
}],
|
||||
'harvest_file' => ['sometimes', new HarvestFile],
|
||||
],
|
||||
'harvest_file' => ['sometimes', new HarvestFile],
|
||||
])->validate();
|
||||
|
||||
}
|
||||
|
|
@ -210,18 +226,18 @@ private function validateForm()
|
|||
private function validateEmailSettingsForm()
|
||||
{
|
||||
Validator::make([
|
||||
'mail_template' => $this->formData['mail_template'],
|
||||
'mail_subject' => $this->formData['mail_subject'],
|
||||
'mail_frequency' => $this->formData['mail_frequency'],
|
||||
'mail_day' => $this->formData['mail_day'],
|
||||
'mail_template' => $this->formData['mail_template'],
|
||||
'mail_subject' => $this->formData['mail_subject'],
|
||||
'mail_frequency' => $this->formData['mail_frequency'],
|
||||
'mail_day' => $this->formData['mail_day'],
|
||||
'mail_recipients' => $this->formData['mail_recipients'],
|
||||
], [
|
||||
'mail_template' => ['required', 'string',],
|
||||
'mail_subject' => ['required', 'string',],
|
||||
'mail_frequency' => ['required', 'string',],
|
||||
'mail_day' => ['required', 'string',],
|
||||
'mail_recipients' => ['required', 'array', 'min:1'],
|
||||
'mail_recipients.*.name' => ['required', 'string', 'max:255'],
|
||||
'mail_template' => ['required', 'string',],
|
||||
'mail_subject' => ['required', 'string',],
|
||||
'mail_frequency' => ['required', 'string',],
|
||||
'mail_day' => ['required', 'string',],
|
||||
'mail_recipients' => ['required', 'array', 'min:1'],
|
||||
'mail_recipients.*.name' => ['required', 'string', 'max:255'],
|
||||
'mail_recipients.*.email' => ['required', 'email'],
|
||||
])->validateWithBag('saveEmailSettingsForm');
|
||||
}
|
||||
|
|
@ -235,8 +251,17 @@ public function mergeFormData(): void
|
|||
$this->formData['span_file'] = $this->spanFiles[0] ?? null;
|
||||
$this->formData['harvest_file'] = $this->harvestDataFiles[0] ?? null;
|
||||
}
|
||||
|
||||
public function render()
|
||||
{
|
||||
$jsonFile = Storage::disk('local')->path($this->formData['name'].'/Data/pivot.geojson');
|
||||
$harvestFile = Storage::disk('local')->path($this->formData['name'].'/Data/harvest.xlsx');
|
||||
|
||||
if (File::exists($harvestFile) && File::exists($jsonFile)) {
|
||||
$this->pivotNameAnalyser = new PivotNameAnalyser(
|
||||
$jsonFile, $harvestFile
|
||||
);
|
||||
}
|
||||
return view('livewire.projects.tabs.settings');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
79
laravel_app/app/PivotNameAnalyser.php
Normal file
79
laravel_app/app/PivotNameAnalyser.php
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
<?php
|
||||
|
||||
namespace App;
|
||||
|
||||
use App\Models\Project;
|
||||
use Illuminate\Filesystem\Filesystem;
|
||||
use Illuminate\Http\File;
|
||||
use Illuminate\Support\Carbon;
|
||||
use Illuminate\Support\Collection;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use Maatwebsite\Excel\Concerns\ToCollection;
|
||||
use Maatwebsite\Excel\Facades\Excel;
|
||||
use Maatwebsite\Excel\HeadingRowImport;
|
||||
|
||||
class PivotNameAnalyser
|
||||
{
|
||||
private string $geoJsonPath;
|
||||
private string $excelPath;
|
||||
|
||||
public function __construct(string $geoJsonPath, string $excelPath)
|
||||
{
|
||||
$this->geoJsonPath = $geoJsonPath;
|
||||
$this->excelPath = $excelPath;
|
||||
}
|
||||
|
||||
public function getGeoJsonPivotNames():Collection
|
||||
{
|
||||
$geoJson = json_decode(file_get_contents($this->geoJsonPath), true);
|
||||
$pivotNames = collect([]);
|
||||
foreach ($geoJson['features'] as $feature) {
|
||||
$pivotNames->add( $feature['properties']['field']);
|
||||
}
|
||||
return $pivotNames->unique();
|
||||
}
|
||||
|
||||
public function getHarvestDataPivotNames():Collection
|
||||
{
|
||||
$excelData = Excel::toCollection(new \App\Imports\ExcelFileImport(), $this->excelPath);
|
||||
$sheetOne = $excelData->toArray()[0];
|
||||
$fieldNames = collect([]);
|
||||
foreach ($sheetOne as $rowIndex => $row) {
|
||||
if ($rowIndex === 0) {
|
||||
foreach ($row as $columnIndex => $cell) {
|
||||
if (strtolower($cell) === 'field') {
|
||||
$fieldColumnName = $columnIndex;
|
||||
}
|
||||
}
|
||||
continue;
|
||||
}
|
||||
$fieldNames->add(trim($row[$fieldColumnName]));
|
||||
}
|
||||
return $fieldNames->unique();
|
||||
}
|
||||
|
||||
public function getCommonPivotNames():Collection
|
||||
{
|
||||
return $this->getGeoJsonPivotNames()->intersect($this->getHarvestDataPivotNames());
|
||||
}
|
||||
|
||||
public function getGeoJsonPivotNamesNotInHarvest():Collection
|
||||
{
|
||||
return $this->getGeoJsonPivotNames()->diff($this->getHarvestDataPivotNames());
|
||||
}
|
||||
|
||||
public function getHarvestPivotNamesNotInGeoJson():Collection
|
||||
{
|
||||
return $this->getHarvestDataPivotNames()->diff($this->getGeoJsonPivotNames());
|
||||
}
|
||||
|
||||
public function hasErrors():bool
|
||||
{
|
||||
return $this->getGeoJsonPivotNamesNotInHarvest()->isNotEmpty() || $this->getHarvestPivotNamesNotInGeoJson()->isNotEmpty();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -44,7 +44,7 @@
|
|||
"src": "node_modules/leaflet/dist/images/marker-icon.png"
|
||||
},
|
||||
"resources/css/app.css": {
|
||||
"file": "assets/app-287c5da9.css",
|
||||
"file": "assets/app-6cc20718.css",
|
||||
"isEntry": true,
|
||||
"src": "resources/css/app.css"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -83,6 +83,72 @@
|
|||
</div>
|
||||
<div class="text-gray-500 text-md">
|
||||
{{__('Manage the general settings of this project and the reports.')}}
|
||||
@if($this->pivotNameAnalyser)
|
||||
@if($this->pivotNameAnalyser->hasErrors())
|
||||
{{__('The name analyser has errors. Please check the harvest file and pivot geojson.')}}
|
||||
|
||||
<div class="text-red-500 text-sm pt-10">
|
||||
<p class="pb-5">{{__('The project has errors. Please check the harvest file and pivot geojson.')}}
|
||||
</p>
|
||||
<x-danger-button wire:click="$set('showFieldNameModal', true)">Show Errors</x-danger-button>
|
||||
<x-confirmation-modal wire:model.live="showFieldNameModal" wire:loading.class="opacity-50">
|
||||
<x-slot name="title">
|
||||
<h2 class="text-xl font-medium text-gray-900"> {{ __('Problem(s) in pivot.json and or harvest files') }}</h2>
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="content">
|
||||
<div class="text-gray-900 text-sm">
|
||||
{{__('Note: The report will run but not all historical production graphs will be shown correctly.')}}
|
||||
</div>
|
||||
|
||||
|
||||
<div class="">
|
||||
@foreach($this->pivotNameAnalyser->getGeoJsonPivotNamesNotInHarvest() as $name)
|
||||
@if($loop->first)
|
||||
<div class="text-gray-900 text-sm">
|
||||
{{__('The following names are in the pivot geojson but not in the harvest data.')}}
|
||||
</div>
|
||||
@endif
|
||||
<div class="text-red-500 text-sm">
|
||||
{{ $name }}
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
@foreach($this->pivotNameAnalyser->getHarvestPivotNamesNotInGeoJson() as $name)
|
||||
@if($loop->first)
|
||||
<div class="text-gray-900 text-sm">
|
||||
{{__('The following names are in the harvest data but not in the pivot geojson.')}}
|
||||
</div>
|
||||
@endif
|
||||
<div class="text-red-500 text-sm">
|
||||
{{ $name }}
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="footer">
|
||||
<x-secondary-button class="mr-3"
|
||||
type="button"
|
||||
x-on:click="$wire.showFieldNameModal = false"
|
||||
>
|
||||
{{ __('Cancel') }}
|
||||
</x-secondary-button>
|
||||
</x-slot>
|
||||
|
||||
</x-confirmation-modal>
|
||||
</div>
|
||||
@else
|
||||
<div class="text-green-500">
|
||||
{{__('The harvest data and pivot json are insync.')}}
|
||||
</div>
|
||||
@endif
|
||||
@else
|
||||
<div class="text-red-500">
|
||||
{{__('Please upload the harvest file and pivot geojson to enable the name analyser.')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="md:w-2/3">
|
||||
|
|
@ -120,8 +186,11 @@
|
|||
@error('pivot_file.extension')
|
||||
<div class="bg-red-50 p-4 w-full mb-4 rounded dark:bg-red-600">
|
||||
<div class="flex gap-3 items-start">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-5 h-5 text-red-400 dark:text-red-200">
|
||||
<path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.28 7.22a.75.75 0 00-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 101.06 1.06L10 11.06l1.72 1.72a.75.75 0 101.06-1.06L11.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L10 8.94 8.28 7.22z" clip-rule="evenodd"></path>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"
|
||||
class="w-5 h-5 text-red-400 dark:text-red-200">
|
||||
<path fill-rule="evenodd"
|
||||
d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.28 7.22a.75.75 0 00-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 101.06 1.06L10 11.06l1.72 1.72a.75.75 0 101.06-1.06L11.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L10 8.94 8.28 7.22z"
|
||||
clip-rule="evenodd"></path>
|
||||
</svg>
|
||||
<h3 class="text-sm text-red-800 font-medium dark:text-red-100">{{ $message }}</h3>
|
||||
</div>
|
||||
|
|
@ -141,14 +210,17 @@
|
|||
<span class="bg-red-200 text-red-500 p-0.5 mt-1 rounded">{{ $message }}</span>
|
||||
@enderror
|
||||
@error('span_file.extension')
|
||||
<div class="bg-red-50 p-4 w-full mb-4 rounded dark:bg-red-600">
|
||||
<div class="flex gap-3 items-start">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-5 h-5 text-red-400 dark:text-red-200">
|
||||
<path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.28 7.22a.75.75 0 00-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 101.06 1.06L10 11.06l1.72 1.72a.75.75 0 101.06-1.06L11.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L10 8.94 8.28 7.22z" clip-rule="evenodd"></path>
|
||||
</svg>
|
||||
<h3 class="text-sm text-red-800 font-medium dark:text-red-100">{{ $message }}</h3>
|
||||
</div>
|
||||
<div class="bg-red-50 p-4 w-full mb-4 rounded dark:bg-red-600">
|
||||
<div class="flex gap-3 items-start">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"
|
||||
class="w-5 h-5 text-red-400 dark:text-red-200">
|
||||
<path fill-rule="evenodd"
|
||||
d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.28 7.22a.75.75 0 00-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 101.06 1.06L10 11.06l1.72 1.72a.75.75 0 101.06-1.06L11.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L10 8.94 8.28 7.22z"
|
||||
clip-rule="evenodd"></path>
|
||||
</svg>
|
||||
<h3 class="text-sm text-red-800 font-medium dark:text-red-100">{{ $message }}</h3>
|
||||
</div>
|
||||
</div>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="flex flex-col mb-2 gap-2">
|
||||
|
|
@ -171,7 +243,8 @@
|
|||
{{ __('Show borders in report') }}
|
||||
</div>
|
||||
</div>
|
||||
<label class="inline-flex items-center cursor-pointer gap-4" x-data="{showBorders: $wire.entangle('formData.borders')}">
|
||||
<label class="inline-flex items-center cursor-pointer gap-4"
|
||||
x-data="{showBorders: $wire.entangle('formData.borders')}">
|
||||
<input type="checkbox" class="sr-only peer" x-init="$el.checked = @js($formData['borders'])"
|
||||
@click="showBorders = $el.checked">
|
||||
<div
|
||||
|
|
|
|||
|
|
@ -1,16 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace Tests\Unit;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class ExampleTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* A basic test example.
|
||||
*/
|
||||
public function test_that_true_is_true(): void
|
||||
{
|
||||
$this->assertTrue(true);
|
||||
}
|
||||
}
|
||||
60
laravel_app/tests/Unit/PivotNameAnalyserTest.php
Normal file
60
laravel_app/tests/Unit/PivotNameAnalyserTest.php
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
<?php
|
||||
|
||||
namespace Tests\Unit;
|
||||
|
||||
use App\PivotNameAnalyser;
|
||||
use Tests\TestCase;
|
||||
|
||||
class PivotNameAnalyserTest extends TestCase
|
||||
{
|
||||
private PivotNameAnalyser $pivotNameAnalyser;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp(); // TODO: Change the autogenerated stub
|
||||
|
||||
$this->pivotNameAnalyser = new PivotNameAnalyser(
|
||||
(app_path('../tests/__fixtures__/Muhoroni/pivot.geojson')),
|
||||
(app_path('../tests/__fixtures__/Muhoroni/harvest.xlsx'))
|
||||
);
|
||||
}
|
||||
|
||||
/** @test */
|
||||
public function it_can_get_pivot_names_from_harvest_data()
|
||||
{
|
||||
$this->assertCount(49, $this->pivotNameAnalyser->getHarvestDataPivotNames());
|
||||
$this->assertContains('Nyando A2a', $this->pivotNameAnalyser->getHarvestDataPivotNames());
|
||||
}
|
||||
|
||||
/** @test */
|
||||
public function it_can_get_pivot_names_from_pivot_geojson()
|
||||
{
|
||||
$this->assertCount(48, $this->pivotNameAnalyser->getGeoJsonPivotNames());
|
||||
$this->assertContains('Nyando A2a', $this->pivotNameAnalyser->getGeoJsonPivotNames());
|
||||
}
|
||||
|
||||
/** @test */
|
||||
public function it_can_the_pivot_names_that_are_in_both_files()
|
||||
{
|
||||
$this->assertCount(40, $this->pivotNameAnalyser->getCommonPivotNames());
|
||||
$this->assertContains('Nyando A2a', $this->pivotNameAnalyser->getCommonPivotNames());
|
||||
$this->assertNotContains('N.c4', $this->pivotNameAnalyser->getCommonPivotNames());
|
||||
$this->assertNotContains('Nandi C4b', $this->pivotNameAnalyser->getCommonPivotNames());
|
||||
}
|
||||
|
||||
/** @test */
|
||||
public function it_can_get_the_pivot_names_that_are_geo_json_file_but_not_in_harvest_file()
|
||||
{
|
||||
$this->assertCount(8, $this->pivotNameAnalyser->getGeoJsonPivotNamesNotInHarvest());
|
||||
$this->assertNotContains('Nandi A1a', $this->pivotNameAnalyser->getGeoJsonPivotNamesNotInHarvest());
|
||||
$this->assertContains('N.c4', $this->pivotNameAnalyser->getGeoJsonPivotNamesNotInHarvest());
|
||||
}
|
||||
|
||||
/** @test */
|
||||
public function it_can_get_the_pivot_names_that_are_harvest_file_but_not_in_geo_json_file()
|
||||
{
|
||||
$this->assertCount(9, $this->pivotNameAnalyser->getHarvestPivotNamesNotInGeoJson());
|
||||
$this->assertNotContains('Nandi A1a', $this->pivotNameAnalyser->getHarvestPivotNamesNotInGeoJson());
|
||||
$this->assertContains('Nandi C4b', $this->pivotNameAnalyser->getHarvestPivotNamesNotInGeoJson());
|
||||
}
|
||||
}
|
||||
BIN
laravel_app/tests/__fixtures__/Muhoroni/harvest.xlsx
Normal file
BIN
laravel_app/tests/__fixtures__/Muhoroni/harvest.xlsx
Normal file
Binary file not shown.
55
laravel_app/tests/__fixtures__/Muhoroni/pivot.geojson
Normal file
55
laravel_app/tests/__fixtures__/Muhoroni/pivot.geojson
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{
|
||||
"type": "FeatureCollection",
|
||||
"name": "Muhoroni_trial",
|
||||
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
||||
"features": [
|
||||
{ "type": "Feature", "properties": { "field": "Nandi A1a", "sub_field": "Nandi A1a" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.177708169089627, -0.205441525959564 ], [ 35.178235089639458, -0.205089144855029 ], [ 35.178697252722003, -0.204786904425627 ], [ 35.178858093489893, -0.204643911702159 ], [ 35.178642286461461, -0.204292085811502 ], [ 35.178359260218137, -0.203875293483803 ], [ 35.178082406984963, -0.203477926546508 ], [ 35.177882127546027, -0.203182249768845 ], [ 35.177674190350423, -0.203382652413602 ], [ 35.177405072417507, -0.203659066435311 ], [ 35.177166029791969, -0.203906875716915 ], [ 35.176973287624897, -0.204113273693638 ], [ 35.176916328717503, -0.20420849667679 ], [ 35.176962196186643, -0.204321349485137 ], [ 35.177108384830213, -0.204534783434717 ], [ 35.177331518470169, -0.204906047053955 ], [ 35.177491528879791, -0.205173314353958 ], [ 35.177658455908471, -0.205423050113189 ], [ 35.177708169089627, -0.205441525959564 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Nandi A1b", "sub_field": "Nandi A1b" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.181027905948987, -0.20680079237008 ], [ 35.180093118738817, -0.206389615877943 ], [ 35.178995535013193, -0.204783112206366 ], [ 35.17890213536603, -0.204661404887639 ], [ 35.178684195550559, -0.204822860009985 ], [ 35.178151155374422, -0.20518662651605 ], [ 35.177823615946259, -0.205395326800583 ], [ 35.177733873230359, -0.20546695783172 ], [ 35.177738405683911, -0.205567354800001 ], [ 35.178197922267778, -0.206082482262315 ], [ 35.178513793620191, -0.20640121782981 ], [ 35.178704379311917, -0.206540415380406 ], [ 35.178813199105839, -0.206777237553714 ], [ 35.17993558093923, -0.20678672988201 ], [ 35.180652512622189, -0.206780137624791 ], [ 35.180886774427726, -0.206862569535361 ], [ 35.181027905948987, -0.20680079237008 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Nandi A3b", "sub_field": "Nandi A3b" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.175062694968823, -0.20367355483155 ], [ 35.174706508216637, -0.202966709479448 ], [ 35.173957731525043, -0.201603225767008 ], [ 35.17373096949386, -0.201184063223075 ], [ 35.173611351725533, -0.20097757282965 ], [ 35.17350237742761, -0.200848918891804 ], [ 35.173309827158583, -0.201105757980528 ], [ 35.173147592186297, -0.201399888938773 ], [ 35.172786125073117, -0.202079512531562 ], [ 35.172779528527549, -0.202346931405999 ], [ 35.172824074863748, -0.202590810516053 ], [ 35.173072387194829, -0.203075592664761 ], [ 35.173222206296927, -0.203393617676359 ], [ 35.173306485112057, -0.203519033775528 ], [ 35.173392931314403, -0.203591478410923 ], [ 35.1734827345554, -0.203818989320525 ], [ 35.173590796821067, -0.204011433750748 ], [ 35.173839217003938, -0.204315934720372 ], [ 35.174073054686978, -0.204532750429437 ], [ 35.175062694968823, -0.20367355483155 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Nandi A4b", "sub_field": "Nandi A4b" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.17599978174875, -0.204996338756517 ], [ 35.176484271256783, -0.204562756214198 ], [ 35.176890396841998, -0.204142894051318 ], [ 35.17773935652388, -0.203273624648133 ], [ 35.177816277005768, -0.203220240819521 ], [ 35.177838290652431, -0.203146953464451 ], [ 35.177221470924692, -0.20227060225556 ], [ 35.175138611874701, -0.203705184444063 ], [ 35.175538986933049, -0.204367591908412 ], [ 35.17599978174875, -0.204996338756517 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Nandi A4a", "sub_field": "Nandi A4a" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.177217848868061, -0.202234322626506 ], [ 35.176293296114878, -0.200870787878319 ], [ 35.174408034909817, -0.202316853243066 ], [ 35.174408147873827, -0.202383970727901 ], [ 35.174539329869738, -0.202612135397004 ], [ 35.174749770536572, -0.202992825439972 ], [ 35.175121074682941, -0.203660808872205 ], [ 35.176223229395099, -0.202915846473043 ], [ 35.177217848868061, -0.202234322626506 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Nandi C1a", "sub_field": "Nandi C1a" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.16575953075273, -0.21257126414204 ], [ 35.165357737451743, -0.211976774809725 ], [ 35.165340417588027, -0.211816966462495 ], [ 35.165601645066502, -0.210398676274475 ], [ 35.163506735596087, -0.210059091199866 ], [ 35.163782947129263, -0.212069282526003 ], [ 35.16575953075273, -0.21257126414204 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Nandi C2a", "sub_field": "Nandi C2a" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.168033071311847, -0.211016021401178 ], [ 35.167442610070097, -0.210833425948992 ], [ 35.16685294510409, -0.210670673009439 ], [ 35.165635511973257, -0.210384797602691 ], [ 35.165573047113703, -0.210720843893126 ], [ 35.165508492432721, -0.211132883699954 ], [ 35.165438899106299, -0.211504481262984 ], [ 35.165402283766277, -0.211694993006245 ], [ 35.165399421580787, -0.211872903779674 ], [ 35.16542819800393, -0.212003805627111 ], [ 35.165585182870061, -0.212256314734132 ], [ 35.165869691259353, -0.212613854688871 ], [ 35.168400531101312, -0.213241628877705 ], [ 35.169070920829633, -0.2130906104854 ], [ 35.169424750664597, -0.212991850041264 ], [ 35.169822880586032, -0.212922056473542 ], [ 35.169408294156717, -0.212533030112501 ], [ 35.168891411084822, -0.212116896588603 ], [ 35.168725232446391, -0.211931913973819 ], [ 35.168384050714231, -0.21142969476174 ], [ 35.168136988018588, -0.211100079319789 ], [ 35.168033071311847, -0.211016021401178 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "N.c4", "sub_field": "N.c4" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.167814124747977, -0.208530504866448 ], [ 35.167179318056171, -0.20835371623877 ], [ 35.16655305408527, -0.208208087599876 ], [ 35.16534073350023, -0.207952563121987 ], [ 35.16310150556258, -0.207609238991668 ], [ 35.162964383327392, -0.207811406674071 ], [ 35.162838103340228, -0.208089706127137 ], [ 35.162619334591547, -0.208658620648135 ], [ 35.162125005719432, -0.209690292720842 ], [ 35.162475381145988, -0.209842590275359 ], [ 35.162967061111893, -0.209912783844971 ], [ 35.163856612846239, -0.210049484343662 ], [ 35.165630373437047, -0.210329118636428 ], [ 35.166154859652544, -0.209782689729365 ], [ 35.166705215556732, -0.209340651661691 ], [ 35.167207205962058, -0.208911605502702 ], [ 35.167814124747977, -0.208530504866448 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Nyando C1a", "sub_field": "Nyando C1a" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.182469724679379, -0.164213638471148 ], [ 35.18313596722264, -0.16431865838704 ], [ 35.183446812496847, -0.164305898229082 ], [ 35.183715882498973, -0.164175767351459 ], [ 35.183943674631472, -0.162973955029149 ], [ 35.18404728155997, -0.162381236579801 ], [ 35.18409979806691, -0.162083228676834 ], [ 35.184124407150833, -0.161870859026564 ], [ 35.184107756350741, -0.161791006817005 ], [ 35.183468472625087, -0.161806556472618 ], [ 35.183336782897527, -0.162069898440008 ], [ 35.183157859780863, -0.162327728569123 ], [ 35.182876426670703, -0.162688588760424 ], [ 35.18253642470151, -0.163122767369192 ], [ 35.182300189658442, -0.163410493760707 ], [ 35.182099716947548, -0.16363608014535 ], [ 35.182100947189547, -0.164018620919604 ], [ 35.182138072182198, -0.164048577831485 ], [ 35.182278644887752, -0.164176584583648 ], [ 35.182469724679379, -0.164213638471148 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "H.b1a", "sub_field": "H.b1a" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.179847629555503, -0.189156899197896 ], [ 35.181254105114547, -0.189308082366646 ], [ 35.182045995512198, -0.189394828982397 ], [ 35.182392067273312, -0.189408126603018 ], [ 35.182704235721289, -0.189363429437648 ], [ 35.182846909963729, -0.189318458447678 ], [ 35.182959391104191, -0.18921397902391 ], [ 35.183009704309548, -0.188981220540708 ], [ 35.183105464232938, -0.188443837587479 ], [ 35.183179964997642, -0.187910607903516 ], [ 35.183242225023093, -0.187651083565596 ], [ 35.183322959468818, -0.187406031417373 ], [ 35.183572700578658, -0.18670865859318 ], [ 35.183697679310541, -0.186428945938282 ], [ 35.183817409660492, -0.186119626455175 ], [ 35.182587226970519, -0.18587696547586 ], [ 35.181987105832143, -0.185744290719302 ], [ 35.181436958085783, -0.185584920692714 ], [ 35.180606233902367, -0.187355187015319 ], [ 35.180166000004597, -0.188232948808772 ], [ 35.179972432063018, -0.188682362950747 ], [ 35.179847629555503, -0.189156899197896 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Highland b4b", "sub_field": "Highland b4b" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.185575630652927, -0.179900344829009 ], [ 35.185833855689609, -0.179406593781962 ], [ 35.186115080462137, -0.178794340339421 ], [ 35.186636173845002, -0.177644930129577 ], [ 35.184758303285093, -0.177296731977382 ], [ 35.183893963044852, -0.18002195353717 ], [ 35.184319255216472, -0.179979901388843 ], [ 35.184736817520822, -0.179961793774763 ], [ 35.185179082992022, -0.179957006545439 ], [ 35.185535552346501, -0.179952962594273 ], [ 35.185575630652927, -0.179900344829009 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Highland b3b", "sub_field": "Highland b3b" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.183476287527107, -0.182920624423426 ], [ 35.184735872680932, -0.183145679391673 ], [ 35.185045747132911, -0.181601653958564 ], [ 35.18524253033744, -0.180801473275091 ], [ 35.185500325386968, -0.180017235922732 ], [ 35.184638735127002, -0.180034064211418 ], [ 35.184230618500983, -0.180081649671225 ], [ 35.184031967404742, -0.180103879137304 ], [ 35.183829072981517, -0.180138516652966 ], [ 35.183476287527107, -0.182920624423426 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Highland c4", "sub_field": "Highland c4" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.185533594569179, -0.180309828117652 ], [ 35.18591114081373, -0.180351772619739 ], [ 35.186276869522487, -0.180362437865901 ], [ 35.186310808470452, -0.180302285059743 ], [ 35.186294033041229, -0.180216963889647 ], [ 35.1862441208348, -0.180074500667928 ], [ 35.186156779678093, -0.1798421927442 ], [ 35.18617115467157, -0.179697593257924 ], [ 35.186231204055908, -0.179538126994948 ], [ 35.186294443932532, -0.17946763983163 ], [ 35.186403692378001, -0.179351821859291 ], [ 35.186529625655147, -0.179268586432829 ], [ 35.186652469794957, -0.179127569363542 ], [ 35.186735817963367, -0.178752902938706 ], [ 35.186737673704833, -0.178184973528067 ], [ 35.18680481843451, -0.177910032267707 ], [ 35.186819590921687, -0.177722304830802 ], [ 35.186728100637218, -0.177704160136148 ], [ 35.186670719795082, -0.177744817995583 ], [ 35.186393916737707, -0.178266697574973 ], [ 35.186132180938287, -0.178907984473556 ], [ 35.186014187343318, -0.17920768212611 ], [ 35.185800787643693, -0.179550706712174 ], [ 35.185646129580633, -0.179898479247588 ], [ 35.185548193416913, -0.180092364066112 ], [ 35.185533594569179, -0.180309828117652 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Oduo d2", "sub_field": "Oduo d2" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.163783795598711, -0.145055036601344 ], [ 35.162885412496117, -0.142542701084901 ], [ 35.161635118195008, -0.142988660201456 ], [ 35.161010400937798, -0.143210698776753 ], [ 35.160393115736831, -0.143449740738904 ], [ 35.160453352450943, -0.143717770283387 ], [ 35.160562190747541, -0.144043969403444 ], [ 35.160788585700388, -0.144700963402155 ], [ 35.161255219889931, -0.145991323353901 ], [ 35.163783795598711, -0.145055036601344 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Kokoth A1a", "sub_field": "Kokoth A1a" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.17849777502358, -0.186337235249659 ], [ 35.178261713740277, -0.186964287939011 ], [ 35.178137047825892, -0.187253530666847 ], [ 35.178064140842061, -0.187439082553206 ], [ 35.178114825634381, -0.187624550201512 ], [ 35.178450386941748, -0.188101082548157 ], [ 35.178655080884617, -0.188245170577231 ], [ 35.178848823159363, -0.1884113341344 ], [ 35.179524905075702, -0.188984145942314 ], [ 35.17970734751745, -0.188871707728215 ], [ 35.179773646146508, -0.188641277957468 ], [ 35.179757241359567, -0.188540544648333 ], [ 35.179820839025723, -0.188306422503897 ], [ 35.180077359232342, -0.187804610456004 ], [ 35.180331791993453, -0.187318029011084 ], [ 35.17849777502358, -0.186337235249659 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Kokoth a5a", "sub_field": "Kokoth a5a" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.181407327570533, -0.180300753810802 ], [ 35.181305695967957, -0.180320824689641 ], [ 35.181241822748348, -0.180390427019177 ], [ 35.181116364107289, -0.180849148846345 ], [ 35.180989421081179, -0.181326988292485 ], [ 35.181700522292779, -0.181484945436212 ], [ 35.181924716062923, -0.181410479882625 ], [ 35.181938012223, -0.180861061016015 ], [ 35.181991422921598, -0.180265804426606 ], [ 35.181852412007679, -0.180336937705115 ], [ 35.181407327570533, -0.180300753810802 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Kokoth a4a", "sub_field": "Kokoth a4a" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.180977024945413, -0.18143247297372 ], [ 35.180785607611618, -0.182040115494562 ], [ 35.180702877827478, -0.182451747871446 ], [ 35.18040746675679, -0.183446863746566 ], [ 35.180504044499173, -0.183469406975257 ], [ 35.180858277224957, -0.183466789059185 ], [ 35.181589394440273, -0.183587049786196 ], [ 35.181771489800809, -0.183566932557175 ], [ 35.18183337937667, -0.181935675367129 ], [ 35.181804988184147, -0.18165579767555 ], [ 35.18165259803969, -0.181537694090729 ], [ 35.181404259003877, -0.181481313183706 ], [ 35.181020476085173, -0.181404478438187 ], [ 35.180977024945413, -0.18143247297372 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Kokoth a3a", "sub_field": "Kokoth a3a" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.18043695584592, -0.183528232847165 ], [ 35.180214416107432, -0.184295342754299 ], [ 35.180010197323561, -0.18506154626431 ], [ 35.181101861827287, -0.185409437936325 ], [ 35.181357309085158, -0.185486237922425 ], [ 35.181644136193313, -0.184539436884021 ], [ 35.181471616268382, -0.184463170844267 ], [ 35.181601270155667, -0.18362990982447 ], [ 35.181064396467939, -0.183546072462357 ], [ 35.180790364649162, -0.183505572555959 ], [ 35.18061501838887, -0.183504262476645 ], [ 35.18043695584592, -0.183528232847165 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Kokoth a10a", "sub_field": "Kokoth a10a" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.18215162782159, -0.175140877433247 ], [ 35.182035094975518, -0.175415776242199 ], [ 35.181915639380257, -0.175850466856752 ], [ 35.181796061844068, -0.176210054483686 ], [ 35.181631079256633, -0.176549570161957 ], [ 35.183207972203057, -0.176884580152914 ], [ 35.183931256224007, -0.175446557909959 ], [ 35.183046989647188, -0.175302309490204 ], [ 35.18215162782159, -0.175140877433247 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Kokoth A14a", "sub_field": "Kokoth A14a" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.181191594935683, -0.169179264962457 ], [ 35.181581875805421, -0.169462887027317 ], [ 35.181973271900283, -0.169751372409797 ], [ 35.182710983225, -0.170284920496603 ], [ 35.183009548299907, -0.170410961074623 ], [ 35.183332055580991, -0.170492522519407 ], [ 35.183803204655177, -0.170474987778855 ], [ 35.184243415376663, -0.17040916879212 ], [ 35.184299437245919, -0.1703398386574 ], [ 35.184256001516069, -0.169944080866804 ], [ 35.184169845667569, -0.169576335350613 ], [ 35.184029541445568, -0.169448381721267 ], [ 35.18386399204784, -0.169317286941052 ], [ 35.183296198260322, -0.168986757386486 ], [ 35.183006170084361, -0.168828101798494 ], [ 35.182706767308957, -0.168690529245709 ], [ 35.182083512062952, -0.168568761892245 ], [ 35.18175987446817, -0.1685231608896 ], [ 35.181435093886137, -0.168455081342664 ], [ 35.181096511282369, -0.168365355905068 ], [ 35.180988539185648, -0.168330840128393 ], [ 35.180887510319131, -0.168329173068916 ], [ 35.180803731426387, -0.168330589586552 ], [ 35.180727619925797, -0.168370120429404 ], [ 35.180598778713232, -0.168477654840969 ], [ 35.180469793481571, -0.16862644124838 ], [ 35.1806413782557, -0.168773892585398 ], [ 35.180825272114213, -0.168910653048839 ], [ 35.181191594935683, -0.169179264962457 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Thessalia b2", "sub_field": "Thessalia b2" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.16622166134794, -0.175800607544368 ], [ 35.16581357116749, -0.175793861665796 ], [ 35.165415370383172, -0.17580160099892 ], [ 35.164993490618677, -0.17582101282483 ], [ 35.16457168970075, -0.175838137831291 ], [ 35.164181450912409, -0.175860627392977 ], [ 35.163787842447562, -0.175882759192053 ], [ 35.162996123208522, -0.175918260557024 ], [ 35.162984007061532, -0.175953399560724 ], [ 35.163331720233217, -0.176275747694957 ], [ 35.163690160463503, -0.176580422695789 ], [ 35.164467540807919, -0.177239006402909 ], [ 35.165117071037422, -0.177155363975043 ], [ 35.165432744869598, -0.177124067555923 ], [ 35.165759240460417, -0.177115243588045 ], [ 35.165876721242263, -0.176803229912019 ], [ 35.165997018560347, -0.176450028335254 ], [ 35.166112139340839, -0.176124329312538 ], [ 35.16622166134794, -0.175800607544368 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Thessalia b3", "sub_field": "Thessalia b3" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.163455766491268, -0.174573801179732 ], [ 35.163340696032613, -0.174916455473029 ], [ 35.163170568724091, -0.175233597597242 ], [ 35.16295070571293, -0.175868000930974 ], [ 35.163046797201417, -0.175896244794205 ], [ 35.163149381824837, -0.175894011785296 ], [ 35.163369152614422, -0.175885727279786 ], [ 35.163781629289197, -0.175867238523175 ], [ 35.164598287376513, -0.175811997136379 ], [ 35.164813885309577, -0.175806757914904 ], [ 35.16502802525951, -0.175801310118932 ], [ 35.165424414742731, -0.175782530556 ], [ 35.165832848811313, -0.17576887196399 ], [ 35.166218164550493, -0.175767036200472 ], [ 35.166319304396673, -0.175499707601711 ], [ 35.166410439715257, -0.175188431618654 ], [ 35.166510471923218, -0.174890784973111 ], [ 35.166610504131171, -0.174593138327568 ], [ 35.163455766491268, -0.174573801179732 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Squatter a5a", "sub_field": "Squatter a5a" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.172552542357771, -0.162253460357897 ], [ 35.172468932135033, -0.162915727951212 ], [ 35.173677760838061, -0.163027276260732 ], [ 35.174018910203039, -0.163025703927944 ], [ 35.174315686029303, -0.162972122400578 ], [ 35.174423317641782, -0.162876890595557 ], [ 35.174512359781197, -0.162590303612134 ], [ 35.174823714502203, -0.1625966563855 ], [ 35.174840355615792, -0.162112858910683 ], [ 35.174833279043263, -0.161862759702013 ], [ 35.174873553098571, -0.161633215837964 ], [ 35.174802938138548, -0.161603809455397 ], [ 35.174569647900348, -0.161857429129026 ], [ 35.174261014489481, -0.162067509588541 ], [ 35.174145959189431, -0.162128266922416 ], [ 35.173970337753659, -0.162198460290017 ], [ 35.173717298535081, -0.162263272406696 ], [ 35.173350150157958, -0.162275697817666 ], [ 35.172993746085353, -0.162275484050691 ], [ 35.172878653094607, -0.162277930004105 ], [ 35.172763818598227, -0.162265777316904 ], [ 35.172552542357771, -0.162253460357897 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Squatter a2a", "sub_field": "Squatter a2a" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.169498699074722, -0.159570429388873 ], [ 35.168816472966583, -0.159419018828724 ], [ 35.167968070027527, -0.159357787687053 ], [ 35.167141311823592, -0.159227197199904 ], [ 35.167218628125852, -0.159519904827225 ], [ 35.167226324695278, -0.159858341981273 ], [ 35.167240882748303, -0.160496034805737 ], [ 35.167256639738689, -0.161783649256589 ], [ 35.168224178975201, -0.161773782233386 ], [ 35.168976047831507, -0.161850772852006 ], [ 35.169259104522702, -0.161844743031243 ], [ 35.169531478727073, -0.16192876443667 ], [ 35.169938358709402, -0.161974686382074 ], [ 35.169976613268823, -0.161460992177654 ], [ 35.169934793867547, -0.160801485880019 ], [ 35.169887455080037, -0.160180979091816 ], [ 35.169843572342913, -0.15951687368435 ], [ 35.169672006354837, -0.159533553604926 ], [ 35.169498699074722, -0.159570429388873 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Squatter b4b", "sub_field": "Squatter b4b" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.173445231522159, -0.155320450060346 ], [ 35.173144923649353, -0.155484966255209 ], [ 35.172918954301139, -0.155603669741721 ], [ 35.172784232578422, -0.15568774837639 ], [ 35.172661929648847, -0.155760964570052 ], [ 35.172594838128767, -0.155817343925154 ], [ 35.17254023778775, -0.155935278809572 ], [ 35.172544695310819, -0.156112042834691 ], [ 35.172568960258388, -0.156142001013659 ], [ 35.17255507884245, -0.156201947218846 ], [ 35.172558015195378, -0.156271693949115 ], [ 35.172571670453841, -0.156330731806739 ], [ 35.172631343295407, -0.156418732815053 ], [ 35.172693471605641, -0.156491101952656 ], [ 35.172738287097658, -0.156565114888667 ], [ 35.17277517458205, -0.156590288001273 ], [ 35.172842783167717, -0.156690852186883 ], [ 35.172948852827894, -0.156868673137379 ], [ 35.17304741470371, -0.157041308637353 ], [ 35.173147828318527, -0.157208168475012 ], [ 35.173197455489053, -0.157270844306965 ], [ 35.173290658826403, -0.157406107799945 ], [ 35.173338652952829, -0.157462200238419 ], [ 35.173475858910066, -0.157624410869565 ], [ 35.173600500823973, -0.157758061801282 ], [ 35.173767474071923, -0.157950728982715 ], [ 35.173897141864472, -0.15808988494042 ], [ 35.174010562099788, -0.158230177521591 ], [ 35.174085936024703, -0.158317883233138 ], [ 35.174124916859142, -0.15837638356889 ], [ 35.174190050972882, -0.158479706763972 ], [ 35.17426847675069, -0.158611253129553 ], [ 35.174332820479989, -0.158698291418877 ], [ 35.174481596954351, -0.158834952083856 ], [ 35.174674800335708, -0.158939077376655 ], [ 35.174705951980989, -0.158960650307157 ], [ 35.174734695185329, -0.158973819375963 ], [ 35.174816118643562, -0.15901573650983 ], [ 35.174908365482807, -0.159057697048624 ], [ 35.175011602067471, -0.15908025108421 ], [ 35.175139692548171, -0.1590754651645 ], [ 35.175215015783976, -0.159069714386152 ], [ 35.175293052333899, -0.159054356118704 ], [ 35.175333718979751, -0.159023108508573 ], [ 35.175337194971647, -0.158930552540729 ], [ 35.175411654767359, -0.158509058360442 ], [ 35.175444120203103, -0.158248473358197 ], [ 35.175458019742358, -0.158129004104259 ], [ 35.175464340096518, -0.158018840145553 ], [ 35.175470790822047, -0.157915798397583 ], [ 35.175470420041322, -0.157817937313376 ], [ 35.175463505229118, -0.157736626673289 ], [ 35.175452002745622, -0.157665510902901 ], [ 35.175439902010041, -0.157613131489787 ], [ 35.175414797932802, -0.157557525249012 ], [ 35.175383018119042, -0.157506336793782 ], [ 35.175349482257687, -0.157466307763812 ], [ 35.17528847120245, -0.157403609064523 ], [ 35.175217965071738, -0.157355956984682 ], [ 35.175129678954541, -0.157314357313531 ], [ 35.175075929977751, -0.157296387237326 ], [ 35.174984200505747, -0.157243981542562 ], [ 35.174899120065739, -0.157182531237296 ], [ 35.17481168041342, -0.15709520508529 ], [ 35.174667545800233, -0.156899929141625 ], [ 35.174539746351833, -0.156748765397153 ], [ 35.174472378007529, -0.156653221677895 ], [ 35.174426400436687, -0.156558921972569 ], [ 35.174293418854369, -0.156358290992216 ], [ 35.174114963535409, -0.156090644108666 ], [ 35.173954813451431, -0.155839514652649 ], [ 35.173554419038489, -0.155252577128264 ], [ 35.173445231522159, -0.155320450060346 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Factory a3c", "sub_field": "Factory a3c" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.19155203547362, -0.152269450838488 ], [ 35.191468905942493, -0.152452558832404 ], [ 35.191210142525648, -0.152849515800586 ], [ 35.190868898328212, -0.153354520800268 ], [ 35.191019163470621, -0.153505250062778 ], [ 35.192363974424907, -0.154037156164491 ], [ 35.19213270101897, -0.153227381402534 ], [ 35.192057284564143, -0.152949025726309 ], [ 35.191939221505358, -0.152510184292965 ], [ 35.191813722422552, -0.152186604211335 ], [ 35.191777869971673, -0.152052596467235 ], [ 35.191733011436767, -0.152085014365098 ], [ 35.191625266088749, -0.15215320781397 ], [ 35.19155203547362, -0.152269450838488 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "B/low a5c ", "sub_field": "B/low a5c " }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.177875271058838, -0.187722033191619 ], [ 35.177758441022362, -0.187963959188989 ], [ 35.177693839958692, -0.188142679312848 ], [ 35.177568213715759, -0.188359731696937 ], [ 35.177425175994649, -0.188596746135472 ], [ 35.17724140745878, -0.188937331823011 ], [ 35.177078218944239, -0.189227776709055 ], [ 35.17692657215575, -0.189486863958047 ], [ 35.176772196432808, -0.18969797613522 ], [ 35.176835756301713, -0.189735959176874 ], [ 35.177175170207363, -0.189942510992447 ], [ 35.177721694469163, -0.190232054770911 ], [ 35.178011852759347, -0.190376632753402 ], [ 35.178123049134072, -0.190109884269242 ], [ 35.178206346864243, -0.18995332930219 ], [ 35.178345254826588, -0.189662278554628 ], [ 35.178442754147611, -0.189398679899855 ], [ 35.178512050902278, -0.189210747695075 ], [ 35.178562551025522, -0.188894529259616 ], [ 35.178598765490669, -0.188593572115812 ], [ 35.178663621461823, -0.188460580172868 ], [ 35.178684646757127, -0.18835121573887 ], [ 35.178644560856547, -0.188322482191311 ], [ 35.178491307418767, -0.188228978572967 ], [ 35.178377994398033, -0.188105402685192 ], [ 35.178270402555313, -0.187933699238993 ], [ 35.178166780436641, -0.187768554896395 ], [ 35.17806304371517, -0.187626317160933 ], [ 35.177981637836282, -0.187562740830332 ], [ 35.177875271058838, -0.187722033191619 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Buru A1", "sub_field": "Buru A1" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.191356236194089, -0.159676066166035 ], [ 35.191158150401861, -0.159682680649688 ], [ 35.190660833541848, -0.159662176289899 ], [ 35.190041883325108, -0.159716336407477 ], [ 35.18983735631948, -0.159775018325138 ], [ 35.18988208002132, -0.159886455505689 ], [ 35.189909941445947, -0.160147379513911 ], [ 35.189816887962429, -0.160401572370639 ], [ 35.189453289448089, -0.160708348160789 ], [ 35.18926831578792, -0.160961553643897 ], [ 35.189261039744927, -0.161104739343327 ], [ 35.189258681942519, -0.161171472885378 ], [ 35.189292079028078, -0.16122736611207 ], [ 35.189319079222557, -0.161352387937324 ], [ 35.189390265567198, -0.161642665100074 ], [ 35.189490605598962, -0.161984052367394 ], [ 35.189602960165089, -0.16215058611091 ], [ 35.189882590885929, -0.162391837972411 ], [ 35.19013979660955, -0.162510624569093 ], [ 35.190474116345356, -0.162665899919069 ], [ 35.190651485438003, -0.162723930590643 ], [ 35.190988445435657, -0.162756493966747 ], [ 35.191062517041352, -0.162529242207442 ], [ 35.191097359697707, -0.16231978817381 ], [ 35.191240281765431, -0.162080121760627 ], [ 35.19143556491904, -0.161618414450751 ], [ 35.191477047793242, -0.161421458776717 ], [ 35.191597913104637, -0.161253297595069 ], [ 35.191570807803188, -0.161139091864186 ], [ 35.191512051530417, -0.160995619751794 ], [ 35.191417212621701, -0.160850333001636 ], [ 35.191349103765347, -0.160642000949825 ], [ 35.191335805676452, -0.160333242369613 ], [ 35.191353790578859, -0.159993628664207 ], [ 35.191358863496809, -0.159834599887369 ], [ 35.191356236194089, -0.159676066166035 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "B/low a5b", "sub_field": "B/low a5b" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.178610267612378, -0.188884713028067 ], [ 35.178499289424828, -0.189361582785634 ], [ 35.17828422878479, -0.189877662357935 ], [ 35.178152351571981, -0.1901417600961 ], [ 35.178115645717646, -0.190275438450441 ], [ 35.178105981527104, -0.190422833225402 ], [ 35.178656827101747, -0.190787817291197 ], [ 35.179011534026976, -0.190989089469198 ], [ 35.179213050221463, -0.191069890708538 ], [ 35.17941268081681, -0.190210572755905 ], [ 35.179702856928976, -0.189198309080859 ], [ 35.179216944900972, -0.188791794203173 ], [ 35.17871748887336, -0.188359805957518 ], [ 35.17864866640879, -0.188608368769676 ], [ 35.178610267612378, -0.188884713028067 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Buru a2", "sub_field": "Buru a2" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.191610209124043, -0.16165116649749 ], [ 35.191482414470563, -0.161933414461334 ], [ 35.191348926980417, -0.162302412698093 ], [ 35.19122102134623, -0.162627191632844 ], [ 35.191239498816238, -0.16282323666633 ], [ 35.191378589856647, -0.162933565429393 ], [ 35.19214582499901, -0.163287946553127 ], [ 35.192418923683398, -0.163388968900171 ], [ 35.192782079813327, -0.163504602914928 ], [ 35.192842922161176, -0.163499994251783 ], [ 35.193124134061293, -0.163462825973294 ], [ 35.193166521228889, -0.16342905610435 ], [ 35.193276764983409, -0.163260856203443 ], [ 35.193304075026219, -0.163132269928213 ], [ 35.193339097563751, -0.162952271421019 ], [ 35.193380084273173, -0.162760548368647 ], [ 35.193438218840427, -0.162616146909931 ], [ 35.193255804869189, -0.162577604358376 ], [ 35.192897391618828, -0.162460601862391 ], [ 35.192448519506449, -0.162326725397294 ], [ 35.19198463626401, -0.162126722544486 ], [ 35.191912832739348, -0.161879664373073 ], [ 35.191796975276723, -0.161643363983453 ], [ 35.191707762889742, -0.161490174760235 ], [ 35.191610209124043, -0.16165116649749 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "B/low a5e ", "sub_field": "B/low a5e " }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.176413900280103, -0.18643010432549 ], [ 35.176151722923251, -0.186724824245954 ], [ 35.176011222723339, -0.186899070807071 ], [ 35.175819750008678, -0.187167236094982 ], [ 35.175648376106217, -0.187405457096041 ], [ 35.175578995314027, -0.187620592577976 ], [ 35.175518014180511, -0.18783376528783 ], [ 35.175502312977933, -0.188053421715238 ], [ 35.175493315454609, -0.18829448484494 ], [ 35.175463879982033, -0.188450614519571 ], [ 35.175438961637759, -0.18861148271149 ], [ 35.175389096662506, -0.18874132974656 ], [ 35.175565001031103, -0.188925779549827 ], [ 35.175815289226193, -0.189095971630825 ], [ 35.176054763144528, -0.189252477327237 ], [ 35.176227972088498, -0.189368667165786 ], [ 35.176363220747007, -0.189444072100473 ], [ 35.176630594752133, -0.189593137327156 ], [ 35.176675468726742, -0.189526482192212 ], [ 35.176841740764203, -0.189248770996854 ], [ 35.176976202626243, -0.188892953986187 ], [ 35.177135073009048, -0.188565537034867 ], [ 35.17725688995764, -0.188348123067461 ], [ 35.177438723591891, -0.188020037707335 ], [ 35.17756921577481, -0.187915785493242 ], [ 35.177735162860372, -0.187788763276862 ], [ 35.177896088661427, -0.18752918564272 ], [ 35.176413900280103, -0.18643010432549 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "B/low B4", "sub_field": "B/low B4" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.17961516174757, -0.194286469804271 ], [ 35.17994776562945, -0.193907745174278 ], [ 35.180229849068652, -0.193542025293836 ], [ 35.180217117976582, -0.193486735641055 ], [ 35.180154651405182, -0.193400866318801 ], [ 35.180140672194867, -0.193295319657458 ], [ 35.18018152843112, -0.193138285432669 ], [ 35.180302090823709, -0.193022600580291 ], [ 35.180444969264471, -0.192944232711395 ], [ 35.180536084932541, -0.192979888223763 ], [ 35.180595237170827, -0.193034106712957 ], [ 35.180893100782107, -0.192649405683867 ], [ 35.181166603490077, -0.192286139623301 ], [ 35.180319056507507, -0.191814418902373 ], [ 35.179852802386421, -0.191578938269826 ], [ 35.179351468177508, -0.191311453508148 ], [ 35.179295943242998, -0.1912812262131 ], [ 35.179244948114359, -0.191489217621743 ], [ 35.179185915137907, -0.191932880246297 ], [ 35.179115363123167, -0.192689705222914 ], [ 35.179031586107278, -0.193598159098942 ], [ 35.178922072737429, -0.194136602782872 ], [ 35.179106552325671, -0.194223810921801 ], [ 35.179405180976502, -0.194338977647326 ], [ 35.17961516174757, -0.194286469804271 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Nyando A2a", "sub_field": "Nyando A2a" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.185592515647691, -0.158102416760389 ], [ 35.185312506200432, -0.157962891014563 ], [ 35.185402118643211, -0.157736655810115 ], [ 35.185439753707414, -0.157745015956934 ], [ 35.185484373245018, -0.157678152977097 ], [ 35.185602902781071, -0.157710145917111 ], [ 35.185661607071467, -0.157796614872961 ], [ 35.185752425733028, -0.157841296597621 ], [ 35.185744142382582, -0.15789159763392 ], [ 35.185706404729579, -0.157885998092843 ], [ 35.185628267213843, -0.158056501270422 ], [ 35.18559878449058, -0.158097399087119 ], [ 35.185692580843501, -0.158172792110371 ], [ 35.185840318074611, -0.158013275980878 ], [ 35.185979505544204, -0.157843635850382 ], [ 35.186111322190698, -0.157693795106431 ], [ 35.186257385107702, -0.15755023701039 ], [ 35.186379077198772, -0.157412323278587 ], [ 35.186476432829373, -0.15727362787436 ], [ 35.186533373782538, -0.15715511328307 ], [ 35.186482207189243, -0.157104011757575 ], [ 35.186347000151208, -0.157089250138542 ], [ 35.186259967594168, -0.157079466487493 ], [ 35.186140589695597, -0.157047197114498 ], [ 35.186103522427103, -0.157063059627092 ], [ 35.186064095441253, -0.157067243673536 ], [ 35.186028277767022, -0.157067903339394 ], [ 35.185963563521341, -0.157056411007537 ], [ 35.185899825328107, -0.157058339921139 ], [ 35.185835354694788, -0.157035220646016 ], [ 35.18578555793561, -0.157026683877695 ], [ 35.185695173873292, -0.157017567472969 ], [ 35.185553385596712, -0.157017703397254 ], [ 35.185538583854822, -0.157028062128237 ], [ 35.185438115135341, -0.157018905423262 ], [ 35.185325262858719, -0.15701970726872 ], [ 35.185168561285082, -0.157030173141389 ], [ 35.18401502542882, -0.158457497773552 ], [ 35.183817925909779, -0.158696545423942 ], [ 35.184424986570399, -0.159646825010734 ], [ 35.184691959416938, -0.159665179019807 ], [ 35.18479062873886, -0.159372357348662 ], [ 35.184889031588853, -0.159213956193379 ], [ 35.185029401649743, -0.158978418146238 ], [ 35.185204727015233, -0.158732817387188 ], [ 35.185443219326011, -0.158420672986675 ], [ 35.185580016843943, -0.158269851840177 ], [ 35.185678940284241, -0.158172828531935 ], [ 35.185592515647691, -0.158102416760389 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Highland b2b", "sub_field": "Highland b2b" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.183634078402939, -0.18602148078519 ], [ 35.18378428827242, -0.186013493570889 ], [ 35.183811556867333, -0.185917141160798 ], [ 35.183923390322043, -0.185643901537465 ], [ 35.184035739945273, -0.185417991947173 ], [ 35.184141084949033, -0.185236303288954 ], [ 35.184228123566903, -0.185072376548761 ], [ 35.184332067626563, -0.184812381888421 ], [ 35.184421488732383, -0.184515725241422 ], [ 35.184496333548474, -0.184190489156311 ], [ 35.184589408649551, -0.183781888905717 ], [ 35.184638472039282, -0.183516534324807 ], [ 35.184620000877679, -0.183414394994437 ], [ 35.184527196074868, -0.183328082243665 ], [ 35.184418002045781, -0.183247009950126 ], [ 35.18432380412785, -0.18322206558524 ], [ 35.184138482655229, -0.183153901926102 ], [ 35.183802824563763, -0.183088344713819 ], [ 35.183585371166672, -0.183040554751723 ], [ 35.183409832329907, -0.183006315551901 ], [ 35.183167817906792, -0.182957756890486 ], [ 35.18300594779771, -0.18293461259643 ], [ 35.182778364879077, -0.182882787447122 ], [ 35.182606876545577, -0.182843332416091 ], [ 35.182487552692209, -0.182796842149637 ], [ 35.182389528921867, -0.18275195919117 ], [ 35.182322231659917, -0.182712738336522 ], [ 35.182247719172437, -0.18264630067636 ], [ 35.182199665346182, -0.182570352633648 ], [ 35.182113625821437, -0.18251847743642 ], [ 35.182107987709458, -0.182604307738999 ], [ 35.182105087514017, -0.182768063945968 ], [ 35.182116794809872, -0.182952927223167 ], [ 35.182137479256014, -0.183146850441902 ], [ 35.18216314848349, -0.183326017515925 ], [ 35.182212998786099, -0.183488446597054 ], [ 35.182308083229039, -0.183672317030993 ], [ 35.182481422675743, -0.183855998947818 ], [ 35.182687182117682, -0.184073517377302 ], [ 35.182788881139118, -0.18423485890277 ], [ 35.18289505874197, -0.184398516864442 ], [ 35.18302340627779, -0.184641096463232 ], [ 35.183141238431368, -0.184857332452465 ], [ 35.183227557468243, -0.18506880525158 ], [ 35.183278789758702, -0.185270716304615 ], [ 35.183322061257243, -0.185457258957712 ], [ 35.183348545347357, -0.185649759217397 ], [ 35.183353902973579, -0.185821464167325 ], [ 35.18337507095373, -0.185916738205814 ], [ 35.183634078402939, -0.18602148078519 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "B/low C5b", "sub_field": "B/low C5b" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.1690940814645, -0.193101952724681 ], [ 35.168885257887773, -0.19362524507423 ], [ 35.168865751278567, -0.193856245652482 ], [ 35.169337583026, -0.194254094701794 ], [ 35.169769549355337, -0.194548971790295 ], [ 35.170305348717399, -0.194285095776759 ], [ 35.170250332607971, -0.193826895236211 ], [ 35.170257604121304, -0.193611628943563 ], [ 35.170232741009087, -0.193222409159836 ], [ 35.170234982740467, -0.193110680519583 ], [ 35.169383982915953, -0.192485677711623 ], [ 35.16934871992764, -0.192494568294803 ], [ 35.169248295048277, -0.192675995951179 ], [ 35.1690940814645, -0.193101952724681 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "B/low C10", "sub_field": "B/low C10" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.17349398742931, -0.191689289413088 ], [ 35.172427038750001, -0.192908448918879 ], [ 35.172521240160457, -0.19377326620455 ], [ 35.172323068587573, -0.194529413333271 ], [ 35.172528895159687, -0.194626230337092 ], [ 35.172694684296111, -0.194653180310809 ], [ 35.172757489103553, -0.194689886680544 ], [ 35.172875339084321, -0.194669173502461 ], [ 35.173024203787662, -0.194683911973809 ], [ 35.173185023953607, -0.194629465556558 ], [ 35.173335796253987, -0.194501820647243 ], [ 35.17342538280117, -0.194359172814194 ], [ 35.173519739256157, -0.194001635962639 ], [ 35.173618153291343, -0.193696335207285 ], [ 35.173679350267008, -0.193533535700985 ], [ 35.173727681180218, -0.193236051670938 ], [ 35.173752059262682, -0.19292615471241 ], [ 35.173753820626153, -0.192658160570428 ], [ 35.173731532592633, -0.192410253264547 ], [ 35.173665373646749, -0.192026337135595 ], [ 35.173571429980257, -0.191795591368453 ], [ 35.17349398742931, -0.191689289413088 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "b.c9", "sub_field": "b.c9" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.173491789525507, -0.191679274912581 ], [ 35.17332030621332, -0.191507339325469 ], [ 35.17308825181091, -0.191258878257858 ], [ 35.172955125590221, -0.191341662388734 ], [ 35.17274165539402, -0.19148612139804 ], [ 35.172623636628963, -0.191562302257463 ], [ 35.172138844708357, -0.191581362502238 ], [ 35.172021518598058, -0.191826927071008 ], [ 35.171859870166116, -0.192149792250337 ], [ 35.171762218791123, -0.192388245618193 ], [ 35.171650343521208, -0.192642513515696 ], [ 35.171570452147208, -0.192866370704092 ], [ 35.171536676736117, -0.193025363916487 ], [ 35.1715443689422, -0.193241779340035 ], [ 35.171411480196767, -0.193746473282779 ], [ 35.171391996127731, -0.193816174445499 ], [ 35.171357667742299, -0.194437954219702 ], [ 35.171751477180621, -0.194479810010262 ], [ 35.171993659573197, -0.194488199815336 ], [ 35.172169563660702, -0.194499877975261 ], [ 35.172319924411028, -0.194525975426748 ], [ 35.17235161628723, -0.194411317394934 ], [ 35.172361818959367, -0.194372428416166 ], [ 35.172384268052816, -0.194287527408723 ], [ 35.172426818933019, -0.194127090705112 ], [ 35.172471852225137, -0.193958577853107 ], [ 35.172520266205581, -0.193773118064249 ], [ 35.172494586114368, -0.193550570146942 ], [ 35.172474270268303, -0.193362982041161 ], [ 35.172416908244109, -0.19289556254572 ], [ 35.173491789525507, -0.191679274912581 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "B/low C6b", "sub_field": "B/low C6b" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.169745591753177, -0.192109625666972 ], [ 35.170055129849978, -0.191849306818039 ], [ 35.170389578570472, -0.191639908112123 ], [ 35.170222394566771, -0.191550205071487 ], [ 35.169867971777727, -0.191368529026458 ], [ 35.169451287881309, -0.191134884463554 ], [ 35.169148606798132, -0.190928498599973 ], [ 35.169005224506812, -0.191085748826167 ], [ 35.168744763505323, -0.19122170089957 ], [ 35.168529141085223, -0.191268604650905 ], [ 35.168356703805429, -0.191265320621663 ], [ 35.168172258239011, -0.191262613591843 ], [ 35.167879274521432, -0.191430691929583 ], [ 35.16773031972221, -0.19177569178692 ], [ 35.167910138804608, -0.191874151736405 ], [ 35.168099986658511, -0.191899764615828 ], [ 35.168690279009873, -0.191989291579366 ], [ 35.16916002401674, -0.19204391291684 ], [ 35.169346146453726, -0.192110548294024 ], [ 35.16952979929588, -0.192305968260798 ], [ 35.169745591753177, -0.192109625666972 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Oduo F4", "sub_field": "Oduo F4" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.165235245025613, -0.136116825647187 ], [ 35.16438631856105, -0.136352226616805 ], [ 35.163451260291119, -0.136560431151421 ], [ 35.163535731165076, -0.136690119464847 ], [ 35.163853786448833, -0.137525876845002 ], [ 35.164421975715598, -0.139100981294393 ], [ 35.165590858773868, -0.138700280138587 ], [ 35.166975489643917, -0.138207832459302 ], [ 35.166034194848933, -0.13579826083388 ], [ 35.165574608888811, -0.135957140473466 ], [ 35.165235245025613, -0.136116825647187 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Oduo G5", "sub_field": "Oduo G5" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.167002223671957, -0.138184171329182 ], [ 35.169361689327467, -0.137347429420863 ], [ 35.169174646229273, -0.136851875132349 ], [ 35.16702035175711, -0.135653012864176 ], [ 35.166791412076194, -0.135108093643821 ], [ 35.165590799815149, -0.134450064991654 ], [ 35.167002223671957, -0.138184171329182 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Nandi C5a", "sub_field": "Nandi C5a" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.168224727829937, -0.208788072294799 ], [ 35.168313154841812, -0.209042501393477 ], [ 35.16840415099427, -0.209299006412383 ], [ 35.168501143063352, -0.209508598926233 ], [ 35.168535190078693, -0.209623493278367 ], [ 35.168544977342087, -0.209714759697752 ], [ 35.168611083827699, -0.209808970399152 ], [ 35.16864648112621, -0.20995403990292 ], [ 35.168709107340142, -0.210067769458132 ], [ 35.168747303543093, -0.210209442301382 ], [ 35.168814168821022, -0.210325315423152 ], [ 35.168848843862179, -0.21045974558614 ], [ 35.168909326735907, -0.21060457545182 ], [ 35.168962891998191, -0.210768673887866 ], [ 35.168985701694517, -0.210786587703119 ], [ 35.169037480540638, -0.210883863451523 ], [ 35.169073948333519, -0.211051013961523 ], [ 35.169093053596349, -0.211184034746107 ], [ 35.16911197513403, -0.211304399951088 ], [ 35.169231097248662, -0.211343063844716 ], [ 35.169399647434673, -0.211400253372464 ], [ 35.169649274869052, -0.211497462562724 ], [ 35.169865131804677, -0.211557928818367 ], [ 35.170104682382473, -0.211629868226515 ], [ 35.170324685167976, -0.211706718233015 ], [ 35.170553085043892, -0.211769456436945 ], [ 35.170747353096438, -0.211842957756207 ], [ 35.170968046436563, -0.2119396862843 ], [ 35.17106893628236, -0.211983674355127 ], [ 35.171091247729912, -0.211891567863532 ], [ 35.171083006903068, -0.211806783607841 ], [ 35.171028209354468, -0.211644773606395 ], [ 35.170983220767127, -0.211456803536376 ], [ 35.17095940552899, -0.211426374321475 ], [ 35.170891373128697, -0.21133786502615 ], [ 35.170853109221873, -0.211292253131898 ], [ 35.170840408854119, -0.21126227578739 ], [ 35.170817319045042, -0.21120081171804 ], [ 35.170771425269393, -0.211136825758084 ], [ 35.17072030333577, -0.21101990107761 ], [ 35.170697646141328, -0.210990417845546 ], [ 35.170683438167011, -0.210954471243567 ], [ 35.17062024381358, -0.210870714550984 ], [ 35.170570423342653, -0.210825361285229 ], [ 35.170560855088979, -0.21079744038833 ], [ 35.170526518937699, -0.210703616173201 ], [ 35.170420616025559, -0.2105922592405 ], [ 35.170276412489052, -0.210447096718912 ], [ 35.17025831563631, -0.21040645830422 ], [ 35.17015301751551, -0.210276506170035 ], [ 35.170062087193763, -0.210133713644932 ], [ 35.169970291269323, -0.210004552688128 ], [ 35.169961190200617, -0.209968623751417 ], [ 35.169921880356803, -0.20985832369725 ], [ 35.169879714554853, -0.209782099470966 ], [ 35.169833800924252, -0.209706052540532 ], [ 35.169789777141951, -0.209666653879575 ], [ 35.169720923646572, -0.209581947243016 ], [ 35.169580617827563, -0.209444372910834 ], [ 35.169475154783157, -0.209341997492262 ], [ 35.169421457956339, -0.209273256363825 ], [ 35.16930843021489, -0.20909280269236 ], [ 35.169259163707842, -0.209057024888938 ], [ 35.169177826746093, -0.20891747495866 ], [ 35.168944091950763, -0.208843870450901 ], [ 35.168689705948729, -0.208767994202883 ], [ 35.168410179260611, -0.208682398735739 ], [ 35.168173061529821, -0.20861503509016 ], [ 35.168224727829937, -0.208788072294799 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Nandi C5b\n", "sub_field": "Nandi C5b\n" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.167599038776743, -0.208683535133991 ], [ 35.167222941711373, -0.208913116819914 ], [ 35.167038120481912, -0.209072192063588 ], [ 35.166868627669643, -0.209217117863972 ], [ 35.166720867711938, -0.209353798178258 ], [ 35.166582058181987, -0.209461644810418 ], [ 35.166334656360149, -0.209655598153394 ], [ 35.166171546535423, -0.209789958271068 ], [ 35.165973011983361, -0.209985882470328 ], [ 35.165746058530431, -0.210229224954003 ], [ 35.165665297702269, -0.210319541376214 ], [ 35.165681013417768, -0.21036704194599 ], [ 35.165959741581872, -0.210428015560555 ], [ 35.166369351186383, -0.210517131334299 ], [ 35.166746393159983, -0.210610573777049 ], [ 35.167059761809512, -0.210691092764597 ], [ 35.167469406644642, -0.210803739655695 ], [ 35.167783248200273, -0.210899734558237 ], [ 35.168069221622353, -0.210987726862419 ], [ 35.168265756301359, -0.211048846748909 ], [ 35.168508017437212, -0.211121404977331 ], [ 35.168748755658328, -0.211189977664557 ], [ 35.16897533990236, -0.211255259996869 ], [ 35.169110649673037, -0.211304508042884 ], [ 35.169072062496177, -0.211049519906639 ], [ 35.16903509002659, -0.210885408604699 ], [ 35.168983088234512, -0.210789189754181 ], [ 35.168958258388408, -0.210772505245986 ], [ 35.168901118181687, -0.210598929910125 ], [ 35.168844635613468, -0.210462782513336 ], [ 35.168810209489543, -0.210329913309369 ], [ 35.168743400687937, -0.21021355349004 ], [ 35.168704927672607, -0.210072221642489 ], [ 35.168642813664611, -0.209961333958778 ], [ 35.168610522152427, -0.209815295053142 ], [ 35.168541220012543, -0.209722294239462 ], [ 35.168530547473573, -0.209625311969172 ], [ 35.16851465784346, -0.209563909182433 ], [ 35.168498453508548, -0.209510151286768 ], [ 35.168467865024539, -0.20944312246864 ], [ 35.168420930272973, -0.209344218341105 ], [ 35.168394086030297, -0.209280292616895 ], [ 35.168346542016423, -0.209140772267906 ], [ 35.168309857666962, -0.209037046189917 ], [ 35.168255317994337, -0.20888206675344 ], [ 35.168219368920603, -0.208777794257674 ], [ 35.168190737111942, -0.208683440775771 ], [ 35.168170475880551, -0.208615880310247 ], [ 35.168159490374123, -0.208616402902556 ], [ 35.167857557860643, -0.208537346454062 ], [ 35.167599038776743, -0.208683535133991 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "bo.c2b", "sub_field": "bo.c2b" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.157180920078773, -0.15877419729862 ], [ 35.157203100208498, -0.158935786574916 ], [ 35.157515624215591, -0.159487546945087 ], [ 35.158095756916353, -0.161216666182918 ], [ 35.158845345984687, -0.160978610817007 ], [ 35.159727467774559, -0.159292819097922 ], [ 35.159539074720101, -0.159148555170159 ], [ 35.15913442295119, -0.158893093775429 ], [ 35.158712720937018, -0.158742792638888 ], [ 35.158518351570017, -0.158681178706851 ], [ 35.158140118010728, -0.158541637228629 ], [ 35.157716582967488, -0.158507391935486 ], [ 35.157180920078773, -0.15877419729862 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "b.c4", "sub_field": "b.c4" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.168649921348504, -0.188329017536003 ], [ 35.168755727563529, -0.188707749308094 ], [ 35.168649975449, -0.188881198345188 ], [ 35.168387709835372, -0.18890941482125 ], [ 35.168297718624011, -0.189055136413778 ], [ 35.168194085417213, -0.19044750385604 ], [ 35.168595101475788, -0.190139436546119 ], [ 35.169048254786773, -0.190087797147667 ], [ 35.169134935823159, -0.190179957865669 ], [ 35.169375862253958, -0.190203301131575 ], [ 35.16946834471112, -0.190430912897292 ], [ 35.169984901686533, -0.190582107432081 ], [ 35.170335027752827, -0.190052639119993 ], [ 35.170040887819717, -0.189327267831462 ], [ 35.169924632043568, -0.188501147704605 ], [ 35.169046662526888, -0.187756872538919 ], [ 35.168649921348504, -0.188329017536003 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Oduo b4", "sub_field": "Oduo b4" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.167129419146391, -0.146643383765207 ], [ 35.167348913897122, -0.147187971567947 ], [ 35.167603839337133, -0.147897253988644 ], [ 35.167745579957142, -0.148445277010686 ], [ 35.167980175699157, -0.149146823976922 ], [ 35.168216238145973, -0.14904393900484 ], [ 35.169608171269509, -0.148538739339034 ], [ 35.170366642503211, -0.148265902647288 ], [ 35.170108697413639, -0.147468117144871 ], [ 35.16978115019915, -0.146543780387604 ], [ 35.169671877139074, -0.146235152083177 ], [ 35.169501773552568, -0.14578220379584 ], [ 35.168815112622553, -0.146027186928029 ], [ 35.167673945599361, -0.146404386013928 ], [ 35.167129419146391, -0.146643383765207 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "B/low C7a", "sub_field": "B/low C7a" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.170806126678499, -0.19164276151564 ], [ 35.170339948043058, -0.19171769851295 ], [ 35.169950915290613, -0.191950300931264 ], [ 35.169561132905898, -0.192294810246904 ], [ 35.169384915365022, -0.192479237633522 ], [ 35.170249268580413, -0.193101706241303 ], [ 35.170254413286031, -0.193832222898456 ], [ 35.170322349907579, -0.194291234924083 ], [ 35.171037059460559, -0.193978365140245 ], [ 35.171360662943897, -0.19386266147404 ], [ 35.171388744903567, -0.193741911545902 ], [ 35.171521699605307, -0.193242122797635 ], [ 35.171560435322952, -0.192820000104007 ], [ 35.172128494454341, -0.191584875012886 ], [ 35.170806126678499, -0.19164276151564 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Squatter C2", "sub_field": "Squatter C2" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.168494846067141, -0.154531042682425 ], [ 35.167392142966513, -0.154914850594594 ], [ 35.167040151451147, -0.155039980546518 ], [ 35.16699968799297, -0.155233639515578 ], [ 35.167028727905148, -0.15581344573887 ], [ 35.167043012294307, -0.156474680496629 ], [ 35.167078766723243, -0.156713334375021 ], [ 35.167654171598222, -0.156666905606335 ], [ 35.168013492516643, -0.156630175075019 ], [ 35.168420165282598, -0.156600417188153 ], [ 35.169212952411129, -0.15656201180739 ], [ 35.169704378492298, -0.156555106252211 ], [ 35.169697285017449, -0.156010503638367 ], [ 35.169648881100457, -0.155246355337017 ], [ 35.169613795307342, -0.154979334380323 ], [ 35.169615902500823, -0.154184637536619 ], [ 35.168494846067141, -0.154531042682425 ] ] ] } },
|
||||
{ "type": "Feature", "properties": { "field": "Squatter C3b", "sub_field": "Squatter C3b" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 35.169719831496053, -0.154976460263602 ], [ 35.169766520609834, -0.155208523425611 ], [ 35.169799846675367, -0.155423070289023 ], [ 35.169803681584533, -0.155825013098432 ], [ 35.169811676030811, -0.156019462962641 ], [ 35.169840275228779, -0.156265721563753 ], [ 35.170245239414228, -0.15585355493392 ], [ 35.170728590766849, -0.155440834389137 ], [ 35.171129458843261, -0.155084136860932 ], [ 35.171561290950827, -0.154706262443067 ], [ 35.171972493130163, -0.15438681387062 ], [ 35.172428898146698, -0.154011770021825 ], [ 35.172419969277563, -0.153697994763962 ], [ 35.172395156987477, -0.153540970438237 ], [ 35.172331172451727, -0.153455091862199 ], [ 35.172211569354602, -0.153375262992992 ], [ 35.172191988450081, -0.153287651431873 ], [ 35.172199299636787, -0.153155245242884 ], [ 35.172272309326409, -0.153056140731789 ], [ 35.172275824159513, -0.15300623998947 ], [ 35.172234802960681, -0.152984749529633 ], [ 35.172106388234013, -0.153093198644215 ], [ 35.171954384704421, -0.153243193262472 ], [ 35.171710808638437, -0.153456133937085 ], [ 35.171362405984418, -0.153655852102972 ], [ 35.171253093041258, -0.153685501685968 ], [ 35.170799345436407, -0.154011449420042 ], [ 35.170492865636767, -0.154264489635118 ], [ 35.170492797972742, -0.154300863051376 ], [ 35.17043153064153, -0.154377781417527 ], [ 35.170086007840361, -0.154627078699505 ], [ 35.169833810205162, -0.154877034488077 ], [ 35.169719831496053, -0.154976460263602 ] ] ] } }
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue