Id: wishlist: recipes feature

Created on 14 Sep 2019  Â·  6Comments  Â·  Source: openstreetmap/iD

[I realise even if others think this is a good idea it would be far-off in the roadmap, but I thought it would be good to put it into tracking regardless (even if it's just "follow this issue instead of asking us about it").]

I'm not sure where the best place to store them would be, but I think it would be useful to have 'recipes' -- bits of mapping that will be largely the same all over the world. For example, regulation sports fields/courts squared and dimensioned to the right size. It seems a logical progression from presets.

Like the brand index, one would have to be careful to make clear what could be considered default (in the example, sport=[blah]) and what would likely need to be customised by the mapper (surface=[material]).

new-feature wontfix

All 6 comments

Interesting idea! Reminds me of clip art in presentation software and models in 3D modeling software.

I wonder what the workflow would be like: would there be a preset specifically for a regulation baseball field, such that selecting the preset would be equivalent to pasting a prefabricated set of features? Would iD automatically enter move mode, and would the user have a discoverable way to enter rotate mode (since features are rarely north-aligned)?

That's what I imagine, although I realise it reverses the current workflow of draw ==> tag in the case of a recipe, so to avoid confusion recipes should probably be visually (and otherwise for accessibility) distinguished from other presets even if they appear in the same search/browse pane results.

I'm not sure where the best place to store them would be, but I think it would be useful to have 'recipes' -- bits of mapping that will be largely the same all over the world. For example, regulation sports fields/courts squared and dimensioned to the right size. It seems a logical progression from presets.

Ok, so - fun fact.. Mercator makes this kind of hard! (technically _Web_ Mercator, but same idea).

What you're calling recipes aren't really "largely the same all over the world".

Here is a soccer field that I copied from New Jersey, USA at around 40°N: (yes I outlined the soccer markings, not the football markings).

Screenshot 2019-09-13 21 30 16

And here it is pasted into Murmansk, Russia at around 69°N:

Screenshot 2019-09-13 21 30 49

It's tiny! This is because, in Mercator, the whole world is stretched out the further towards the poles you go.

This is a solvable problem - we would need to rescale the "recipes" according to the latitude that they are copied from / pasted to.

I do think this is maybe of out of scope for iD, but I think it's a neat idea. I mostly just wanted to demonstrate how the Mercator projection messes things up a bit.

@ArloJamesBarnes Interesting idea! I wonder if there are other features this would be useful for besides sports pitches. Even those don't seem like a big deal since most are rectangular and easy to draw, particularly once we finish the square drawing tool. The more complex the geometry the more useful these would be.

This idea does have me thinking… with the v3 toolbar and assistant we could support more preset-specific drawing methods. Like drawing the wedge shape of a baseball field or the pill shape of a propane tank in just three clicks.

Sitting on this awhile now, I haven't found myself needing this tool. It'd be really hard to build and there just aren't that many types of real-world features with a uniform, non-rectangular shape. How about we focus on general-use drawing tools for curves and right angles instead?

Thanks anyway for the suggestion, @ArloJamesBarnes!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tordans picture tordans  Â·  3Comments

tordans picture tordans  Â·  3Comments

thibaultmol picture thibaultmol  Â·  3Comments

tmcw picture tmcw  Â·  3Comments

1ec5 picture 1ec5  Â·  3Comments