Smathermather's Weblog

Remote Sensing, GIS, Ecology, and Oddball Techniques

Generative art in PostGIS

Posted by smathermather on January 14, 2016

Screen Shot 2016-01-14 at 11.46.55 PMScreen Shot 2016-01-14 at 11.45.55 PMScreen Shot 2016-01-14 at 11.45.41 PM

SELECT ST_Buffer(ST_SubDivide(ST_Buffer(
     ST_GeomFromText(
      'POINT(0 0)'
     ), 50000, 100), generate_series), generate_series * 100) AS geom
	FROM generate_series(8,100)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: