double maxdist = 0;
int i;
+ elog(ERROR, "This function is unimplemented yet");
+ PG_RETURN_NULL();
+
geom1 = (LWGEOM *)PG_DETOAST_DATUM(PG_GETARG_DATUM(0));
line1 = lwline_deserialize(SERIALIZED_FORM(geom1));
if ( line1 == NULL ) PG_RETURN_NULL(); // not a linestring
*
**********************************************************************
* $Log$
+ * Revision 1.40 2004/08/26 16:55:09 strk
+ * max_distance() raises an 'unimplemented yet' error.
+ *
* Revision 1.39 2004/07/28 16:10:59 strk
* Changed all version functions to return text.
* Renamed postgis_scripts_version() to postgis_scripts_installed()
//
// Our polygons have first and last point the same,
//
-
int PIP( POINT3D *P, POINT3D *V, int n )
{
int cn = 0; // the crossing number counter
}
-//return 2 for 2d geometries or 3 for 3d geometries
+//returns 0 for points, 1 for lines, 2 for polygons.
+//returns max dimension for a collection.
PG_FUNCTION_INFO_V1(dimension);
Datum dimension(PG_FUNCTION_ARGS)
{
double result,dist;
+ elog(ERROR, "This function is unimplemented yet");
+ PG_RETURN_NULL();
+
if (geom1->SRID != geom2->SRID)
{
elog(ERROR,"Operation on two GEOMETRIES with different SRIDs\n");