Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,21 @@ You can use the Makefile to automatically setup ScribeUI for you, simply run:
make
sudo make install

This will download and installl the required dependencies, setup the differents
This will download and install the required dependencies, setup the differents
configurations files and install them in the proper directories.

NOTE: If you install ScribeUI on your 'localhost' on specific port, you have to modify "./config.py"
and specify "127.0.0.1:port" instead of "my_server_name" and restart apache.

ip=127.0.0.1:8080

Downloading template data is optional, but recommended for a better
experience:
experience. The basicscribe-data option is for a light download:

sudo make load-demo-data ==> (644Mb)
or

sudo make load-demo-data
sudo make load-basicscribe-data ==> (8Mb)

This will download some natural earth data and will help you get started with
ScribeUI by making templates readily working so you don't start with an empty
Expand Down
3 changes: 3 additions & 0 deletions application/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ create table pois (

-- INSERT INTO maps(map_id, map_name, map_type, map_desc, ws_id) VALUES("0","*OSM-GoogleLike", "Scribe","Template OSM-GoogleLike","0");
INSERT INTO maps(map_id, map_name, map_type, map_desc, ws_id) VALUES("1","*NaturalEarth", "Scribe", "Template Natural Earth","0");
INSERT INTO maps(map_id, map_name, map_type, map_desc, ws_id) VALUES("4","*BaseScribeMap", "Scribe", "Template Base Scribe Map","0");
INSERT INTO maps(map_id, map_name, map_type, map_desc, ws_id) VALUES("2","*OSM-Basemaps", "Basemaps", "Template Basemaps","0");
INSERT INTO maps(map_id, map_name, map_type, map_desc, ws_id) VALUES("3","*Standard", "Standard", "Template Standard","0");

Expand Down Expand Up @@ -67,4 +68,6 @@ INSERT INTO groups(group_name, group_index, map_id) VALUES("admin.map", "2", "3"
INSERT INTO groups(group_name, group_index, map_id) VALUES("ocean.map", "1", "3");
INSERT INTO groups(group_name, group_index, map_id) VALUES("land.map", "0", "3");

INSERT INTO groups(group_name, group_index, map_id) VALUES("base", "1", "4");

INSERT INTO pois(poi_name, latitude, longitude, scalelvl, ws_id) VALUES("Quebec - Quebec","46.83","-71.11","524288","0");
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Readme Map
----------

Scribe map project ...
3 changes: 3 additions & 0 deletions application/workspaces/templates/BaseScribeMap/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ORDER {
1: groups/base.layer
}
1 change: 1 addition & 0 deletions application/workspaces/templates/BaseScribeMap/data/readme
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
private data
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
LAYER {
1-16 {
NAME: 'land'
TYPE: POLYGON
@layerconfig
DATA {
1-5: '110m_physical/ne_110m_land'
6-10: '50m_physical/ne_50m_land'
11-16: '10m_physical/ne_10m_land'
}
CLASS {
STYLE {
COLOR: '#ffffff'
OUTLINECOLOR: '#66A3D2'
WIDTH:0.5
}
}
}
}
22 changes: 22 additions & 0 deletions application/workspaces/templates/BaseScribeMap/editor/layers
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

LAYERS {
LAYER {
1-16 {
NAME: 'land'
TYPE: POLYGON
@layerconfig
DATA {
1-5: '110m_physical/ne_110m_land'
6-10: '50m_physical/ne_50m_land'
11-16: '10m_physical/ne_10m_land'
}
CLASS {
STYLE {
COLOR: '#ffffff'
OUTLINECOLOR: '#66A3D2'
WIDTH:0.5
}
}
}
}
}
28 changes: 28 additions & 0 deletions application/workspaces/templates/BaseScribeMap/editor/map
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
MAP {
CONFIG: 'ON_MISSING_DATA' 'IGNORE'
CONFIG: "MS_ERRORFILE" "../debugFile.log"
CONFIG: 'PROJ_LIB' '../'
FONTSET: '../fonts.lst'
IMAGETYPE: png
MAXSIZE: 4000
SIZE: 800 800
UNITS: meters
EXTENT: -20000000 -20000000 20000000 20000000
IMAGECOLOR: '#ffffff'
SHAPEPATH: '../pdata/naturalEarth/'
WEB {
METADATA {{
"ows_enable_request" "*"
"wms_srs" "EPSG:900913 EPSG:4326"
"labelcache_map_edge_buffer" "-10"
"wms_title" "ScribeUI base map"
}}
IMAGEPATH: '/tmp/ms_tmp/'
IMAGEURL: '/ms_tmp/'
}
DEBUG: 5
PROJECTION {{
"init=epsg:900913"
}}
INCLUDE: '../symbols.map'
}
Loading