[postgis-users] distance_spheroid and index files

Jonas Wolf wolfey at gmx.net
Sun Feb 27 04:14:27 PST 2005


Just to clarify, distance_spheroid is available, distance_sphere is not. 
Stupid me.

> Thanks for all the replies.
> 
> I actually don't mind getting "kind of right" answers, so 
> distance_sphere seems like the right choice. However, for some reason 
> this function does not seem to exist. I installed PostgreSQL 7.3.4, 
> Proj4 4.4.9 and GEOS 2.1.1 on Mandrake Linux. I then downloaded Postgis 
> RC 3, updated the Makefile.config USE_PROJ and USE_GEOS variables, ran 
> make and make install, with no errors. I set up the database and ran 
> lwpostgis.sql on it. Now distance_sphere is available, as I said I've 
> been using it. But no distance_sphere. Does that make any sense? 
> Shouldn't this function be defined in lwpostgis.sql, like 
> distance_sphere? Because it's not in there. I'm quite confused, does 
> anybody have a clue what I might have done wrong?
> 
> Thanks, Jonas



More information about the postgis-users mailing list