[postgis-users] How retrieve number of points based on scale value?

strk strk at keybit.net
Tue Mar 16 00:41:32 PST 2004


On Fri, Mar 12, 2004 at 12:57:07PM +0100, Maurizio Napolitano wrote:
> 
> > I couldn't seen the java map, 
> 
> The effect is very impressive
> 
> > but I suspect this is something 
> > I've already handled to do. 
> 
> Good!
> 
> > I made a stored procedure which
> > transformed a postgis geometry making each of its points fall
> > on a grid defined by its origin and cell size. Adiacent points
> > falling an the same cell are merged togheter thus making the
> > geometry smaller (in points and size) as you enlarge the 'grid'.
> > It's like mapsever's raster-based reduction.
> > 
> > Is this what you're looking for ?
> 
> mmm ... probaly ...
> Do you can send me your procedure?

You can get a packaged version at:
http://foo.keybit.net/~strk/postgis/apply_grid-0.3.tgz

> Do you know OpenENV?
> If you load a geotiff, with OpenENV, the software manage the image
> by reduce the number of pixel for each scale.

Take a look at this:
http://foo.keybit.net/~strk/mapview/

> 
> Thanks!
> 

You're welcome.

--strk;



More information about the postgis-users mailing list