GoMap icon indicating copy to clipboard operation
GoMap copied to clipboard

Draw ways via pencil/touch gestures

Open KovalevArtem opened this issue 3 years ago • 7 comments

I apologize for the title. I couldn't think of a better one 😔

https://user-images.githubusercontent.com/36500228/122786991-8e1f4d00-d2bd-11eb-9c4a-f49211c5792e.mp4

I'm pretty sure this is how editing should look like on touchscreen devices ...

Is it possible to implement it?

KovalevArtem avatar Jun 21 '21 15:06 KovalevArtem

It doesn't make sense for tracing to be the primary way of drawing lines, since most ways (streets and buildings) have straight sections connected by 90 degree corners, and tracing those accurately by hand is difficult. But I think there's an argument you could make for tracing natural features like you show.

bryceco avatar Jun 21 '21 17:06 bryceco

If someday Pencil support appears in the application, then using this editing method will be very convenient for adding vegetation and rivers, as it seems to me ...

KovalevArtem avatar Jun 21 '21 18:06 KovalevArtem

sent from a phone

On 21 Jun 2021, at 19:04, bryceco @.***> wrote:

It doesn't make sense for tracing to be the primary way of drawing lines, since most ways (streets and buildings) have straight sections connected by 90 degree corners, and tracing those accurately by hand is difficult.

for buildings this would probably fail, but for roads it depends on the context, in many areas of the world roads aren’t straight but are following the natural topography, especially in areas that aren’t flat.

dieterdreist avatar Jun 21 '21 18:06 dieterdreist

Adding Pencil support is probably the best way to get this, otherwise it requires adding a button/gesture to indicate you're in tracing mode. I was hoping to see a PR from @mormahr but I'll try add it to my list.

bryceco avatar Jun 21 '21 18:06 bryceco

I was waiting for the Swift conversion to land (as your comment on my issue suggested it would be good to wait for it to be stable).

mormahr avatar Jun 21 '21 18:06 mormahr

Oh, well it's pretty stable now so this is a good time 😃

bryceco avatar Jun 21 '21 18:06 bryceco

Once Pencil support is working we can evaluate how best to implement this for regular touch.

bryceco avatar Jun 21 '21 19:06 bryceco