Alex Sorokine's Random Notes
Saturday, November 2, 2013
Upgrading PostgreSQL 9.1/PostGIS 1.5 to PostgreSQL 9.3/PostGIS 2.1 on Ubuntu 12.04 (precise)
›
Newer versions of PostgreSQL and PostGIS (9.3 and 2.1) have some nice features like materialized view and raster support respectively. My ex...
Wednesday, January 25, 2012
Parser for command line parameters in Java/C/C++/Python/shell
›
My question on stackoverflow : I am looking for a library to parse command-line parameters that would work identically in Java, C/C++, P...
Wednesday, December 14, 2011
OS X logout from the command line
›
This morning I found my Mac desktop stuck on logout. I did not want to force reboot it so I did some peeking around for how to logout peace...
Sunday, December 4, 2011
Array permutation
›
Here is a snippet of Java code that will permute indexes of an array: For working Java class see https://github.com/sorokine/FischerKrause
Tuesday, May 31, 2011
PostGIS function for a random point inside a polygon -- page on PostGIS wiki
›
I have created a page on PostGIS wiki with the description of the random point functions: http://trac.osgeo.org/postgis/wiki/UserWikiRandom...
Monday, May 23, 2011
PostGIS function for a random point inside a polygon -- REVISED
›
This is a revised random-point-in-polygon function first discussed in my earlier post . It turns out that in some weird cases (multipolygon...
Wednesday, April 13, 2011
PostGIS function for a random point inside a polygon
›
Check the revised version of this post. This is a function that I wrote to generate a random point inside a polygon. It works by first g...
1 comment:
‹
›
Home
View web version