MapML icon indicating copy to clipboard operation
MapML copied to clipboard

Define MapML element Categories?

Open Malvoz opened this issue 4 years ago • 0 comments

The body element's Content model includes Features, and many elements' Categories include Feature data, these are not defined but I assume they mean the same thing.

From the elements' Categories, these seem to be considered Feature content:

  • feature
  • featurecaption
  • properties
  • geometry
  • Geometries (point, linestring, etc.)
  • a
  • coordinates
  • image

Should we define Feature content?


The following elements' Categories are set to "N/A", except for the extent element which is set to "Metadata content":

  • extent
  • input
  • datalist
  • label
  • select
  • option

Should these elements be considered a separate element category? e.g. Extent content?


Another issue is how we categorize the following elements as (HTML) Metadata content:

  • title
  • base
  • meta
  • link
  • style (https://github.com/Maps4HTML/MapML/issues/209)

because the HTML definition of Metadata content includes elements we don't want to support (script, template, nocript) so perhaps we should define Metadata content ourselves? (related issue: https://github.com/Maps4HTML/MapML/issues/84)


And then there's tile as well, allowed child of body (in mapml documents) / layer (in html documents).

Malvoz avatar Aug 13 '21 12:08 Malvoz