[postgis-users] simple puffer script

2011-08-23 Thread Robert Buckley
Hi,

I have to use postgis to create a puffer layer. I could do this within postgis, 
but the problem is that I have to display the result in my webapp!

I have seen many examples on how to puffer, but none where a user inputs a 
value 
from a textbox e.g 50 and presses a button to calculate a puffer over the data 
with a 50m puffer and then displays the resulting vector layer in the 
openlayers 
map.


Is this very complex?
How should I start coding this?  PHP to script the postgis query? 

thanks for any scripts, tips or advice.

yours,

Rob___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] simple puffer script

2011-08-23 Thread Charles Galpin
Rob you can do this with geoserver and it's sql view feature.  The docs cover 
it pretty well.

hth
charles

On Aug 23, 2011, at 12:26 PM, Robert Buckley wrote:

 Hi,
 
 I have to use postgis to create a puffer layer. I could do this within 
 postgis, but the problem is that I have to display the result in my webapp!
 
 I have seen many examples on how to puffer, but none where a user inputs a 
 value from a textbox e.g 50 and presses a button to calculate a puffer over 
 the data with a 50m puffer and then displays the resulting vector layer in 
 the openlayers map.
 
 
 Is this very complex?
 How should I start coding this?  PHP to script the postgis query? 
 
 thanks for any scripts, tips or advice.
 
 yours,
 
 Rob
 ___
 postgis-users mailing list
 postgis-users@postgis.refractions.net
 http://postgis.refractions.net/mailman/listinfo/postgis-users

___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users