Example to retrieve all WFS Features and store as shapefile with pandas and geopandas.
Setup:
conda create -n wfs_env -c conda-forge
conda activate wfs_env
conda install owslib geopandas requests
First, check capabilities in browser :
| ------------------------------------- | |
| Translated Report (Full Report Below) | |
| ------------------------------------- | |
| Process: Ice Cubes [32581] | |
| Path: /Applications/Ice Cubes.app/Contents/MacOS/Ice Cubes | |
| Identifier: com.thomasricouard.IceCubesApp | |
| Version: 1.11.2 (2887) | |
| App Item ID: 6444915884 | |
| App External ID: 869915156 |
Example to retrieve all WFS Features and store as shapefile with pandas and geopandas.
Setup:
conda create -n wfs_env -c conda-forge
conda activate wfs_env
conda install owslib geopandas requests
First, check capabilities in browser :
| -- show running queries (pre 9.2) | |
| SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
| FROM pg_stat_activity | |
| WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
| ORDER BY query_start desc; | |
| -- show running queries (9.2) | |
| SELECT pid, age(clock_timestamp(), query_start), usename, query | |
| FROM pg_stat_activity | |
| WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
Holger Haugk, Marcel Bäck, Werner Tomas, Sven Grams, Jakob Lindenthal, Marija Dragica, Gisela Kallebach, Daniel Gerber
Entwicklungspolitisches Netzwerk Sachsen e.V.
Ansprechpersonen
Anne Schicht, [email protected]
| cat /etc/init.d/prerender | |
| #!/bin/bash | |
| ### BEGIN INIT INFO | |
| # Provides: prerender | |
| # Required-Start: networking | |
| # Required-Stop: networking | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Run prerender collector as daemon | |
| # Description: Run prerender collector as daemon |
| /install.sh | |
| » Prerender-daemon installer v1.1.1 by Luciano Mammino | |
| » http://loige.com | |
| » https://github.com/lmammino/prerender-daemon | |
| Installing prerender-daemon | |
| npm http GET https://registry.npmjs.org/prerender | |
| npm http 200 https://registry.npmjs.org/prerender | |
| npm http GET https://registry.npmjs.org/lodash |