ArcGIS Desktop

  • Documentation
  • Support

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS for Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

Aide

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Plus...

ST_LineFromText

  • Définition
  • Syntaxe
  • Type de retour
  • Exemple
Remarque :

Fonction prise en charge dans Oracle et SQLite uniquement ; pour PostgreSQL, utilisez ST_LineString.

Définition

ST_LineFromText accepte une représentation textuelle connue du type ST_LineString et un ID de référence spatiale et retourne un objet ST_LineString.

Syntaxe

Oracle

sde.st_linefromtext (wkt clob, srid integer)

SQLite

st_linefromtext (wkt text, srid int32)

Type de retour

ST_LineString

Exemple

La table linestring_test est créée avec une seule colonne ln1 de type ST_LineString.

L'instruction INSERT suivante insère un objet ST_LineString dans la colonne ln1 à l'aide de la fonction ST_LineFromText.

Oracle

CREATE TABLE linestring_test (ln1 sde.st_geometry);
INSERT INTO LINESTRING_TEST VALUES (
 sde.st_linefromtext ('linestring (10.01 20.03, 35.93 19.04)', 4326)
);

SQLite

CREATE TABLE linestring_test (id integer);

SELECT AddGeometryColumn (
 NULL,
 'linestring_test',
 'ln1',
 4326,
 'linestring',
 'xy',
 'null'
);
INSERT INTO LINESTRING_TEST (id, ln1) VALUES (
 1,
 st_linefromtext ('linestring (10.01 20.03, 35.93 19.04)', 4326)
);

Rubriques connexes

  • Charger la bibliothèque ST_Geometry SQLite

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog des initiés
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2017 Esri. | Confidentialité | Légal