Skip to content
Snippets Groups Projects
Commit 6deccb3a authored by User expired's avatar User expired
Browse files

re-added some parts for neo4j-spatial and geoserver

parent ad2a4721
No related branches found
No related tags found
No related merge requests found
Showing
with 110 additions and 39 deletions
Upcoming version: Upcoming version:
----------------- -----------------
- re-added some parts for neo4j-spatial and geoserver (Nikolaus Krismer)
- fixed parameter order issue (Nikolaus Krismer) - fixed parameter order issue (Nikolaus Krismer)
- renamed datasets (Nikolaus Krismer) - renamed datasets (Nikolaus Krismer)
- added jenkins deploy mode (to prevent tomcat webapp deploy on dbis-tests) (Nikolaus Krismer) - added jenkins deploy mode (to prevent tomcat webapp deploy on dbis-tests) (Nikolaus Krismer)
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# This is used to configure the behavior of the various bootstrap scripts. # This is used to configure the behavior of the various bootstrap scripts.
############################# #############################
IMPORT_DATA_GEOSERVER=false
IMPORT_DATA_NEO4J_SPATIAL=true IMPORT_DATA_NEO4J_SPATIAL=true
IMPORT_DATA_POSTGIS=true IMPORT_DATA_POSTGIS=true
IMPORT_DATA_SPATIALITE=true IMPORT_DATA_SPATIALITE=true
......
...@@ -39,8 +39,15 @@ fn_arg2boolean DEPLOY_ALL_DATASETS "${3}" "${DEPLOY_ALL_DATASETS}" ...@@ -39,8 +39,15 @@ fn_arg2boolean DEPLOY_ALL_DATASETS "${3}" "${DEPLOY_ALL_DATASETS}"
# Configuration (tool versions, ...) # # Configuration (tool versions, ...) #
###################################### ######################################
CITY_POLYGON_DIR="${SHARED_CONF_DIR}/cityPolygons"
#DENSITY="60,120,180,240,300" #DENSITY="60,120,180,240,300"
DENSITY="100,200,300,400,500,600,700,800,900,1000" DENSITY="100,200,300,400,500,600,700,800,900,1000"
OSM_DOWNLOAD_MIRROR="http://download.geofabrik.de"
OSM_FILE_AUSTRIA="europe/austria-latest.osm.pbf"
OSM_FILE_ITALY="europe/italy-latest.osm.pbf"
OSM_FILE_US_CALIFORNIA="north-america/us/california-latest.osm.pbf"
OSM_FILE_US_DC="north-america/us/district-of-columbia-latest.osm.pbf"
OSM_KEYS="aerialway,highway,public_transport,railway,route"
############################ ############################
# Function definitions # # Function definitions #
...@@ -125,11 +132,26 @@ function fn_import_dataset_postgis() { ...@@ -125,11 +132,26 @@ function fn_import_dataset_postgis() {
} }
function fn_init_geoserver() { function fn_init_geoserver() {
# TODO: Do we really want to import data from OSM, so that it is available in geoserver (we publish data from within isochron-web to geoserver, but why should we do that with the raw data -> pgRouing comparison or similar?)
# TODO: Needs testing
if $AVAILABLE_NEO4J_SPATIAL; then if $AVAILABLE_NEO4J_SPATIAL; then
echo "Configuring neo4j data permissions for geoserver" echo "Configuring neo4j data permissions for geoserver"
chown -R $TOMCAT_USER:$TOMCAT_USER $DEPLOY_DIR/neo4j/data/graph.db chown -R $TOMCAT_USER:$TOMCAT_USER $DEPLOY_DIR/neo4j/data/graph.db
fi fi
echo "Preparing data from OpenStreetMap to be imported into geoserver"
fn_filter_osm_data "Bolzano" "${OSM_FILE_ITALY}"
fn_filter_osm_data "Innsbruck" "${OSM_FILE_AUSTRIA}"
fn_filter_osm_data "Salzburg" "${OSM_FILE_AUSTRIA}"
fn_filter_osm_data "SanFrancisco" "${OSM_FILE_US_CALIFORNIA}"
fn_filter_osm_data "WashingtonDC" "${OSM_FILE_US_DC}"
if $DEPLOY_ALL_DATASETS; then
fn_filter_osm_data "Italy" "${OSM_FILE_ITALY}"
fn_filter_osm_data "AltoAdige" "${OSM_FILE_ITALY}"
fi
# TODO: We need to import the data into the database before issuing to geoserver that there are tables available
echo "Configuring geoserver $GEOSERVER_VERSION using geoserver-shell $GEOSERVER_SHELL_VERSION" echo "Configuring geoserver $GEOSERVER_VERSION using geoserver-shell $GEOSERVER_SHELL_VERSION"
sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_ws.gs >> setup_geoserver_workspace.log 2>&1 sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_ws.gs >> setup_geoserver_workspace.log 2>&1
sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_styles.gs >> setup_geoserver_styles.log 2>&1 sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_styles.gs >> setup_geoserver_styles.log 2>&1
...@@ -140,11 +162,12 @@ function fn_init_geoserver() { ...@@ -140,11 +162,12 @@ function fn_init_geoserver() {
sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_neo4j_ft_bolzano.gs >> setup_geoserver_neo4j.log 2>&1 sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_neo4j_ft_bolzano.gs >> setup_geoserver_neo4j.log 2>&1
sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_neo4j_ft_innsbruck.gs >> setup_geoserver_neo4j.log 2>&1 sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_neo4j_ft_innsbruck.gs >> setup_geoserver_neo4j.log 2>&1
sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_neo4j_ft_sanfrancisco.gs >> setup_geoserver_neo4j.log 2>&1 sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_neo4j_ft_sanfrancisco.gs >> setup_geoserver_neo4j.log 2>&1
sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_neo4j_ft_washingtondc.gs >> setup_geoserver_neo4j.log 2>&1
if $DEPLOY_ALL_DATASETS; then if $DEPLOY_ALL_DATASETS; then
sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_neo4j_ft_italy.gs >> setup_geoserver_neo4j.log 2>&1 sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_neo4j_ft_italy.gs >> setup_geoserver_neo4j.log 2>&1
sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_neo4j_ft_altoadige.gs >> setup_geoserver_neo4j.log 2>&1 sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_neo4j_ft_altoadige.gs >> setup_geoserver_neo4j.log 2>&1
sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_neo4j_ft.gs >> setup_geoserver_neo4j.log 2>&1
fi fi
sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_neo4j_ft.gs >> setup_geoserver_neo4j.log 2>&1
fi fi
if $AVAILABLE_POSTGIS; then if $AVAILABLE_POSTGIS; then
# copy geoserver_setup_postgis_ds and replace username/password # copy geoserver_setup_postgis_ds and replace username/password
...@@ -156,11 +179,12 @@ function fn_init_geoserver() { ...@@ -156,11 +179,12 @@ function fn_init_geoserver() {
sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_postgis_ft_bolzano.gs >> setup_geoserver_postgis.log 2>&1 sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_postgis_ft_bolzano.gs >> setup_geoserver_postgis.log 2>&1
sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_postgis_ft_innsbruck.gs >> setup_geoserver_postgis.log 2>&1 sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_postgis_ft_innsbruck.gs >> setup_geoserver_postgis.log 2>&1
sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_postgis_ft_sanfrancisco.gs >> setup_geoserver_postgis.log 2>&1 sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_postgis_ft_sanfrancisco.gs >> setup_geoserver_postgis.log 2>&1
sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_postgis_ft_washingtondc.gs >> setup_geoserver_postgis.log 2>&1
if $DEPLOY_ALL_DATASETS; then if $DEPLOY_ALL_DATASETS; then
sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_postgis_ft_italy.gs >> setup_geoserver_postgis.log 2>&1 sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_postgis_ft_italy.gs >> setup_geoserver_postgis.log 2>&1
sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_postgis_ft_altoadige.gs >> setup_geoserver_postgis.log 2>&1 sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_postgis_ft_altoadige.gs >> setup_geoserver_postgis.log 2>&1
sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_postgis_ft.gs >> setup_geoserver_postgis.log 2>&1
fi fi
sh $DEPLOY_DIR/gs-shell/bin/gs-shell --cmdfile $SHARED_CONF_DIR/geoserver_setup_postgis_ft.gs >> setup_geoserver_postgis.log 2>&1
fi fi
} }
...@@ -193,6 +217,39 @@ function fn_import_spatialite() { ...@@ -193,6 +217,39 @@ function fn_import_spatialite() {
fi fi
} }
function fn_filter_osm_data() {
local NAME="$1"
local OSM_FILE="$2"
local CITY=${NAME// /}
CITY=${CITY,,}
local OSM_FILE_FILTERED="${city}_filtered.osm"
if $UPDATE_DATA && [ -f "$DATA_DIR/$OSM_FILE_FILTERED" ]; then
echo " - deleting outdated osm export (forced data update)"
rm -rf "$DATA_DIR/$OSM_FILE_FILTERED"
fi
if [ ! -f "$DATA_DIR/$OSM_FILE_FILTERED" ]; then
echo " - downloading cached OpenStreetMap file"
fn_download_newer $DOWNLOAD_DIR/$OSM_FILE_FILTERED $CACHE_DIR_REMOTE_DATA/$OSM_FILE_FILTERED
cp $DOWNLOAD_DIR/$OSM_FILE_FILTERED $DATA_DIR/$OSM_FILE_FILTERED >> /dev/null 2>&1
fi
if [ ! -f $DATA_DIR/$OSM_FILE_FILTERED ]; then
echo " - downloading OpenStreetMap file (no cached file found)"
OSM_FILENAME=$DOWNLOAD_DIR/${OSM_FILE##*/}
BOUNDING="${CITY_POLYGON_DIR}/${city}.poly"
fn_download_newer $OSM_FILENAME $OSM_DOWNLOAD_MIRROR/$OSM_FILE
if [[ "$BOUNDING" == *.poly ]]; then
echo " - filtering OpenStreetMap file"
$DEPLOY_DIR/osmosis/bin/osmosis --read-pbf file="$OSM_FILENAME" --bounding-polygon file="$BOUNDING_POLYGON" --way-key keyList="$OSM_KEYS" --used-node --write-xml file="$DATA_DIR/$OSM_FILE_FILTERED" >> "filter_osmData_$NAME.log" 2>&1
fi
fi
}
################ ################
# Data import # # Data import #
################ ################
...@@ -223,11 +280,12 @@ for CURRENT_SRID in "${SRID_ARR[@]}"; do ...@@ -223,11 +280,12 @@ for CURRENT_SRID in "${SRID_ARR[@]}"; do
fn_import_dataset "Innsbruck" "$CURRENT_SRID" fn_import_dataset "Innsbruck" "$CURRENT_SRID"
fn_import_dataset "Salzburg" "$CURRENT_SRID" fn_import_dataset "Salzburg" "$CURRENT_SRID"
fn_import_dataset "SanFrancisco" "$CURRENT_SRID" fn_import_dataset "SanFrancisco" "$CURRENT_SRID"
fn_import_dataset "WashingtonDC" "$CURRENT_SRID"
if $DEPLOY_ALL_DATASETS; then if $DEPLOY_ALL_DATASETS; then
fn_import_dataset "Italy" "$CURRENT_SRID" fn_import_dataset "Italy" "$CURRENT_SRID"
fn_import_dataset "AltoAdige" "$CURRENT_SRID" fn_import_dataset "AltoAdige" "$CURRENT_SRID"
fi fi
# Not importing datasets one-by-one into spatialite -> we copy data from postgis (after postgis data import) # Not importing datasets one-by-one into spatialite -> we copy data from postgis (after postgis data import)
if $IMPORT_DATA_SPATIALITE; then if $IMPORT_DATA_SPATIALITE; then
fn_import_spatialite "$CURRENT_SRID" fn_import_spatialite "$CURRENT_SRID"
......
geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver
#layer group create --workspace isochrone --layers n4j_bz_ways,n4j_ibk_ways --name n4j_ways --styles line,line #layer group create --workspace isochrone --layers n4j_bolzano_ways,n4j_innsbruck_ways --name n4j_ways --styles line,line
geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver
# ToDo: Create featuretype for datastore "Neo4j" and public roads in southern tyrol # ToDo: Create featuretype for datastore "Neo4j" and public roads in southern tyrol (alto adige)
# featuretype publish --workspace isochrone --datastore Neo4J --featuretype /opt/southtyrol-131201-filtered.osm # featuretype publish --workspace isochrone --datastore Neo4J --featuretype /opt/altoadige-filtered.osm
# featuretype create --workspace isochrone --datastore Neo4J --featuretype /opt/southtyrol-131201-filtered.osm --enabled true --advertised true --title neo4j_st_ways --srs EPSG:4326 --schema "the_geom:LineString:srid=4326" --projectionpolicy FORCE_DECLARED # featuretype create --workspace isochrone --datastore Neo4J --featuretype /opt/altoadige-filtered.osm --enabled true --advertised true --title n4j_altoadige_ways --srs EPSG:4326 --schema "the_geom:LineString:srid=4326" --projectionpolicy FORCE_DECLARED
\ No newline at end of file
geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver
# ToDo: Create featuretype for datastore "Neo4j" and public roads in bozen # ToDo: Create featuretype for datastore "Neo4j" and public roads in bozen
# featuretype publish --workspace isochrone --datastore Neo4J --featuretype /opt/bozen-131201-filtered.osm # featuretype publish --workspace isochrone --datastore Neo4J --featuretype /opt/bolzano-filtered.osm
# featuretype create --workspace isochrone --datastore Neo4J --featuretype /opt/bozen-131201-filtered.osm --enabled true --advertised true --title neo4j_bz_ways --srs EPSG:4326 --schema "the_geom:LineString:srid=4326" --projectionpolicy FORCE_DECLARED # featuretype create --workspace isochrone --datastore Neo4J --featuretype /opt/bolzano-filtered.osm --enabled true --advertised true --title n4j_bolzano_ways --srs EPSG:4326 --schema "the_geom:LineString:srid=4326" --projectionpolicy FORCE_DECLARED
\ No newline at end of file
geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver
# ToDo: Create featuretype for datastore "Neo4j" and public roads in innsbruck # ToDo: Create featuretype for datastore "Neo4j" and public roads in Innsbruck
# featuretype publish --workspace isochrone --datastore Neo4J --featuretype /opt/innsbruck-131201-filtered.osm # featuretype publish --workspace isochrone --datastore Neo4J --featuretype /opt/innsbruck-filtered.osm
# featuretype create --workspace isochrone --datastore Neo4J --featuretype /opt/innsbruck-131201-filtered.osm --enabled true --advertised true --title neo4j_ibk_ways --srs EPSG:4326 --schema "the_geom:LineString:srid=4326" --projectionpolicy FORCE_DECLARED # featuretype create --workspace isochrone --datastore Neo4J --featuretype /opt/innsbruck-filtered.osm --enabled true --advertised true --title neo4j_innsbruck_ways --srs EPSG:4326 --schema "the_geom:LineString:srid=4326" --projectionpolicy FORCE_DECLARED
geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver
# ToDo: Create featuretype for datastore "Neo4j" and public roads in italy # ToDo: Create featuretype for datastore "Neo4j" and public roads in Italy
# featuretype publish --workspace isochrone --datastore Neo4J --featuretype /opt/italy-131201-filtered.osm # featuretype publish --workspace isochrone --datastore Neo4J --featuretype /opt/italy-filtered.osm
# featuretype create --workspace isochrone --datastore Neo4J --featuretype /opt/italy-131201-filtered.osm --enabled true --advertised true --title neo4j_it_ways --srs EPSG:4326 --schema "the_geom:LineString:srid=4326" --projectionpolicy FORCE_DECLARED # featuretype create --workspace isochrone --datastore Neo4J --featuretype /opt/italy-filtered.osm --enabled true --advertised true --title n4j_italy_ways --srs EPSG:4326 --schema "the_geom:LineString:srid=4326" --projectionpolicy FORCE_DECLARED
\ No newline at end of file
geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver
# ToDo: Create featuretype for datastore "Neo4j" and public roads in italy # ToDo: Create featuretype for datastore "Neo4j" and public roads in SanFrancisco
# featuretype publish --workspace isochrone --datastore Neo4J --featuretype /opt/sanfrancisco-131201-filtered.osm # featuretype publish --workspace isochrone --datastore Neo4J --featuretype /opt/sanfrancisco-filtered.osm
# featuretype create --workspace isochrone --datastore Neo4J --featuretype /opt/sanfrancisco-131201-filtered.osm --enabled true --advertised true --title neo4j_sf_ways --srs EPSG:4326 --schema "the_geom:LineString:srid=4326" --projectionpolicy FORCE_DECLARED # featuretype create --workspace isochrone --datastore Neo4J --featuretype /opt/sanfrancisco-filtered.osm --enabled true --advertised true --title n4j_sanfrancisco_ways --srs EPSG:4326 --schema "the_geom:LineString:srid=4326" --projectionpolicy FORCE_DECLARED
\ No newline at end of file
geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver
# ToDo: Create featuretype for datastore "Neo4j" and public roads in SanFrancisco
# featuretype publish --workspace isochrone --datastore Neo4J --featuretype /opt/washingtondc-filtered.osm
# featuretype create --workspace isochrone --datastore Neo4J --featuretype /opt/washingtondc-filtered.osm --enabled true --advertised true --title n4j_washingtondc_ways --srs EPSG:4326 --schema "the_geom:LineString:srid=4326" --projectionpolicy FORCE_DECLARED
geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver
layer group create --workspace isochrone --layers pg_bz_ways,pg_ibk_ways --name pg_ways --styles line,line layer group create --workspace isochrone --layers pg_bolzano_ways,pg_innsbruck_ways --name pg_ways --styles line,line
geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver
postgis featuretype publish --workspace isochrone --datastore PostGIS --table st_ways postgis featuretype publish --workspace isochrone --datastore PostGIS --table osm_altoadige_ways
featuretype modify --workspace isochrone --datastore PostGIS --featuretype "st_ways" --name "pg_st_ways" featuretype modify --workspace isochrone --datastore PostGIS --featuretype "osm_altoadige_ways" --name "altoadige_ways"
featuretype modify --workspace isochrone --datastore PostGIS --featuretype "pg_st_ways" --title "Ways in SouthTyrol" featuretype modify --workspace isochrone --datastore PostGIS --featuretype "altoadige_ways" --title "Ways in SouthTyrol"
featuretype modify --workspace isochrone --datastore PostGIS --featuretype "pg_st_ways" --enabled true featuretype modify --workspace isochrone --datastore PostGIS --featuretype "altoadige_ways" --enabled true
geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver
postgis featuretype publish --workspace isochrone --datastore PostGIS --table bz_ways postgis featuretype publish --workspace isochrone --datastore PostGIS --table osm_bolzano_ways
featuretype modify --workspace isochrone --datastore PostGIS --featuretype "bz_ways" --name "pg_bz_ways" featuretype modify --workspace isochrone --datastore PostGIS --featuretype "osm_bolzano_ways" --name "bolzano_ways"
featuretype modify --workspace isochrone --datastore PostGIS --featuretype "pg_bz_ways" --title "Ways in Bozen" featuretype modify --workspace isochrone --datastore PostGIS --featuretype "bolzano_ways" --title "Ways in Bozen"
featuretype modify --workspace isochrone --datastore PostGIS --featuretype "pg_bz_ways" --enabled true featuretype modify --workspace isochrone --datastore PostGIS --featuretype "bolzano_ways" --enabled true
geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver
postgis featuretype publish --workspace isochrone --datastore PostGIS --table ibk_ways postgis featuretype publish --workspace isochrone --datastore PostGIS --table osm_innsbruck_ways
featuretype modify --workspace isochrone --datastore PostGIS --featuretype "ibk_ways" --name "pg_ibk_ways" featuretype modify --workspace isochrone --datastore PostGIS --featuretype "osm_innsbruck_ways" --name "innsbruck_ways"
featuretype modify --workspace isochrone --datastore PostGIS --featuretype "pg_ibk_ways" --title "Ways in Innsbruck" featuretype modify --workspace isochrone --datastore PostGIS --featuretype "innsbruck_ways" --title "Ways in Innsbruck"
featuretype modify --workspace isochrone --datastore PostGIS --featuretype "pg_ibk_ways" --enabled true featuretype modify --workspace isochrone --datastore PostGIS --featuretype "innsbruck_ways" --enabled true
geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver
postgis featuretype publish --workspace isochrone --datastore PostGIS --table it_ways postgis featuretype publish --workspace isochrone --datastore PostGIS --table osm_italy_ways
featuretype modify --workspace isochrone --datastore PostGIS --featuretype "it_ways" --name "pg_it_ways" featuretype modify --workspace isochrone --datastore PostGIS --featuretype "osm_italy_ways" --name "italy_ways"
featuretype modify --workspace isochrone --datastore PostGIS --featuretype "pg_it_ways" --title "Ways in Italy" featuretype modify --workspace isochrone --datastore PostGIS --featuretype "italy_ways" --title "Ways in Italy"
featuretype modify --workspace isochrone --datastore PostGIS --featuretype "pg_it_ways" --enabled true featuretype modify --workspace isochrone --datastore PostGIS --featuretype "italy_ways" --enabled true
geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver
postgis featuretype publish --workspace isochrone --datastore PostGIS --table sf_ways postgis featuretype publish --workspace isochrone --datastore PostGIS --table osm_sanfrancisco_ways
featuretype modify --workspace isochrone --datastore PostGIS --featuretype "sf_ways" --name "pg_sf_ways" featuretype modify --workspace isochrone --datastore PostGIS --featuretype "osm_sanfrancisco_ways" --name "sanfrancisco_ways"
featuretype modify --workspace isochrone --datastore PostGIS --featuretype "pg_sf_ways" --title "Ways in SanFrancisco" featuretype modify --workspace isochrone --datastore PostGIS --featuretype "sanfrancisco_ways" --title "Ways in SanFrancisco"
featuretype modify --workspace isochrone --datastore PostGIS --featuretype "pg_sf_ways" --enabled true featuretype modify --workspace isochrone --datastore PostGIS --featuretype "sanfrancisco_ways" --enabled true
geoserver set --url http://localhost:8080/geoserver --user admin --password geoserver
postgis featuretype publish --workspace isochrone --datastore PostGIS --table osm_washingtondc_ways
featuretype modify --workspace isochrone --datastore PostGIS --featuretype "osm_washingtondc_ways" --name "washingtondc_ways"
featuretype modify --workspace isochrone --datastore PostGIS --featuretype "washingtondc_ways" --title "Ways in Washington,D.C."
featuretype modify --workspace isochrone --datastore PostGIS --featuretype "washingtondc_ways" --enabled true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment