Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
xml
xml
linenumberstrue
<geometry>
  <point minimum="2" maximum="4"/>
</geometry>
Info

Ad of version 0.38 it's possible to specify that multiple geometry types are supported, but only one should be used at a time. That is if the user creates a polygon then they can only create more polygons, even if the edit supports lines. This is done by setting the value for exclusive to true in the main geometry tag.

Code Block
languagexml
titleSetting the geometry type to 'exclusive'
<geometry maximum="2" exclusive="true">
  <polygon/>
  <linestring/>
  <point/>
</geometry>
Info

If minimum is not specified it defaults to 0.
If maximum is not specified there will be no upper limit.

...