Skip to content

Instantly share code, notes, and snippets.

@hanfeisun
Created May 4, 2015 02:55
Show Gist options
  • Save hanfeisun/2f300d1d6ee299d131a1 to your computer and use it in GitHub Desktop.
Save hanfeisun/2f300d1d6ee299d131a1 to your computer and use it in GitHub Desktop.
postgis in action
SELECT st_geomfromtext('POINT(-1 38)', 4329);
select st_asewkt('0101000020E9100000000000000000F0BF0000000000004340');
select st_geomfromtext('LINESTRING(-13 21,0 0,3 2') as mycheckmark;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment