0% found this document useful (0 votes)
72 views

Map Basic

The document provides SQL commands and instructions for manipulating objects and records in a database table. It selects records without associated objects, creates circle and line objects using coordinates and attributes, and inserts the objects into a selection. It also updates distance unit settings and commits a table to be deleted.

Uploaded by

peanut!
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views

Map Basic

The document provides SQL commands and instructions for manipulating objects and records in a database table. It selects records without associated objects, creates circle and line objects using coordinates and attributes, and inserts the objects into a selection. It also updates distance unit settings and commits a table to be deleted.

Uploaded by

peanut!
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

' delete an object without deleting a record delete object from selection ' select record that do not

have an associated object object select * from GoogleSites where not obj Update selection set obj= CreateCircle(x, y, 1) Insert into sel(obj) values (CreateCircle(x, y, TA)) Set Distance Units "Km" Set Distance Units "m" 'Create Line X, Y, Azimuth, Length Update mytab set obj=CreateLine (centroidX(obj), centroidY(obj), centroidX(obj)+lengthcol*sin(azimuthcol*pi/180),centroidY(obj)+lengthcol*cos(azi mut hcol*pi/180))

mi.Do "Commit Table ToDelete"

You might also like