Opened 5 years ago

Closed 5 years ago

#671 closed defect (documentation)

"Tag wood is deprecated: leaf_type" not always correct

Reported by: mboquien Owned by: frodrigo
Priority: major Component: osmose-backend
Keywords: Cc:



The analyser 4010 suggests to replace wood with leaf_type. This is not always correct though. For instance if we look at this relation we have wood=deciduous. But deciduous is not a leaf_type, it is a leaf_cycle. I would suggest refining the test. If wood is broadleaved, needleleaved, mixed, or leafless then use leaf_type. If wood is evergreenm deciduous, semi_evergreen, semi_deciduous, or mixed then use leaf_cycle. Note that mixed is ambiguous as it could apply to both leaf_type and leaf_cycle.



Change History (3)

comment:1 Changed 5 years ago by frodrigo

You can correct it yourself, text come from this wiki page :

comment:2 Changed 5 years ago by mboquien

OK, I digged a bit more into this. The page lacks precision as the translation should not be a simple wood → leaf_type if I believe that section but rather wood=deciduous → leaf_type=broadleaved, for instance. The list is pretty long and I tend to err on the cautious side before modifying anything on the wiki.

comment:3 Changed 5 years ago by frodrigo

  • Resolution set to documentation
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.