Add Build GeoJSON Catch
This commit is contained in:
1 parent
a49f73236b
commit
73b8e6b04f
1 file changed
+3
@@ -92,6 +92,9 @@ if($sAction!='')
|
||||
case 'sql':
|
||||
$sResult = $oSpot->getDbBuildScript();
|
||||
break;
|
||||
case 'build_geojson':
|
||||
$sResult = $oSpot->buildGeoJSON($sName);
|
||||
break;
|
||||
default:
|
||||
$sResult = Main::getJsonResult(false, Main::NOT_FOUND);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user