osmose-backend
osmose-backend copied to clipboard
Osmose mapcss tags extension
Spin-off from issue 1567
Nice-to-have mapcss keys would be:
-
-osmoseDetails
(same as settingdetails
in a regular python plugin) -
-osmoseTrap
(same as settingtrap
in a regular python plugin) -
-osmoseFix
(same as settingfix
in a regular python plugin) -
-osmoseResource
(same as settingresource
in a regular python plugin) -
-osmoseOnlyForCountry
(same as settingonly_for = [x]
in a regular python plugin, to limit the plugin to certain countries) -
-osmoseNotForCountry
(same as settingnot_for = [x]
in a regular python plugin, to disable the plugin in certain countries)
* `-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")]
* `-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
* `-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
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.