155GIS2 / 11. cvičení: Porovnání verzí
m (→OGC WPS) |
m (→OGC WPS) |
||
(Není zobrazeno 32 mezilehlých verzí od stejného uživatele.) | |||
Řádek 1: | Řádek 1: | ||
{{GIS}} | {{GIS}} | ||
{{Cvičení|155GIS2| | {{Cvičení|155GIS2|11|Geoprocessing, WPS, publikování procesů}} | ||
== Základní pojmy == | == Základní pojmy == | ||
* | * {{wikipedia|Geoprocessing|lang=en}} | ||
* [http://www.opengeospatial.org/standards/wps OGC Web Processing Service] | |||
** [http:// | ** [http://training.gismentors.eu/open-source-gis/server/index.html Architektura Server-Klient] | ||
** [http:// | ** [http://training.gismentors.eu/open-source-gis/standardy/ogc/index.html#index-1 Webové služby OGC] | ||
* [https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/share-analysis/what-is-a-geoprocessing-service.htm Esri Geoprocessing service] | |||
{{fig|arcgis-geoprocessing-service|Volání geoprocessingové služby z prostředí ArcGIS Pro|size=700px}} | |||
== Užitečné odkazy == | == Užitečné odkazy == | ||
<!-- | |||
* [http://training.gismentors.eu/grass-gis-pokrocily/skripty/index.html Skriptování v systému GRASS] | * [http://training.gismentors.eu/grass-gis-pokrocily/skripty/index.html Skriptování v systému GRASS] | ||
* [http://training.gismentors.eu/geopython-pokrocily/gdal/index.html Ukázky Python skriptů pro GDAL] | * [http://training.gismentors.eu/geopython-pokrocily/gdal/index.html Ukázky Python skriptů pro GDAL] | ||
* [http://training.gismentors.eu/geopython-zacatecnik/ Školení GeoPython] | * [http://training.gismentors.eu/geopython-zacatecnik/ Školení GeoPython] | ||
--> | |||
=== OGC WPS === | === OGC WPS === | ||
''Příklady dotazů:'' | ''Příklady dotazů:'' | ||
<!-- | |||
* [http://geo102.fsv.cvut.cz/services/yfsgwps?service=wps&version=1.0.0&request=GetCapabilities GetCapabilities] | * [http://geo102.fsv.cvut.cz/services/yfsgwps?service=wps&version=1.0.0&request=GetCapabilities GetCapabilities] | ||
* viewshed-4 | * viewshed-4 | ||
Řádek 29: | Řádek 28: | ||
** [http://geo102.fsv.cvut.cz/services/yfsgwps?service=wps&version=1.0.0&identifier=viewshed-4&datainputs=%5Bobs_x=1550820.86;obs_y=6542921.33%5D&request=execute Execute] | ** [http://geo102.fsv.cvut.cz/services/yfsgwps?service=wps&version=1.0.0&identifier=viewshed-4&datainputs=%5Bobs_x=1550820.86;obs_y=6542921.33%5D&request=execute Execute] | ||
** Ukázka jednoduché webové aplikace: http://geo102.fsv.cvut.cz/~landa/vyuka/155YFSG/viewshed/ | ** Ukázka jednoduché webové aplikace: http://geo102.fsv.cvut.cz/~landa/vyuka/155YFSG/viewshed/ | ||
* | --> | ||
* | * GetCapabilities: https://rain1.fsv.cvut.cz/services/wps?service=wps&version=1.0.0&request=GetCapabilities | ||
* | * DescribeProcess: https://rain1.fsv.cvut.cz/services/wps?service=wps&version=1.0.0&request=DescribeProcess&identifier=d-rain-point | ||
* Execute: https://rain1.fsv.cvut.cz/services/wps?service=wps&version=1.0.0&request=Execute&identifier=d-rain-point&datainputs=obs_x=15;obs_y=50;return_period=N2;rainlength=120 | |||
Ukázka jednoduché webové aplikace: https://rain1.fsv.cvut.cz/webapp/d-rain-point/ | |||
<!-- | |||
* https://rain1.fsv.cvut.cz/services/wps?service=wps&version=1.0.0&request=DescribeProcess&identifier=d-rain-shp | |||
* https://rain1.fsv.cvut.cz/services/wps?service=wps&version=1.0.0&request=Execute&identifier=d-rain-shp&datainputs=input=@xlink:href=http://rain.fsv.cvut.cz/geodata/test.gml;return_period=N2,N5,N10;rainlength=120 | |||
--> | |||
<!-- | |||
; Materiály | |||
* {{freegis|PyWPS}} | * {{freegis|PyWPS}} | ||
* [http://training.gismentors.eu/grass-gis-pokrocily/pywps/index.html PyWPS a GRASS GIS] | * [http://training.gismentors.eu/grass-gis-pokrocily/pywps/index.html PyWPS a GRASS GIS] | ||
* [http://training.gismentors.eu/grass-gis-workshop-jena/units/27.html Workshop Jena] | |||
--> | |||
{{fig|qgis-wps-volani|Volání služby WPS z prostředí programu QGIS [https://github.com/OpenGeoLabs/qgis-wps-plugin/archive/refs/heads/master.zip WPS plugin] [https://github.com/OpenGeoLabs/qgis-wps-plugin/blob/master/tests/rain_sample_data.gpkg data] (https://rain1.fsv.cvut.cz/services/wps)|size=700px}} | |||
<!-- | |||
== Poznámky k systému GRASS == | == Poznámky k systému GRASS == | ||
Řádek 45: | Řádek 56: | ||
Řešení {{freegis|PyWPS / GRASS analýza viditelnosti|analýzy viditelnosti}} z portálu {{freegis|FreeGIS}}. | Řešení {{freegis|PyWPS / GRASS analýza viditelnosti|analýzy viditelnosti}} z portálu {{freegis|FreeGIS}}. | ||
--> | |||
== Úlohy == | == Úlohy == | ||
{{arccr500}} | {{arccr500}} | ||
<!-- | |||
=== GRASS GIS & PyWPS === | |||
[http://training.gismentors.eu/grass-gis-zacatecnik/rastrova_data/analyza-nakladu.html Rastrová analýza nákladů] | * [http://training.gismentors.eu/grass-gis-zacatecnik/rastrova_data/analyza-nakladu.html Rastrová analýza nákladů] {{bullet}} [http://training.gismentors.eu/grass-gis-pokrocily/_static/skripty/costpath.py skript] | ||
* http://geo102.fsv.cvut.cz/services/yfsgwps | ** http://geo102.fsv.cvut.cz/services/yfsgwps | ||
** [http://geo102.fsv.cvut.cz/services/yfsgwps?service=wps&version=1.0.0&request=DescribeProcess&identifier=costpath DescribeProcess] | *** [http://geo102.fsv.cvut.cz/services/yfsgwps?service=wps&version=1.0.0&request=DescribeProcess&identifier=costpath DescribeProcess] | ||
** [http://geo102.fsv.cvut.cz/services/yfsgwps?service=wps&version=1.0.0&identifier=costpath&datainputs=%5Bstart=-779195,-989045;end=-762533,-992201%5D&request=execute Execute] | *** [http://geo102.fsv.cvut.cz/services/yfsgwps?service=wps&version=1.0.0&identifier=costpath&datainputs=%5Bstart=-779195,-989045;end=-762533,-992201%5D&request=execute Execute] | ||
* [http://geo102.fsv.cvut.cz/vyuka/155GIS2/gis2_11_obce_psc.zip obce_psc] | |||
--> | |||
=== Esri Geoprocessing service === | |||
<!-- | * [http://geo.fsv.cvut.cz/vyuka/155gis2/buffer_final.py skript] | ||
* <!--[http://rain2.fsv.cvut.cz/arcgis/rest/services/idw0/gpserver/idw služba]--> | |||
--> | |||
Aktuální verze z 30. 11. 2022, 21:58
Geoprocessing, WPS, publikování procesů
Základní pojmy
Užitečné odkazy
OGC WPS
Příklady dotazů:
- GetCapabilities: https://rain1.fsv.cvut.cz/services/wps?service=wps&version=1.0.0&request=GetCapabilities
- DescribeProcess: https://rain1.fsv.cvut.cz/services/wps?service=wps&version=1.0.0&request=DescribeProcess&identifier=d-rain-point
- Execute: https://rain1.fsv.cvut.cz/services/wps?service=wps&version=1.0.0&request=Execute&identifier=d-rain-point&datainputs=obs_x=15;obs_y=50;return_period=N2;rainlength=120
Ukázka jednoduché webové aplikace: https://rain1.fsv.cvut.cz/webapp/d-rain-point/
Úlohy
V následujících úlohách budeme, pokud nebude uvedeno jinak, používat data z datové sady ArcCR500. Tato datová sada je poskytovaná firmou ArcData zdarma.
V učebně B-870 jdou data nainstalována v adresáři
S:\K155\Public\data\ArcGIS\ArcCR500 3.3
Přístupová práva k tomu adresáři jsou omezena pouze na čtení! Nelze tedy datové vrstvy z ArcCR500 upravovat (včetně např. vytváření pyramid).