Skip to content

Commit 58b0b31

Browse files
authored
Update cs_qgisprocess_en.tex
1 parent e398885 commit 58b0b31

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

cs_qgisprocess_en.tex

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
\begin{tikzpicture}[remember picture,overlay]
5757
\node[fill=mycolor, text=white, minimum width=\paperwidth, minimum height=0.7cm, anchor=south] at (current page.south) {};
5858
\node[anchor=east, text=white, yshift=0.35cm, xshift=-14.5cm] at (current page.south) {\textcolor{white}{\textbf{Created by Antony Barja}}};
59-
\node[anchor=center, text=white, yshift=0.35cm, xshift= 14.5cm] at (current page.south) {\textcolor{white}{\textbf{Revised by Floris Vanderhaeghe and updated: 23/06/2023}}};
59+
\node[anchor=center, text=white, yshift=0.35cm, xshift= 13.5cm] at (current page.south) {\textcolor{white}{\textbf{Revised by Floris Vanderhaeghe and updated: 23/06/2023}}};
6060
\end{tikzpicture}
6161
}
6262
\renewcommand{\footrulewidth}{0pt}
@@ -255,11 +255,12 @@
255255
\begin{lstlisting}
256256
qgisprocess also provides
257257
qgis_run_algorithm_p() that works
258-
\end{lstlisting}
259258
better in pipelines.
259+
\end{lstlisting}
260260
\end{minipage}
261261

262262
\begin{lstlisting}[style=Rstyle]
263+
# Buffer processing
263264
> library(sf)
264265
> system.file(
265266
'longlake/longlake_depth.gpkg',
@@ -268,24 +269,21 @@
268269
qgis_run_algorithm_p(
269270
algorithm = 'native:buffer',
270271
DISTANCE = 100
271-
) |>
272-
st_as_sf( ) |>
273-
plot( )
274-
275-
> qgis_fun(...)
272+
) |> st_as_sf() |>
273+
plot()
276274
\end{lstlisting}
277275

278276
% Workflow %
279277
\begin{minipage}{\linewidth}
280278
\vspace{12pt}
281-
\textbf{\fontsize{20}{5}\selectfont \textbf{Workflow}}\vspace{8pt}\\
282-
Attached are 2 example workflows in vector and raster data.
279+
\textbf{\fontsize{44}{44}\selectfont \textbf{Workflow}}\vspace{8pt}\\
283280
\end{minipage}
284281

285282
\begin{tikzpicture}
286283
\node[mybox,text width=11.5cm] (box)
287284
{\\
288285
\begin{lstlisting}[breaklines=true,style=Rstyle]
286+
# Hexagrid of 400x400
289287
> library(sf)
290288
> grid_fun <- qgis_function('native:creategrid')
291289
> grid_fun(
@@ -295,10 +293,10 @@
295293
VSPACING = 400,
296294
CRS = 'EPSG:26920',
297295
OUTPUT = 'grid'
298-
) |>
299-
st_as_sf() |>
300-
select(id) |>
301-
plot()
296+
) |>
297+
st_as_sf() |>
298+
select(id) |>
299+
plot()
302300
\end{lstlisting}
303301
};
304302
\node[fancytitle, right=0pt, yshift=6pt] at (box.north west) {Vector data};
@@ -307,6 +305,7 @@
307305
\node[mybox,text width=11.5cm] (box)
308306
{
309307
\begin{lstlisting}[breaklines=true,style=Rstyle]
308+
# TWI processing
310309
> library(stars)
311310
> dem <- read_stars(
312311
system.file(
@@ -325,4 +324,4 @@
325324
\node[fancytitle, right=0pt,yshift=6pt] at (box.north west) {Raster data};
326325
\end{tikzpicture}
327326
\end{multicols*}
328-
\end{document}
327+
\end{document}

0 commit comments

Comments
 (0)