[postgis-users] Request to develop st_pointonsurface variant to output a random point (not an arbitrary one)

Luis Carrasco leca00 at gmail.com
Tue Jan 29 11:16:05 PST 2013


Thanks Steven!

I think that puts me in the right direction.

Best regards,

Luis

On Tue, Jan 29, 2013 at 2:01 PM, Stephen V. Mather <
svm at clevelandmetroparks.com> wrote:

>  You might look to this post:
>
>
> http://sorokine.blogspot.com/2011/05/postgis-function-for-random-point.html
>
>  Best,
> Steve
>
>   [image: http://sig.cmparks.net/cmp-ms-90x122.png] Stephen V. Mather
> GIS Manager
> (216) 635-3243 (Work)
> clevelandmetroparks.com <http://www.clemetparks.com>
>
>
>    ------------------------------
> *From:* postgis-users-bounces at lists.osgeo.org [
> postgis-users-bounces at lists.osgeo.org] on behalf of Luis Carrasco [
> leca00 at gmail.com]
> *Sent:* Tuesday, January 29, 2013 1:53 PM
> *To:* postgis-users at lists.osgeo.org
> *Subject:* [postgis-users] Request to develop st_pointonsurface variant
> to output a random point (not an arbitrary one)
>
>  Hello,
>
> This is more of a wishlist item. I've tried using st_pointonsurface as
> part of a point geomasking routine but all the points I get follow the same
> pattern of angle and direction. Could a new function be integrated into
> postgis where the output point has a random location within a surface? I'm
> solving my problem by using a different approach for my purposes which ends
> being a little more complicated (therefore, this request), but I think
> returning a true random point could help other colleagues as well when
> working with a large dataset.
>
> Thanks,
>
> Luis
>
> --
>
>    Luis Eduardo Carrasco, Ph.D.
> Spatial Analyst
> Health & Spatial Analysis Unit
> State Center for Health Statistics &
> UNC Lineberger Comprehensive Cancer Center
> Department of Health and Human Services
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
>


-- 
Luis Eduardo Carrasco, Ph.D.
919.757.5574
skype: luis_e_carrasco
leca00 at gmail.com
http://www.unc.edu/~lecarras/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20130129/5eea35a6/attachment.html>


More information about the postgis-users mailing list