add airports.dat
This commit is contained in:
parent
f8fceb253d
commit
4682cdb31d
7698
MTM/task4-straipsnis/airports.dat
Normal file
7698
MTM/task4-straipsnis/airports.dat
Normal file
File diff suppressed because it is too large
Load Diff
@ -6,10 +6,10 @@ CREATE TABLE airports (
|
|||||||
iata TEXT,
|
iata TEXT,
|
||||||
icao TEXT,
|
icao TEXT,
|
||||||
geom GEOMETRY,
|
geom GEOMETRY,
|
||||||
latitude DOUBLE,
|
latitude DOUBLE PRECISION,
|
||||||
longitude DOUBLE,
|
longitude DOUBLE PRECISION,
|
||||||
altitude DOUBLE,
|
altitude DOUBLE PRECISION,
|
||||||
CONSTRAINT enforce_dims_the_geom CHECK (st_ndims(geom) = 2),
|
CONSTRAINT enforce_dims_geom CHECK (st_ndims(geom) = 2),
|
||||||
CONSTRAINT enforce_geotype_geom CHECK (geometrytype(geom) = 'POINT'::text OR geom IS NULL),
|
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)
|
||||||
);
|
);
|
Loading…
Reference in New Issue
Block a user