REST Resource: serializedPolygons
Stay organized with collections
Save and categorize content based on your preferences.
Resource: SerializedPolygon
JSON representation |
{
"polygonId": string,
"kml": string
} |
Fields |
polygonId |
string
The id of the polygon.
|
kml |
string
The KML string representation of the polygon.
|
Methods |
|
Get a serialized polygon. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["\u003cp\u003eThe content describes a \u003ccode\u003eSerializedPolygon\u003c/code\u003e resource, which represents a polygon in a serialized format.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003eSerializedPolygon\u003c/code\u003e is represented in JSON format with \u003ccode\u003epolygonId\u003c/code\u003e and \u003ccode\u003ekml\u003c/code\u003e fields.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003epolygonId\u003c/code\u003e field is a string representing the ID of the polygon.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ekml\u003c/code\u003e field is a string containing the KML representation of the polygon.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003eget\u003c/code\u003e method is available to retrieve a serialized polygon via an API endpoint.\u003c/p\u003e\n"]]],[],null,["# REST Resource: serializedPolygons\n\n- [Resource: SerializedPolygon](#SerializedPolygon)\n - [JSON representation](#SerializedPolygon.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: SerializedPolygon\n---------------------------\n\nA serialized polygon.\n\n| JSON representation |\n|------------------------------------------------|\n| ``` { \"polygonId\": string, \"kml\": string } ``` |\n\n| Fields ||\n|-------------|--------------------------------------------------------|\n| `polygonId` | `string` The id of the polygon. |\n| `kml` | `string` The KML string representation of the polygon. |\n\n| Methods ------- ||\n|--------------------------------------------------------------|---------------------------|\n| ### [get](/flood-forecasting/rest/v1/serializedPolygons/get) | Get a serialized polygon. |"]]