-
Notifications
You must be signed in to change notification settings - Fork 2
RL2_SQL_SCRIPT_BASH
mj10777 edited this page Oct 25, 2018
·
4 revisions
Calling a Sql-Script
- setting
SPATIALITE_SECURITY=relaxed
properly
<-- 'Index Page for RasterLite2 - Commands'
<-- 'Index Page for RasterLite2 - Database Creation'
#!/bin/bash
export "SPATIALITE_SECURITY=relaxed"
# ./build_berlin_tk_db.sh
# sudo echo /usr/local/lib >> /etc/ld.so.conf.d/local.conf
# sudo ldconfig
# ./build_berlin_stadt_postgrenzen_db.sh
sqlite3 1890.berlin_stadt_postgrenzen.db < build_1890.berlin_stadt_postgrenzen_db.sql
# wmslite -db 1890.berlin_stadt_postgrenzen.db &
# ======================================================
# WmsLite server startup
# ======================================================
# SQLite version: 3.7.17
# SpatiaLite version: 4.2.0-devel
# RasterLite2 version: 0.8
# ======================================================
# Publishing layer "berlin_stadtteilgrenzen.1880"
# Publishing layer "berlin_postgrenzen.1890"
# ======================================================
# HTTP micro-server listening on port: 8080
# ======================================================
# LibreWMS &
exit 0;
2014-05-12: Mark Johnson, Berlin Germany