[postgis-devel] patch adding precision reduction
Carl Anderson
carl.anderson at vadose.org
Sun Jan 2 09:15:44 PST 2005
patch adding
clean(Geometry)
reduceprecision(Geometry, Scale)
filter(Geometry, ObjectClass) where ObjClass == enum
{'POINTS','LINES','POLYGONS'}
I want to add a patch to allow
difference( g1, g2, scale)
symdifference(g1, g2, scale)
intersection(g1, g2, scale)
isvalid(g1,scale)
...
where each builds an alternate GeometryFactory and then calls the root
function.
but i'm not sure if each should call an an alternate initGEOS
(MAXALIGN, Scale)
or if a setScale(Scale) function should override the existing
GeometryFactory
or if a vector of GeometryFactories should be maintained and a declared
desired scale
would cause LWGEOM2POSTGIS to use the correct one.
C.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reduce.patch
Type: text/x-patch
Size: 11812 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20050102/1959c8a7/attachment.bin>
More information about the postgis-devel
mailing list