[postgis-devel] point constructors

strk at refractions.net strk at refractions.net
Wed Oct 13 08:16:50 PDT 2004


I've added the following functions to postgis HEAD branch.

	makepoint2d(SRID, x, y);
	makepoint3dz(SRID, x, y, z);
	makepoint3dm(SRID, x, y, m);
	makepoint4d(SRID, x, y, z, m);

Do you think the SRID arg should be omitted instead ?

	setSRID(makepoint2d(10, 10), 4326); // would replace it

--strk;



More information about the postgis-devel mailing list