|
|
class | CoordinateReferenceSystemProvider |
| |
◆ CoordinateReferenceSystem()
| duckdb::CoordinateReferenceSystem::CoordinateReferenceSystem |
( |
const string & |
definition | ) |
|
|
inlineexplicit |
20456 {
20458 }
string definition
Definition duckdb.cpp:20544
◆ GetType()
Get the identified type of the coordinate reference system.
20461 {
20463 }
CoordinateReferenceSystemType type
The type of the coordinate reference system.
Definition duckdb.cpp:20540
◆ GetDefinition()
| const string & duckdb::CoordinateReferenceSystem::GetDefinition |
( |
| ) |
const |
|
inline |
Get the full provided definition of the coordinate reference system.
◆ GetIdentifier()
| const string & duckdb::CoordinateReferenceSystem::GetIdentifier |
( |
| ) |
const |
|
inline |
Get the "identifier" of the coordinate reference system (e.g. "EPSG:4326") This is the same as the definition for AUTH:CODE and SRID types
20472 {
20474 }
string identifier
Definition duckdb.cpp:20548
◆ IsComplete()
| bool duckdb::CoordinateReferenceSystem::IsComplete |
( |
| ) |
const |
|
inline |
Is this a fully-defined coordinate system?
20477 {
20481 return true;
20482 default:
20483 return false;
20484 }
20485 }
CoordinateReferenceSystemType GetType() const
Get the identified type of the coordinate reference system.
Definition duckdb.cpp:20461
@ WKT2_2019
WKT2_2019 format.
@ PROJJSON
PROJJSON format.
◆ Equals()
Attempt to determine if this CRS is equivalent to another CRS This is currently not very precise, and may yield false negatives We consider two CRSs equal if one of the following is true:
- Their identifiers match
- Their type and full text definitions match, character-for-character
20492 {
20493
20495 return true;
20496 }
20497
20498
20499
20500
20501
20502
20503
20504
20506 }
◆ TryIdentify()
Try to identify a CRS from a string If the string is unable to be identified as one of the registered coordinates systems, and
- IS NOT a complete CRS definition, returns nullptr
- IS a complete CRS definition (e.g. PROJJSON or WKT2), returns the CRS as is. Otherwise, returns the identified CRS in the most compact form possible (AUTH:CODE > SRID > PROJJSON > WKT2)
◆ TryConvert() [1/2]
Try to convert the CRS to another format Returns nullptr if no conversion could be performed
◆ TryConvert() [2/2]
Try to convert the CRS to another format Returns nullptr if no conversion could be performed
◆ definition
| string duckdb::CoordinateReferenceSystem::definition |
|
private |
The text definition of the coordinate reference system E.g. "AUTH:CODE", or a PROJJSON or WKT2 string
◆ identifier
| string duckdb::CoordinateReferenceSystem::identifier |
|
private |
The identifier code of the coordinate reference system This can usually be derived from the text definition, but is cached here for convenience
The documentation for this class was generated from the following file:
- external/duckdb/duckdb.cpp