Spatial databases and SQL Flashcards
When would a file-based approach be preferred over a database based approach?
- single user
- small data
- low cost for simple projects
How are geometries typically stored in spatial DBs?
-as a field data type in a table w the object’s attributes
What are some examples of SQL standards?
- ANSI-1986
- ISO-1987
What is data definition language?
-statements that define a DB’s structure. i.e. CREAT, DROP, etc
What is data manipulation language?
-statements that manipulate records from tables. i.e. SELECT, UPDATE, etc
List the logical operators and comparative operators
logical: AND, OR, NOT, IN, BETWEEN
comparative: IS, LIKE
What are aggregate functions?
-fast calculations for values of a specified field. i.e. MAX, AVG, MIN. etc
What services can metadata provide?
- documentation
- inventory
- catalog (provides structured search and comparison of help geospatial resources by others)