Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| -- Allow to list all layers with no spatial index | |
| -- To get the list | |
| -- SELECT * FROM create_missing_spatial_indexes(True); | |
| -- To create automatically the missing spatial indexes | |
| -- SELECT * FROM create_missing_spatial_indexes(False); | |
| DROP FUNCTION IF EXISTS create_missing_spatial_indexes(); | |
| DROP FUNCTION IF EXISTS create_missing_spatial_indexes( BOOLEAN ); | |
| CREATE OR REPLACE FUNCTION create_missing_spatial_indexes(simulate BOOLEAN DEFAULT FALSE) | |
| RETURNS TABLE ( |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000