# Geoprocessing in a bookmark

**URL:** <https://community.riskscape.org.nz/t/geoprocessing-in-a-bookmark/162>\
**Category:** Community\
**Created:** [21 March 2024 01:17 UTC](https://community.riskscape.org.nz/t/geoprocessing-in-a-bookmark/162 "2024-03-21T01:17:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JPowell](https://avatars.discourse-cdn.com/v4/letter/j/bbce88/32.png) [@JPowell](https://community.riskscape.org.nz/u/JPowell)\
**Post date:** [21 March 2024 01:17 UTC](https://community.riskscape.org.nz/t/geoprocessing-in-a-bookmark/162/1 "2024-03-21T01:17:47Z")

</div>

Is it possible to add geoprocessing into a bookmark?

E.G

```auto
[Stop_Banks]
location = Data/Assets/Stopbanks.gpkg
enlarge = true
enlarge-by[mode] = ROUNDED_ROUNDED
enlarge-by[distance] = 50

```

---

<div class="post-metadata">

**Author:** ![timbeale](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@timbeale](https://community.riskscape.org.nz/u/timbeale)\
**Post date:** [21 March 2024 01:43 UTC](https://community.riskscape.org.nz/t/geoprocessing-in-a-bookmark/162/2 "2024-03-21T01:43:13Z")

</div>

In this case, you might be able to do something like:

```auto
[Stop_Banks]
location = Data/Assets/Stopbanks.gpkg
set-attribute.geometry = buffer(geometry, 50)

```

---

<div class="post-metadata">

**Author:** ![JPowell](https://avatars.discourse-cdn.com/v4/letter/j/bbce88/32.png) [@JPowell](https://community.riskscape.org.nz/u/JPowell)\
**Post date:** [21 March 2024 01:52 UTC](https://community.riskscape.org.nz/t/geoprocessing-in-a-bookmark/162/3 "2024-03-21T01:52:53Z")

</div>

> [@timbeale](#):
>
> `set-attribute.geometry = buffer(geometry, 50)`

Thanks Tim that works. Oddly the output is 7.7 MB vs 6.7 if the buffer is done in the pipline. The data all looks fine though.

```auto
input(relation: 'Stop_Banks')
 -> select(buffer(geom, 50))
 -> save(name: 'output', format: 'geopackage') 

```

---

<div class="post-metadata">

**Author:** ![JPowell](https://avatars.discourse-cdn.com/v4/letter/j/bbce88/32.png) [@JPowell](https://community.riskscape.org.nz/u/JPowell)\
**Post date:** [24 March 2024 19:33 UTC](https://community.riskscape.org.nz/t/geoprocessing-in-a-bookmark/162/4 "2024-03-24T19:33:34Z")

</div>

In the tutorial there is a command to remove the overlap of the buffered shapes

```auto
input-exposures.enlarge-by[remove-overlaps] = true

```

What would be the equivalent here?

---

<div class="post-metadata">

**Author:** ![timbeale](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@timbeale](https://community.riskscape.org.nz/u/timbeale)\
**Post date:** [25 March 2024 01:12 UTC](https://community.riskscape.org.nz/t/geoprocessing-in-a-bookmark/162/5 "2024-03-25T01:12:49Z")

</div>

Unfortunately there’s no equivalent here. The `enlarge` in the wizard uses a pipeline step, so it has some extra functionality above and beyond the `buffer()` function.

We do have something in our backlog to make it easier to mix and match pipelines and bookmarks.
