Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special rendering for intermittent water areas #996

Closed
matkoniecz opened this issue Sep 28, 2014 · 41 comments · Fixed by #3104
Closed

Special rendering for intermittent water areas #996

matkoniecz opened this issue Sep 28, 2014 · 41 comments · Fixed by #3104

Comments

@matkoniecz
Copy link
Contributor

@imagico proposed in #805 to render specially intermittent water areas.

intermittent tag is in the dabase, seasonal needs style file change.

quote from #805 (comment)

This should be extended to water areas, for example the current appearance of Australia is quite irritating:

http://www.openstreetmap.org/#map=6/-24.377/129.749

since nearly all of the water areas you can see there are intermittent.

Both intermittent=yes and seasonal=* should be considered.

Current use according to taginfo:

  • waterway=* + intermittent=yes: 672000 times (most of this is NHD imports)
  • waterway=* + seasonal=*: 1200 times
  • natural=water + intermittent=yes: 45000 times
  • natural=water + seasonal=*: <1000 times
@matkoniecz
Copy link
Contributor Author

@imagico - can you propose a rendering? How Australia map show this type of terrain?

@imagico
Copy link
Collaborator

imagico commented Sep 28, 2014

Possibilities frequently used in classical maps are:

  • dashed outline
  • a lighter blue (or semi-transparent)
  • a pattern - dot patterns are the most common here

Of course these could also be combined.

@matthijsmelissen
Copy link
Collaborator

Are tidal planes also intemittent water areas? Would it make sense to have a similar rendering for both?

@imagico
Copy link
Collaborator

imagico commented Sep 29, 2014

Most water areas tagged intermittent=yes are seasonal or ephemeral, tidal flats on the other hand are flooded daily. This should definitely be rendered differently. Most common mapping for tidal areas is natural=wetland + wetland=tidalflat/saltmarsh/mangrove, see also #387

@matthijsmelissen
Copy link
Collaborator

See also #709.

@Penegal
Copy link
Contributor

Penegal commented Aug 20, 2015

The intermittent bodies of water are also often rendered with blue stripes and a dashed outline, at least in France. I don't know if it could be a better rendering, but it's a possibility, and it would match the current rendering of intermittent waterways.

@liotier
Copy link

liotier commented Mar 24, 2016

Seasonality is a specific sort of intermittency - variation is according to seasons instead of more randomly weather-related. I came here to ask for waterways with seasonal=yes to be rendered the same way as intermittent=yes - water bodies have a similar problem.

@dieterdreist
Copy link

sent from a phone

Am 24.03.2016 um 13:19 schrieb Jean-Marc Liotier notifications@github.com:

Treating seasonal=yes the same way as intermittent=yes feels quite correct and it would also minimize the work necessary to take this extra tag into account.

I agree and generally support this, even if it might have to wait till we add hstore (if ever)

@kocio-pl
Copy link
Collaborator

Both intermittent=yes and seasonal=* should be considered.

Because we already have hstore and are able to use non-standard tags too, we can do it quite easily now. I just wanted to ask if this is still the same (just adding seasonal=*, without "no" probably, the same as we use intermittent=yes) as I understand original proposition or something has changed in the meanwhile?

Currently seasonal has 108 828 uses together with waterway=* and 16 696 with natural=water, which makes it very popular tag. It's also growing fast in the last years:

taghistory 7

@Penegal
Copy link
Contributor

Penegal commented Nov 28, 2017

Seems relevant to render both tags this way, as seasonal is merely a refinement of intermittent.

@Penegal
Copy link
Contributor

Penegal commented Jan 30, 2018

Are there some things blocking this? Would be great to render intermittency.

@kocio-pl
Copy link
Collaborator

Probably the missing part is someone to make the code. Could you try?

@Penegal
Copy link
Contributor

Penegal commented Jan 31, 2018

Oh, dear… I will try, as I have no real knowledge about CartoCSS, but, hey, I won't have any knowledge if I don't try.

@kocio-pl
Copy link
Collaborator

That's how I got into this whole thing. 😄 I still have only a basic understanding of CartoCSS, but dealing with SQL seems to be more important in osm-carto (even if I also don't know it too much).

This case shouldn't be too hard, since you want to just copy intermittent tag behavior, not to create completely new code.

@Penegal
Copy link
Contributor

Penegal commented Feb 1, 2018

This case shouldn't be too hard

Well, we'll see… (insert snapping noise of latex gloves here)

@Penegal
Copy link
Contributor

Penegal commented Feb 14, 2018

image

How about this way? It is an inner member of the meadow multipolygon, which should explain the grey lines.

@kocio-pl
Copy link
Collaborator

I guess very light blue background would work better for me. For me it's enough that stripes are wide.

@Penegal
Copy link
Contributor

