[postgis-devel] apply_grid

strk at refractions.net strk at refractions.net
Thu Jan 6 07:28:08 PST 2005


On Thu, Jan 06, 2005 at 09:51:42AM -0500, Carl Anderson wrote:
> strk at refractions.net wrote:
> 
> >I've added wrappers to apply_grid to allow for the specification
> >of cell size(s) only.
> >
> >Do you think Grid() would be a more appropriate name for this function ?
> >
> > 
> >
> snaptogrid()  is a better descriptive function. 

Good shot. It's "SnapToGrid" now.

> for these helper functions
> Need to document
>     1 -  this is a PostGIS extension to SFSQL  (so users understand 
> standards vs app specific)

All extensions are documented in a separate chapter from SFSQL defined
ones.

>     2  - this function may return a heterogeneous collection of  stuff 
> and may need to be filtered
>                for the desried types.

It returns the same structure of the input, or NULL in case of dimensional
collapses. I've added this to the manual.

>     3 -  this function does not enforce the assertions on geometries it 
> creates and the results
>                may need to be cleaned.

Added. Thanks.
--strk;


> 
> 
> 
> 
> >--strk;
> >
> >
> >On Wed, Jan 05, 2005 at 11:44:47PM +0100, strk at refractions.net wrote:
> > 
> >
> >>I've included apply_grid in postgis CVS.
> >>Can be used to reduce geometry precision.
> >>Postgis manual contains usage specs.
> >>
> >>--strk; 
> >>
> >>For standing up against patentability of software,
> >>
> >> Thank You, Poland!
> >>
> >>Read the intervention:    http://kwiki.ffii.org/ConsPolon041221En
> >>Send your thanks:         thankyoupoland.info
> >>Read/do more:		  http://www.noepatents.org/
> >>_______________________________________________
> >>postgis-devel mailing list
> >>postgis-devel at postgis.refractions.net
> >>http://postgis.refractions.net/mailman/listinfo/postgis-devel
> >>   
> >>
> >
> > 
> >
> 
> 
> -- 
> Carl Anderson
> GIS Manager Fulton County, Georgia
> carl.anderson at co.fulton.ga.us
> 404.730.8026
> 
> 
> -----------------------------------------------------
> This message has been scanned for viruses and
> dangerous content for Fulton County by DefendMail, and is
> believed to be clean.
> 
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel

-- 

For standing up against patentability of software,

  Thank You, Poland!

Read the intervention:    http://kwiki.ffii.org/ConsPolon041221En
Send your thanks:         thankyoupoland.info
Read/do more:		  http://www.noepatents.org/



More information about the postgis-devel mailing list