{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Enumeration: Mode","description":"Accelerate E&P application development and protect your innovation by consuming our Data and Domain APIs / Platform APIs.","lang":"en-US","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":true,"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/readme"},"children":["API"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit"},"children":["geotoolkit"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit.map"},"children":["map"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit.map.features"},"children":["features"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit.map.features.adapters"},"children":["adapters"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit.map.features.adapters.center"},"children":["Center"]}," / Mode"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"enumeration-mode","__idx":0},"children":["Enumeration: Mode"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit.map.features.adapters"},"children":["adapters"]},".",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/modules/geotoolkit.map.features.adapters.center"},"children":["Center"]},".Mode"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Enum for GeometryToText modes"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"table-of-contents","__idx":1},"children":["Table of contents"]},{"$$mdtype":"Tag","name":"details","attributes":{"open":"true"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"fontSize":"1.25em","fontWeight":"bold"}},"children":["Enumeration Members"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit.map.features.adapters.center.mode#centroid"},"children":["Centroid"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit.map.features.adapters.center.mode#centroidorincenter"},"children":["CentroidOrIncenter"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit.map.features.adapters.center.mode#incenter"},"children":["Incenter"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/geotoolkit/apis/enums/geotoolkit.map.features.adapters.center.mode#mixed"},"children":["Mixed"]}]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"contents","__idx":2},"children":["Contents"]},{"$$mdtype":"Tag","name":"details","attributes":{"open":"true"},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":[{"$$mdtype":"Tag","name":"span","attributes":{"style":{"fontSize":"1.25em","fontWeight":"bold"}},"children":["Enumeration Members"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"centroid","__idx":3},"children":["Centroid"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Centroid"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"Centroid\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use centroid point"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"centroidorincenter","__idx":4},"children":["CentroidOrIncenter"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["CentroidOrIncenter"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"CentroidOrIncenter\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use centroid point by default, if it's outside the geometry use incenter"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"incenter","__idx":5},"children":["Incenter"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Incenter"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"Incenter\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use center of the inscribed circle with the biggest possible radius"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"mixed","__idx":6},"children":["Mixed"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Mixed"]}," = ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"Mixed\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use centroid with a few iterations of circle inscribing to improve the result"]}]}]},"headings":[{"value":"Enumeration: Mode","id":"enumeration-mode","depth":1},{"value":"Table of contents","id":"table-of-contents","depth":2},{"value":"Contents","id":"contents","depth":2},{"value":"Centroid","id":"centroid","depth":4},{"value":"CentroidOrIncenter","id":"centroidorincenter","depth":4},{"value":"Incenter","id":"incenter","depth":4},{"value":"Mixed","id":"mixed","depth":4}],"frontmatter":{"seo":{"title":"Enumeration: Mode"}},"lastModified":"2026-02-11T19:54:32.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/solutions/geotoolkit/apis/enums/geotoolkit.map.features.adapters.center.mode","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}