Maxime van Noppen wrote:
Hi,
I need to build a grid with acces to both all intersections points and
the grid geometry itself (either as multiline or multipolygon). Before
developing the function that constructs a grid I wondered how SnapToGrid
was implemented and looked at the code. It seems to me that all the
function I need already exist in the PostGIS source code (lwpoint_grid,
lwpoly_grid, ...) but unfortunately they're not exported in SQL :(
Would it be possible to export them without too much trouble?
Thanks !
The grid functions you mention are called by ST_SnapToGrid() depending
the input geometry type (i.e. they are equivalent), so I'm not sure I
understand what you're trying to do?
ATB,
Mark.
--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063
Sirius Labs: http://www.siriusit.co.uk/labs
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users