week 1 - spatial data Flashcards
4 reasons why spatial data is different
1) very tied to the physical space
2) Multi-dimensional
3) Complex geometric shapes (like county)
4) New query API
How are spatial data sets primarily referenced?
1)Through a SQL query in a relational database.
2) Through a direct or indirect reference to a location on the Earth.
3)Through a data set consisting of numbers and characters.
Skip
2) Through a direct or indirect reference to a location on the Earth.
What is a Range Query (spatial data)
represented at shape (only returns items within the shape)
When do applications use spatial range queries?
1) For determining numbers within a range
2) For a restaurant search within a certain area.
3) For finding the most number of views on a social post.
2) For a restaurant search within a certain area.
KNN Query (spatial data)
Closest neighbor ( K Nearest Neighbor )
What is the Postgres extension for spatial data
PostGIS - new data types (geom) CONTAINS
How is geospatial data stored in an SQL server?
1) Data as keys for other tables.
2) As data on a coordinate system.
3) Data as a string of characters.
2) As data on a coordinate system.