[postgis-devel] corrected patch add precision reduction

Carl Anderson carl.anderson at vadose.org
Sun Jan 2 21:04:54 PST 2005


correction, as patch was malformed

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: 11750 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20050103/84f771ed/attachment.bin>


More information about the postgis-devel mailing list