Back

Store Polygon

  • 0
  • Databases
  • Flutter
  • Cloud
Aaruul
6 Apr, 2025, 13:28

Is it okay to store polygon coordinates in a String attribute? Is that a good approach? Is there any limit on the size of the String Attribute?

TL;DR
Store polygon coordinates as an array of points in a numerical attribute for better performance and flexibility. Avoid using a string attribute to store polygon coordinates. There may be limits on the size of the string attribute, leading to potential data loss or truncation.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more