class: title-slide background-image: url("images/logos/IFSTTAR_logo_quadri.jpg") background-position: 70% 90% background-size: 60% .middle[ Are we going back to Command Line GIS ? .font80[Nicolas Roelandt FOSS4G 2019 - Bucarest (RO)] .font70[30 August 2019] ] --- # ## Speaker * Nicolas Roelandt * GIS Engineer at [IFSTTAR](https://ifsttar.fr) * OSGeo charter member, OSGeoLive PSC and OSGeo-fr board member ??? projects logos instead ? This is a fun and "exercice de pensée" / thinking out loud presentation. It creates more questions than it answers them. --- # Inspiration .center[![JD Long Tweet](images/20190830_FOSS4G_Command_line_GIS/2019-01-16 15_59_57-JD_Long_Command_line_GIS.png) ] ??? Source: https://twitter.com/CMastication/status/1116665247627120640 --- # Inspiration .center[![obrl_soil Tweet](images/20190830_FOSS4G_Command_line_GIS/2019-01-16 15_57_50-obrl_soil_cant_lure_older_colleagues_away.png) ] ??? Source: https://twitter.com/obrl_soil/status/1092763145037332481 --- # Content 1. What is Command Line GIS ? 2. What was Command Line GIS ? 3. What is Command Line GIS today ? 4. Are we gonna die ? --- background-image: url("images/R_hadley_wickam.gif") background-position: center background-size: 75% ### What is Command Line GIS ? ??? Insert hadley Wickham typing GIF Command line GIS is when you do processing task into: - in a terminal / console - in a script // toolbox - through APIs The gif show R but you can do GIS in lots of programming languages: Python, R, SQL, Bash APIs --- ### What was Command Line GIS back then ? .middle[.center[[GRASS 1987 video](https://grass.osgeo.org/grass_movie_CERL_1987/grass_movie_CERL_1987.mov)]] ??? insert clip of Wargames insert clip of GRASS GIS William Shatner --- ### What is Command Line GIS today ? -- * Python stack -- * R stack -- * Processing scripts .font60[(GRASS, SAGA, OTB)] -- * PostGIS / SQL ??? - Python stack : pyWPS, pyQGIS, Pandas/GeoPandas, Pysal - You can create maps with pyQGIS ! - R stack : SP/SF, spatial package, cartography, - PostGIS : it is a GIS even if you can't display things (well... You can now with pgAdmin 4) - Processing scripts --- background-image: url("images/buzz_APIs.jpg") background-position: center background-size: 75% ### What is Command Line GIS today ? ??? Insert Buzz l'éclair meme --- ## What is Command Line GIS today ? -- * APIs on the desktop .font60[(GRASS, OTB, SAGA, QGIS...)] -- * Server APIs .font60[GeoServer, MapServer, WPS Services, ...] ??? - GRASS, OTB, SAGA have powerfull APIs - so does GeoServer, MapServer and all server side applications --- ## What is Command Line GIS today ? ![GRASS GIS via mobile phone](images/2019-05-22 09_58_05-@luis_de_sousa.png) .font50[Credits [Luis De Sousa](https://twitter.com/luis_m_de_sousa/status/1130909266838208512/photo/1)] ??? APIs that you can call from your mobile phone. --- ## What is Command Line GIS today ? * one line commands -- * scripts -- * http requests --- ## What is Command Line GIS today ? Useful to tackle reproductibility issues: - Repetitive tasks, - OpenScience, - Big data, - automated reporting. ??? Nothing as changed ^^' But there is a demand for scripting and reproductibilty which tends to get command line GIS back Reproductibility issues: Openscience, big data automated reporting --- ## CLI or not CLI ? --- background-image: url("images/both_is_good.gif") background-position: center background-size: contain ## CLI or not CLI ? ??? Why not both ? You can use GUI for learning purpose or one shot and if you need reproductibilty, use CLI. If you use GUI, you can learn a lot by scripting your work If you use CLI, well GUI is not that bad. --- ### Are we going back to Command Line GIS ? -- .center[There is no getting back] .center[It has always been there.] --- class: title-slide background-image: url("images/logos/IFSTTAR_logo_quadri.jpg") background-position: 70% 90% background-size: 50% # ## Are we going back to Command Line GIS ? ### ### Nicolas Roelandt ### #### FOSS4G 2019 - Bucarest (RO) #### 30 August 2019 .white[ .font75[ * Twitter : [RoelandtN42](https://XXXXX) * Slides :] .font70[[roelandtn.frama.io/slides/20190830_FOSS4G_Command_line_GIS.html](https://roelandtn.frama.io/slides/20190830_FOSS4G_Command_line_GIS.html)] .font50[ Slides created with the R package [**xaringan**](https://github.com/yihui/xaringan) and Emi Tanaka's [**ninja theme**](https://github.com/emitanaka/ninja-theme).] ]