SIG

OperaciĆ³n Simplify

JosƩ Samos JimƩnez
()
Dpto. LSI
Universidad de Granada

Citar y Licencia: https://doi.org/10.6084/m9.figshare.27907008.v1

VĆ­deo: https://youtu.be/oM1lQMvAAeg

Operaciones de la clase Geometry


Grupo Funciones
Relaciones espaciales ST_Contains, ST_Disjoint, ST_Equals, ST_Intersects, ST_Overlaps, ST_Touches, ST_Within
Proximidad y mediciĆ³n - ST_Buffer, ST_Distance
- ST_Area, ST_Length, ST_Perimeter
Transformaciones - ST_AsBinary, ST_AsText
- ST_Difference, ST_Intersection, ST_Union
- ST_Centroid, ST_ConvexHull, ST_Envelope
Operaciones adicionales (no OGC) ST_AsGeoJSON, ST_Simplify, ST_Transform

ST_Simplify contorno

SELECT 
    1 AS id, 
    ST_Union(geom) AS geom
FROM 
    municipios_granada;
SELECT 
    1 AS id, 
    ST_Simplify(ST_Union(geom), 2000) AS geom
FROM 
    municipios_granada;

Datos de municipios de Granada: https://doi.org/10.6084/m9.figshare.27601509.v1

ST_Simplify componentes

SELECT *
FROM 
    municipios_granada;
SELECT 
    id, 
    ST_Simplify(geom, 2000) AS geom
FROM 
    municipios_granada;

ST_CoverageSimplify

SELECT *
FROM 
    municipios_granada;
SELECT 
  id, 
  ST_CoverageSimplify(geom, 2000) OVER() AS geom
FROM 
  municipios_granada;