Re: [postgis-users] biggest rectangle contained within another polygon

2013-12-05 Thread Rémi Cura
Maybe you could try with a more powerfull langage, like PL-R. You would probably find some already existing useful brick for what you want to do. Cheers, Rémi-C 2013/12/5 Martin Davis mtncl...@telus.net Is there an existing function to do this? No. Is it easy to write such a function? No,

Re: [postgis-users] Create equally spaced lines within a polygon

2013-12-05 Thread Nicolas Ribot
Hi, If baseline is straight and can be drawn, I was thinking about linear referencing to identify steps for perpendicular lines, then using translate/rotate operations to move the centerline to each point and to rotate it to create perpendicular segments. Then an intersection is done with

[postgis-users] making Hexagoan from coordinate x, y and using distance

2013-12-05 Thread anurag singh
*Hi everyone!* *This is my first question on this site. I am developing a small application where there is a requirement for generating a buffer in form of regular hexagon.* *I have already created the circle using **ST_Buffer(ST_MakePoint(x1, y1), 1000, 4 )** but not getting that how i can

[postgis-users] Getting function postgis_version() does not exist after PHP upgrade

2013-12-05 Thread Stefan Schwarzer
Hi there, we've upgraded our server from PHP 5.3.12 to 5.3.27… So, no big deal. But I am not an admin-person, so don't understand what else is needed. But suddenly, I have problems with my PostGIS installation. When I try to pgsql2shp, it says: ERROR: function postgis_version() does