[postgis-users] PostGIS new geometry type with defined precision?

Darafei "Komяpa" Praliaskouski me at komzpa.net
Wed Jul 3 05:47:30 PDT 2019


Can you describe how the operations like Intersection should behave in such
type? E.g. if you have a type with 0 decimals (say), and have a line going
from (0,0) to (1,1) intersect with a line going from (1, 0) to (0, 1) -
what is the intersection point that is going to be reported? Will that
ST_Intersection in turn ST_Intersects=true with original point?

There are a number of such requests across the years but nobody seems to
propose a working algebra for such type, and without it it's not going to
get implemented.

On Wed, Jul 3, 2019 at 2:43 PM Giunta Igor <Igor.Giunta at tg.ch> wrote:

> How can a precision be assigned to a geometry, e.g. a point/line/polygon
> to 3 decimals, in order that any input/output will be given in that
> precision (without usage of rounding functions like snap2grid)
> How can the problem be tackeld? Shall we request to include new types? Or
> shall we rather let develop a new feature?
> I guess we are not the first users facing this problem.
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-users

Darafei Praliaskouski
Support me: http://patreon.com/komzpa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20190703/e70b8b97/attachment.html>

More information about the postgis-users mailing list