Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update config file to new grammar. Add a demo project
git-svn-id: file:///tmp/tinyows-svn-mirror@61 5b3c568a-86f9-4a59-a47a-7be284f604b4
- Loading branch information
Olivier Courtin
committed
Feb 17, 2009
1 parent
89b6682
commit cb2b02c
Showing
13 changed files
with
93 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
======= | ||
1) Documentation HowTo Launch Demonstration | ||
======= | ||
Cf <http://tinyows.org/trac/tinyows/wiki/LaunchDemo> | ||
|
||
======= | ||
2) Datas | ||
======= | ||
World Administrative Boundaries | ||
http://www.cipotato.org/diva/data/misc/world_adm0.zip | ||
EPSG:4326 | ||
------- | ||
France Sub Administrative boundaries | ||
http://professionnels.ign.fr/DISPLAY/000/526/741/5267418/GEOFLA-dep-L2-SF.ZIP | ||
EPSG:27582 | ||
------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<tinyows online_resource="http://127.0.0.1/cgi-bin/tinyows" | ||
schema_dir="@prefix@/tinyows/schema/"/> | ||
|
||
<pg host="127.0.0.1" user="postgres" password="postgres" dbname="tinyows_test" port="5432"/> | ||
|
||
<contact name="TinyOWS Server" | ||
site="http://www.tinyows.org/" | ||
email="tinyows-users@lists.maptools.org" /> | ||
|
||
<layer retrievable="1" | ||
prefix="wld" | ||
server="http://www.tinyows.org/demo/world/" | ||
name="world" | ||
title="World Administrative Boundaries" /> | ||
|
||
<layer retrievable="1" | ||
prefix="dpt" | ||
server="http://www.tinyows.org/demo/france_dept/" | ||
name="france_dept" | ||
title="French Administrative Sub Boundaries (IGN - GeoFLA Departements)" /> | ||
|
||
</tinyows> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#/bin/sh | ||
|
||
PG_BIN=@POSTGIS_BIN@ | ||
PG_SHARE=@POSTGIS_SHARE@ | ||
DB=tinyows_demo | ||
|
||
echo "Create Spatial Database: $DB" | ||
$PG_BIN/dropdb $DB > /dev/null 2> /dev/null | ||
$PG_BIN/createdb $DB | ||
$PG_BIN/createlang plpgsql $DB | ||
$PG_BIN/psql $DB < $PG_SHARE/lwpostgis.sql | ||
$PG_BIN/psql $DB < $PG_SHARE/spatial_ref_sys.sql | ||
|
||
echo "Import layer data: world" | ||
$PG_BIN/shp2pgsql -s 4326 -I demo/world.shp world | $PG_BIN/psql $DB | ||
|
||
echo "Import layer data: france_dept" | ||
$PG_BIN/shp2pgsql -s 27582 -I -W latin1 demo/france_dept.shp france_dept | $PG_BIN/psql $DB | ||
|
||
echo "Demo Install - Done" |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters