Solved

setting up the sdo_geometry

  • 4 January 2013
  • 1 reply
  • 4 views

i have a string with coordinate pairs forming a polygon. the missing parameters are created using sql. I was wondering if there is an easier method setting up a default polygon in the desired geographical area. just the sdo_ordinates vary for each inserted line in the table.
icon

Best answer by davideagle 4 January 2013, 23:16

View original

1 reply

Badge +14
You could read the text file or location of the strings defining each polygon and then build either the SQL to insert the polygons to the database or perhaps more usefully reformat the polygon stings themselves into something like Well Known Text (WKT) and then form the geometry with the GeometryReplacer and finally write to the database. Theres probably a few options if you can supply a little more detail.

Reply