add airports.dat

This commit is contained in:
Motiejus Jakštys 2019-10-26 14:50:01 +03:00
parent f8fceb253d
commit 4682cdb31d
2 changed files with 7703 additions and 5 deletions

File diff suppressed because it is too large Load Diff

View File

@ -6,10 +6,10 @@ CREATE TABLE airports (
iata TEXT,
icao TEXT,
geom GEOMETRY,
latitude DOUBLE,
longitude DOUBLE,
altitude DOUBLE,
CONSTRAINT enforce_dims_the_geom CHECK (st_ndims(geom) = 2),
latitude DOUBLE PRECISION,
longitude DOUBLE PRECISION,
altitude DOUBLE PRECISION,
CONSTRAINT enforce_dims_geom CHECK (st_ndims(geom) = 2),
CONSTRAINT enforce_geotype_geom CHECK (geometrytype(geom) = 'POINT'::text OR geom IS NULL),
CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 4326)
CONSTRAINT enforce_srid_geom CHECK (st_srid(geom) = 4326)
);