Penegal commented Feb 15, 2018

Do you mean a lighter blue between water-coloured stripes? I let it transparent to leave the eventual other landuse or natural area visible, as an intermittent water area is often used for something else when not flooded. That way, the stripes allow to see both usual landuse and flooded area.

@Penegal
Copy link
Contributor

Penegal commented Mar 5, 2018

@kocio-pl : could you explain what you meant? I don't understand.

Other opinions about possible improvements are welcomed.

@kocio-pl
Copy link
Collaborator

kocio-pl commented Mar 5, 2018

Yes, I meant lighter blue instead of a land color.

Could you give the examples when the area has a different use? I can't imagine such examples, so I tend to think my solution would be better. Reality check would help us to make decision.

@Penegal
Copy link
Contributor

Penegal commented Mar 5, 2018

@kocio-pl : here is one:
image

Not as legible as I thought: the borders disappear way too notably between the stripes, and that is even more present as you zoom in. Maybe with a dashed outline? I'll test that.

I don't reject your proposal, but, IMO, a plain color would mask another possible landuse, I frequently saw that, so I prefer a way to display it if it exists.

@kocio-pl
Copy link
Collaborator

kocio-pl commented Mar 5, 2018

Great, thanks for testing!

@Penegal
Copy link
Contributor

Penegal commented Mar 5, 2018

@kocio-pl : and with the dashed outline, the same as the one for intermittent streams (4,3):
image

Maybe with longer dashes (8,4):
image

@jragusa
Copy link
Contributor

jragusa commented Mar 5, 2018

Why not use the Danger pattern with (or without) dashed stroke ?

Very large dash may increase focus on intermittent areas. On french map, dashes of intermittent area are very thin:
intermittent

@dieterdreist
Copy link

dieterdreist commented Mar 5, 2018 via email

@kocio-pl
Copy link
Collaborator

kocio-pl commented Mar 5, 2018

Very large dash may increase focus on intermittent areas. On french map, dashes of intermittent area are very thin:

Works for me.

@Penegal
Copy link
Contributor

Penegal commented Mar 6, 2018

Then here it comes with horizontal 2px lines and dashed border:
image

And without the dashed border:
image

The dashed border seems pretty useless with thin stripes, so I'll get rid of it. Is it OK, now? Anything to improve?

@kocio-pl
Copy link
Collaborator

kocio-pl commented Mar 6, 2018

For me that's very convincing and the border is not needed. Could you prepare a PR?

@Penegal
Copy link
Contributor

Penegal commented Mar 6, 2018

@kocio-pl : before a PR shouldn't I wait for other advices, or is there a clear enough consensus?

@matthijsmelissen
Copy link
Collaborator

Looks good to me too! Go ahead I’d say.

@kocio-pl
Copy link
Collaborator

kocio-pl commented Mar 6, 2018

I've learned that waiting too much does not help. We're discussing it for many days already and it will get more attention once the PR is ready.

@dieterdreist
Copy link

dieterdreist commented Mar 6, 2018 via email

@imagico
Copy link
Collaborator

imagico commented Mar 6, 2018

For info: The horizontal hatching in French topographic maps indicates Zone inondable - which means area subject to flooding which is not the same as intermittent waterbodies in OSM - see http://www.viewranger.com/help/FranceLegend.pdf

Might be good to keep in mind regarding mapper feedback, in particular for French mappers.

@kocio-pl
Copy link
Collaborator

kocio-pl commented Mar 6, 2018

Good to know, however it's inevitable that we will use similar visual elements in the other meaning or context than some other maps. It might be more interesting if we have similar type of object so we could differentiate them - do we have "area subject to flooding" tagging scheme?

@dieterdreist
Copy link

dieterdreist commented Mar 6, 2018 via email

@jragusa
Copy link
Contributor

jragusa commented Mar 6, 2018

The Zone inondable (area subject to flooding) feature in French map is not related to risk such as river flooding. It's restricted to body of water (pond, small lake) where the water level is susceptible to greatly fluctuate (e.g. flooding). In the example of the topographic map figured above, it's typically a seasonal small lake. It's dry during a long period because it's located in a karstic system. You won't find such hatching along rivers for example.

@imagico
Copy link
Collaborator

imagico commented Mar 6, 2018

For better understanding - Zone inondable has a fairly specific meaning in French - see https://fr.wikipedia.org/wiki/Zone_inondable - that is strongly tied to French climate and the flooding patterns that are common in France.

A few examples of use of this in the classic IGN 25k map:

