[postgis-devel] Geography Measurement Units

Paragon Corporation lr at pcorp.us
Sat Oct 10 05:40:44 PDT 2009


SQL Server does not or at least I am not aware of it.  I would say not to
bother.  One reason is for example I have my own unit conversion tables and
if you start providing that -- one would expect every unit under the sun to
be included and be really irritated if you missed one they use.  Like I need
nautical miles, centimeters and so forth and some obscure units that I
imagine are totally useless to anyone else on this planet.  I think those
things are best left up to the discretion of people to build their own
function to support if they need it.

Thanks,
Regina
 

-----Original Message-----
From: postgis-devel-bounces at postgis.refractions.net
[mailto:postgis-devel-bounces at postgis.refractions.net] On Behalf Of Paul
Ramsey
Sent: Saturday, October 10, 2009 12:41 AM
To: PostGIS Development Discussion
Subject: [postgis-devel] Geography Measurement Units

Should the geography functions have a (optional) units parameter? Are the
users that lazy? Do they need that? Oracle does it. Does SQLServer?

ST_Distance(a.geog, b.geog, 'miles')
ST_Area(a.geog, 'acres')

P.
_______________________________________________
postgis-devel mailing list
postgis-devel at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-devel






More information about the postgis-devel mailing list