ST_Force_2D
This commit is contained in:
parent
262c22369a
commit
9246060bd5
|
@ -204,7 +204,7 @@ SELECT
|
|||
,{secteur}
|
||||
,{longueur_decoupage}
|
||||
,i
|
||||
,(ST_Dump(ST_GeometryN(ST_LocateAlong(the_geom, i), 1))).geom AS the_geom
|
||||
,ST_Force_2D((ST_Dump(ST_GeometryN(ST_LocateAlong(the_geom, i), 1))).geom) AS the_geom
|
||||
FROM linemeasure ;
|
||||
"""
|
||||
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
#! /bin/bash
|
||||
|
||||
|
||||
python3 phase_3_prepare.py 2022 100
|
||||
python3 phase_3_prepare.py 2022 200
|
||||
python3 phase_3_prepare.py 2022 300
|
||||
python3 phase_3_prepare.py 2022 400
|
||||
python3 phase_3_prepare.py 2022 500
|
||||
python3 phase_3_prepare.py 2022 600
|
||||
python3 phase_3_prepare.py 2022 700
|
||||
python3 phase_3_prepare.py 2022 800
|
||||
python3 phase_3_prepare.py 2022 900
|
||||
# python3 phase_3_prepare.py 2022 100
|
||||
# python3 phase_3_prepare.py 2022 200
|
||||
# python3 phase_3_prepare.py 2022 300
|
||||
# python3 phase_3_prepare.py 2022 400
|
||||
# python3 phase_3_prepare.py 2022 500
|
||||
# python3 phase_3_prepare.py 2022 600
|
||||
# python3 phase_3_prepare.py 2022 700
|
||||
# python3 phase_3_prepare.py 2022 800
|
||||
# python3 phase_3_prepare.py 2022 900
|
||||
|
||||
python3 phase_3_compute.py 2022 100
|
||||
python3 phase_3_compute.py 2022 200
|
||||
|
@ -21,4 +21,6 @@ python3 phase_3_compute.py 2022 700
|
|||
python3 phase_3_compute.py 2022 800
|
||||
python3 phase_3_compute.py 2022 900
|
||||
|
||||
python3 update_pk_infos.py 2022
|
||||
|
||||
./phase_3_export.sh 2022
|
||||
|
|
|
@ -616,7 +616,7 @@ CREATE TABLE phase_3_pk
|
|||
way_name_br text,
|
||||
the_geom geometry,
|
||||
CONSTRAINT phase_3_pk_pkey PRIMARY KEY (pk_id),
|
||||
--CONSTRAINT enforce_geotype_the_geom CHECK (geometrytype(the_geom) = 'POINT'::text),
|
||||
CONSTRAINT enforce_geotype_the_geom CHECK (geometrytype(the_geom) = 'POINT'::text),
|
||||
CONSTRAINT enforce_srid_the_geom CHECK (st_srid(the_geom) = 2154)
|
||||
) ;
|
||||
CREATE INDEX phase_3_pk_geom_idx ON phase_3_pk USING gist(the_geom);
|
||||
|
|
Loading…
Reference in a new issue