create_e1109_text.sql
792 Bytes
DROP TABLE IF EXISTS public.e1109_lotes_activos CASCADE;
CREATE TABLE public.e1109_lotes_activos (
id_snc bigint,
objectid bigint,
id_parcela bigint,
dpto text,
dist integer,
padron integer,
zona text,
mz text,
lote text,
finca text,
nro_matricula text,
ccatastral text,
obs text,
mz_agr text,
lote_agr text,
tipo_pavim text,
tipo_cuenta integer,
hectareas numeric,
superficie_tierra numeric,
superficie_edificado numeric,
valor_tierra numeric,
valor_edificado numeric,
tipo_parcela integer,
referencia integer,
clave_comparacion text,
snc_cuenta text,
ccc text,
geom geometry(MultiPolygon)
);
CREATE INDEX sidx_e1109_lotes_geom ON public.e1109_lotes_activos USING GIST (geom);