osmose-backend icon indicating copy to clipboard operation
osmose-backend copied to clipboard

Osmose mapcss tags extension

Open Famlam opened this issue 2 years ago • 3 comments

Spin-off from issue 1567

Nice-to-have mapcss keys would be:

  • -osmoseDetails (same as setting details in a regular python plugin)

  • -osmoseTrap (same as setting trap in a regular python plugin)

  • -osmoseFix (same as setting fix in a regular python plugin)

  • -osmoseResource (same as setting resource in a regular python plugin)

  • -osmoseOnlyForCountry (same as setting only_for = [x] in a regular python plugin, to limit the plugin to certain countries)

  • -osmoseNotForCountry (same as setting not_for = [x] in a regular python plugin, to disable the plugin in certain countries)

Famlam avatar Oct 12 '22 20:10 Famlam

* `-osmoseOnlyForCountry` (same as setting `only_for = [x]` in a regular python plugin, to limit the plugin to certain countries)

* `-osmoseNotForCountry` (same as setting `not_for = [x]` in a regular python plugin, to disable the plugin in certain countries)

This two can be done using this already existing mapccs code [inside("FR")]

frodrigo avatar Oct 12 '22 21:10 frodrigo

* `-osmoseOnlyForCountry` (same as setting `only_for = [x]` in a regular python plugin, to limit the plugin to certain countries)

* `-osmoseNotForCountry` (same as setting `not_for = [x]` in a regular python plugin, to disable the plugin in certain countries)

This two can be done using this already existing mapccs code [inside("FR")]

That only works on a selector level

Famlam avatar Oct 12 '22 22:10 Famlam

* `-osmoseOnlyForCountry` (same as setting `only_for = [x]` in a regular python plugin, to limit the plugin to certain countries)

* `-osmoseNotForCountry` (same as setting `not_for = [x]` in a regular python plugin, to disable the plugin in certain countries)

This two can be done using this already existing mapccs code [inside("FR")]

That only works on a selector level

But, we do not report county in doc https://github.com/osm-fr/osmose-backend/blob/master/doc/0-Index.md#classes-of-issues

frodrigo avatar Oct 13 '22 07:10 frodrigo

I'll await #1782 to go live (to see if there's anything else to be adjusted), then add -osmoseExample. For some reason I missed that one.

Famlam avatar Mar 11 '23 23:03 Famlam