dbTalk Databases Forums  

Oracle Spatial - Creating geometry

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Oracle Spatial - Creating geometry in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Norbert Pürringer
 
Posts: n/a

Default Oracle Spatial - Creating geometry - 08-19-2010 , 03:27 AM






Hello,

maybe I'm lucky to find here any Oracle Spatial experts.

I would like to know if it is possible to create SDO_GEOMETRY objects
by reading the coordinates out of simple number attributes for
latitude and longitude using a simple sql script.

e.g. Point object:

The GEOM field is of type SDO_GEOMETRY and should be initialized by
reading the coordinates out of the NUMBER field LAT and LON:

ID LAT LON GEOM
1 47 12 null

GEOM should be initialized with the object value:

SDO_GEOMETRY(2001, NULL, SDO_POINT_TYPE(47, 11, NULL), NULL, NULL)

Regards,
Norbert

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.