[postgis-users] Spheroid Question

strk at refractions.net strk at refractions.net
Fri Jun 24 08:39:16 PDT 2005


On Fri, Jun 24, 2005 at 11:36:27AM -0400, Dan Phillips wrote:
> Thanks Jeff & Paul. That was the problem.
> 
> Now I'm getting "ERROR:  Operation on two geometries with different SRIDs"
> 
> I assume this is because I'm not setting the SRID for my makepoint(). How do
> I do this to make it match the SRID (4326) of my 'crrts' table?

Use the setSRID() function:
setSRID(makepoint())
--strk;



More information about the postgis-users mailing list