Browse Source

Some GeoJSON fixes

Maurits van der Schee 5 years ago
parent
commit
92babcebc4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/Tqdev/PhpCrudApi/GeoJson/GeoJsonService.php

+ 1
- 1
src/Tqdev/PhpCrudApi/GeoJson/GeoJsonService.php View File

@@ -55,7 +55,7 @@ class GeoJsonService
55 55
             if (!isset($params['filter'])) {
56 56
                 $params['filter'] = array();
57 57
             }
58
-            $params['filter'][] = "$geometryColumnName,swi,POLYGON(($c[0] $c[1],$c[2] $c[1],$c[2] $c[3],$c[0] $c[3],$c[0] $c[1]))";
58
+            $params['filter'][] = "$geometryColumnName,sin,POLYGON(($c[0] $c[1],$c[2] $c[1],$c[2] $c[3],$c[0] $c[3],$c[0] $c[1]))";
59 59
         }
60 60
     }
61 61
 

Loading…
Cancel
Save