Loading a column of the GEOMETRY or GEOGRAPHY data type - Amazon Redshift
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Loading a column of the GEOMETRY or GEOGRAPHY data type

You can COPY to GEOMETRY or GEOGRAPHY columns from data in a character-delimited text file, such as a CSV file. The data must be in the hexadecimal form of the well-known binary format (either WKB or EWKB) or the well-known text format (either WKT or EWKT) and fit within the maximum size of a single input row to the COPY command. For more information, see COPY.

For information about how to load from a shapefile, see Loading a shapefile into Amazon Redshift.

For more information about the GEOMETRY or GEOGRAPHY data type, see Querying spatial data in Amazon Redshift.