[postgis-users] ST_MakePoint vs. ST_MakePointM

Andy Becker acbecker at gmail.com
Wed Oct 8 10:10:36 PDT 2014


Done, as

   http://trac.osgeo.org/postgis/ticket/2959

Thanks for the clarifications!  This is my first use of PostGIS, so am still 
learning the software.
Andy

On 10/7/14, 11:17 PM, Sandro Santilli wrote:
> On Wed, Oct 08, 2014 at 05:10:19PM +1300, Mike Toews wrote:
>> On 8 October 2014 13:41, Andy Becker <acbecker at gmail.com> wrote:
>>> Hi all - Sorry if this is a long-resolved design decision, but is there a
>>> good reason that MakePoint accepts double precision inputs while MakePointM
>>> only accepts single-precision floats?
>>>
>>>    http://postgis.net/docs/ST_MakePoint.html
>>>    http://postgis.net/docs/ST_MakePointM.html
>> If you look at the function definitions (\df ST_MakePoint*), all of
>> the geometry constructor functions use double precision types. With
>> Postgres, 'float' is taken to mean double precision.
> The documentation would indeed be better using consistent definitions.
> Andy: do you feel like filing a ticket for that ?
>
> --strk;
>
>   ()  ASCII ribbon campaign  --  Keep it simple !
>   /\  http://strk.keybit.net/rants/ascii_mails.txt
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users



More information about the postgis-users mailing list