https://www.geoportail.gouv.fr/carte?c=-2.704535442894154,47.632134938389044&z=15&l0=ORTHOIMAGERY.ORTHOPHOTOS::GEOPORTAIL:OGC:WMTS(1)&l1=GEOGRAPHICALGRIDSYSTEMS.MAPS.SCAN-EXPRESS.STANDARD::GEOPORTAIL:OGC:WMTS(1)&l2=GEOGRAPHICALGRIDSYSTEMS.PLANIGN::GEOPORTAIL:OGC:WMTS(1)&l3=CADASTRALPARCELS.PARCELS::GEOPORTAIL:OGC:WMTS(1)&l4=GEOGRAPHICALGRIDSYSTEMS.MAPS::GEOPORTAIL:OGC:WMTS(1)&permalink=yes

https://www.geoportail.gouv.fr/carte?c=6.4734901652063925,43.83035184959559&z=16&l0=ORTHOIMAGERY.ORTHOPHOTOS::GEOPORTAIL:OGC:WMTS(1)&l1=GEOGRAPHICALGRIDSYSTEMS.MAPS.SCAN-EXPRESS.STANDARD::GEOPORTAIL:OGC:WMTS(1)&l2=GEOGRAPHICALGRIDSYSTEMS.PLANIGN::GEOPORTAIL:OGC:WMTS(1)&l3=CADASTRALPARCELS.PARCELS::GEOPORTAIL:OGC:WMTS(1)&l4=GEOGRAPHICALGRIDSYSTEMS.MAPS::GEOPORTAIL:OGC:WMTS(1)&permalink=yes

https://www.geoportail.gouv.fr/carte?c=4.451792947810736,44.3582615358346&z=15&l0=ORTHOIMAGERY.ORTHOPHOTOS::GEOPORTAIL:OGC:WMTS(1)&l1=GEOGRAPHICALGRIDSYSTEMS.MAPS.SCAN-EXPRESS.STANDARD::GEOPORTAIL:OGC:WMTS(1)&l2=GEOGRAPHICALGRIDSYSTEMS.PLANIGN::GEOPORTAIL:OGC:WMTS(1)&l3=CADASTRALPARCELS.PARCELS::GEOPORTAIL:OGC:WMTS(1)&l4=GEOGRAPHICALGRIDSYSTEMS.MAPS::GEOPORTAIL:OGC:WMTS(1)&permalink=yes

https://www.geoportail.gouv.fr/carte?c=3.528002352209444,43.31140581049013&z=15&l0=ORTHOIMAGERY.ORTHOPHOTOS::GEOPORTAIL:OGC:WMTS(1)&l1=GEOGRAPHICALGRIDSYSTEMS.MAPS.SCAN-EXPRESS.STANDARD::GEOPORTAIL:OGC:WMTS(1)&l2=GEOGRAPHICALGRIDSYSTEMS.PLANIGN::GEOPORTAIL:OGC:WMTS(1)&l3=CADASTRALPARCELS.PARCELS::GEOPORTAIL:OGC:WMTS(1)&l4=GEOGRAPHICALGRIDSYSTEMS.MAPS::GEOPORTAIL:OGC:WMTS(1)&permalink=yes

https://www.geoportail.gouv.fr/carte?c=-2.6182072228910243,47.521276412406195&z=15&l0=ORTHOIMAGERY.ORTHOPHOTOS::GEOPORTAIL:OGC:WMTS(1)&l1=GEOGRAPHICALGRIDSYSTEMS.MAPS.SCAN-EXPRESS.STANDARD::GEOPORTAIL:OGC:WMTS(1)&l2=GEOGRAPHICALGRIDSYSTEMS.PLANIGN::GEOPORTAIL:OGC:WMTS(1)&l3=CADASTRALPARCELS.PARCELS::GEOPORTAIL:OGC:WMTS(1)&l4=GEOGRAPHICALGRIDSYSTEMS.MAPS::GEOPORTAIL:OGC:WMTS(1)&permalink=yes

@Penegal
Copy link
Contributor

Penegal commented Mar 6, 2018

Being French, I can tell you that what is mapped as zone inondable is any area which is intermitently covered by water; that includes both floodable areas and intermittent water bodies. In fact, most areas mapped as zone inondable are only intermittent water bodies, the rest being only the most flood-prone areas – not all of them, by far –, so you don't have to bother with the distinction between floodable areas and intermittent water bodies just because the french IGN confuses them on its maps.

Edit: after a look at @imagico's examples, I correct: there are more flood-prone areas than I thought which are mapped under zone inondable, but it also includes salterns and intertidal zones, so one should really not understand zone inondable as floodplain, as a naive translation could translate it.

@kocio-pl
Copy link
Collaborator

BTW - what do you think about #709? Maybe we could fix it in a similar way?

@kocio-pl
Copy link
Collaborator

Another interesting thing to test: #1167.

@kocio-pl
Copy link
Collaborator

One more similar idea: #1547.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants