R mapping line offsets

28 views
Skip to first unread message

Arthur Barros

unread,
Mar 22, 2023, 11:37:40 AM3/22/23
to Bay-Delta Data Science Project Work Team
Hi all, I'm trying to find an efficient way of replicating the 'Symbology Offset Effect' you can do in ArcPro (see image) but in R? I'm trying to replicate the line offsets done for the map in the attached image, but I'm stubborn and want to code it, and haven't learned python yet. I'm thinking something along the lines of single sided buffer but haven't had much luck with that yet.

Thanks!

arcpro_offset.png

Bashevkin, Sam@Waterboards

unread,
Mar 22, 2023, 4:11:41 PM3/22/23
to Arthur Barros, Bay-Delta Data Science Project Work Team

Hi Arthur,

 

It looks like the sf package should have functionality for this via the singleSide parameter in the st_buffer function: https://github.com/r-spatial/sf/issues/1001

 

Best,
Sam

 

From: bay-delta-...@googlegroups.com <bay-delta-...@googlegroups.com> On Behalf Of Arthur Barros
Sent: Wednesday, March 22, 2023 8:38 AM
To: Bay-Delta Data Science Project Work Team <bay-delta-...@googlegroups.com>
Subject: [bay-delta-datascience] R mapping line offsets

 

EXTERNAL:

 

Hi all, I'm trying to find an efficient way of replicating the 'Symbology Offset Effect' you can do in ArcPro (see image) but in R? I'm trying to replicate the line offsets done for the map in the attached image, but I'm stubborn and want to code it, and haven't learned python yet. I'm thinking something along the lines of single sided buffer but haven't had much luck with that yet.

 

Thanks!


--
https://interagencyecologicalprogram.github.io/DataScience/
---
You received this message because you are subscribed to the Google Groups "Bay-Delta Data Science Project Work Team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bay-delta-datasc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bay-delta-datascience/eb736dff-dfc9-4609-b24c-f147600cd5d6n%40googlegroups.com.

Reply all
Reply to author
Forward
Message has been deleted
0 new messages