PostGIS  3.4.0dev-r@@SVN_REVISION@@
lwgeodetic_measures.c File Reference

Spatial functions for PostGIS geography. More...

#include <float.h>
#include <liblwgeom_internal.h>
#include <lwgeodetic_tree.h>
Include dependency graph for lwgeodetic_measures.c:

Go to the source code of this file.

Functions

static void interpolate_point4d_spheroid (const POINT4D *p1, const POINT4D *p2, POINT4D *p, const SPHEROID *s, double f)
 Find interpolation point p between geography points p1 and p2 so that the len(p1,p) == len(p1,p2) f and p falls on p1,p2 segment. More...
 
LWGEOMgeography_substring (const LWLINE *lwline, const SPHEROID *s, double from, double to, double tolerance)
 Return the part of a line between two fractional locations. More...
 
LWGEOMgeography_interpolate_points (const LWLINE *line, double length_fraction, const SPHEROID *s, char repeat)
 Interpolate a point along a geographic line. More...
 
double ptarray_locate_point_spheroid (const POINTARRAY *pa, const POINT4D *p4d, const SPHEROID *s, double tolerance, double *mindistout, POINT4D *proj4d)
 Locate a point along the point array defining a geographic line. More...
 

Detailed Description

Spatial functions for PostGIS geography.

These functions are supposed to be included in a forthcoming version of PostGIS, to be proposed as a PR. This still remains to be done. These functions are not needed in MobilityDB.

Definition in file lwgeodetic_measures.c.