12.07.2015 Views

PostGIS 1.5.8 Manual - Fedora Project Packages GIT repositories

PostGIS 1.5.8 Manual - Fedora Project Packages GIT repositories

PostGIS 1.5.8 Manual - Fedora Project Packages GIT repositories

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PostGIS</strong> <strong>1.5.8</strong> <strong>Manual</strong>242 / 310ExamplesSELECT ST_AsEWKT(the_geom)FROM(SELECT ST_Locate_Along_Measure(ST_GeomFromEWKT(’MULTILINESTRINGM((1 2 3, 3 4 2, 9 4 3),(1 2 3, 5 4 5))’),3) As the_geom) As foo;st_asewkt-----------------------------------------------------------GEOMETRYCOLLECTIONM(MULTIPOINT(1 2 3,9 4 3),POINT(1 2 3))--Geometry collections are difficult animals so dump them--to make them more digestableSELECT ST_AsEWKT((ST_Dump(the_geom)).geom)FROM(SELECT ST_Locate_Along_Measure(ST_GeomFromEWKT(’MULTILINESTRINGM((1 2 3, 3 4 2, 9 4 3),(1 2 3, 5 4 5))’),3) As the_geom) As foo;st_asewkt---------------POINTM(1 2 3)POINTM(9 4 3)POINTM(1 2 3)See AlsoST_Dump, ST_Locate_Between_Measures7.10.5 ST_Locate_Between_MeasuresST_Locate_Between_Measures — Return a derived geometry collection value with elements that match the specified range ofmeasures inclusively. Polygonal elements are not supported.Synopsisgeometry ST_Locate_Between_Measures(geometry geomA, float measure_start, float measure_end);DescriptionReturn a derived geometry collection value with elements that match the specified range of measures inclusively. Polygonalelements are not supported.Semantic is specified by: ISO/IEC CD 13249-3:200x(E) - Text for Continuation CD Editing MeetingAvailability: 1.1.0This function supports M coordinates.Examples

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!