May 2017
Beginner to intermediate
328 pages
7h 17m
English
Multi-geometries can be broken down into single parts. There are two ways to do this.
For example, extracting the second part from a MultiPoint created by hand can be done using the following:
SELECT ST_AsText(ST_GeometryN(ST_Collect(ARRAY[ST_MakePoint(20,50), ST_MakePoint(19.95,49.98), ST_MakePoint(19.90,49.96)]),2)); st_astext -------------------- POINT(19.95 49.98)
The number of ...
Read now
Unlock full access