slides.com/fxku/postgis-v3
3
Database Engineer @ Zalando
Geoinformatics background
Guest lecturer on spatial databases
Postgres Operator, 3DCityDB and pgMemento
@FlxKu
Sharding
GPU
Time Series
Cloud
DW / MPP / Hadoop
Streaming SQL
NoSQL
@delawen on PostGIS day
ST_Intersects(geom1, geoms2)
SELECT geom1 && geom2 AND _ST_Intersects(geom1, geoms2)
SQL function
triggers index
C function
ST_Intersects(geom1, geoms2)
SUPPORT postgis_index_supportfn
C function triggers index
my_postgis_db=# ALTER EXTENSION postgis UPDATE TO '3.0.0';
WARNUNG: unpackaging raster
WARNUNG: PostGIS Raster functionality has been unpackaged
TIP: type `SELECT postgis_extensions_upgrade();` to finish
the upgrade. After upgrading, if you want to drop raster,
run: DROP EXTENSION postgis_raster;
ALTER EXTENSION
my_postgis_db=# SELECT postgis_extensions_upgrade();
HINWEIS: Packaging extension postgis_raster
Before: ALTER EXTENSION postgis UPDATE first to fix it
Now: Lib is called postgis-3.so for all minor releases
Upgrade your Postgres with pg_upgrade and get the new PostGIS functions when running ALTER EXTENSION etc.
$> pg_upgrade
ERROR: could not access file "$libdir/postgis-2.5": No such file or directory
SELECT ST_GeneratePoints(poly, 3)
FROM geom, generate_series(1,5);
same result
SELECT ST_GeneratePoints(poly, 3)
FROM geom, generate_series(1,5);
SELECT ST_GeneratePoints(poly, 3, seed := 1)
FROM geom, generate_series(1,5);
random result
PostGIS
PostGIS SFCGAL
triangles < -2m
ST_SquareGrid
ST_HexagonGrid
2020/21
to
Regina, Paul, Sandro, Darafei, Raúl, Bborie,
Alex, Andrea, Andreas, Anne, Arthur, Barbara, Bas, Ben, Bernhard, Bill, Björn, Brian, Bruce, Bruno, Bryce, Carl, Charlie, Chris, Christian, Dan, Dane, David, Eduin, Even, Esteban, Frank, George, Gerald, Gino, Guillaume, Iida, Ingvild, Jason, Jeff, Joe, Jorge, Jose Carlos, Julien, Hugh, Kashif, Kevin, Klaus, Kris, Kristian, Laurenz, Leo, Loic, Luca, Lucas, Maria, Mark, Markus, Mateusz, Matti, Maxime, Michael, Mike, Nathan, Nathaniel, Nicklas, Nikita, Norman, Olivier, Pierre, Rafal, Ralph, Rémi, Richard, Silvio, Steffen, Stephen, Steven, Sunveer, Tom, Vincent, Yuri
Teams behind GEOS/JTS, Proj, GDAL and (SF)CGAL!
The whole PostgreSQL community!
The funding companies, organisations and individuals!