ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

ST_MPointFromText

  • Definition
  • Syntax
  • Return type
  • Example
Note:

Oracle and SQLite only

Definition

ST_MPointFromText takes a well-known text (WKT) representation of type ST_MultiPoint and a spatial reference ID and creates an ST_Multipoint.

Syntax

Oracle

sde.st_mpointfromtext (wkt clob, srid integer)

sde.st_mpointfromtext (wkt clob)

If you do not specify an SRID, the spatial reference defaults to 4326.

SQLite

st_mpointfromtext (wkt text, srid int32)

st_mpointfromtext (wkt text)

If you do not specify an SRID, the spatial reference defaults to 4326.

Return type

ST_MultiPoint

Example

The multipoint_test table is created with the single ST_MultiPoint mpt1 column.

The INSERT statement inserts a multipoint into the mpt1 column using the ST_MpointFromText function.

Oracle

CREATE TABLE multipoint_test (mpt1 sde.st_geometry);
INSERT INTO MULTIPOINT_TEST VALUES (
 sde.st_mpointfromtext ('multipoint (10.01 20.03, 10.52 40.11, 30.29 41.56, 31.78 10.74)', 4326));

SQLite

CREATE TABLE multipoint_test (id integer);

SELECT AddGeometryColumn (
 NULL,
 'multipoint_test',
 'pt1',
 4326,
 'multipoint',
 'xy',
 'null'
);
INSERT INTO MULTIPOINT_TEST VALUES (
 1,
 st_mpointfromtext ('multipoint (10.01 20.03, 10.52 40.11, 30.29 41.56, 31.78 10.74)', 4326));

Related topics

  • Load the SQLite ST_Geometry library

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal