{"id":210,"date":"2007-04-27T20:40:44","date_gmt":"2007-04-28T01:40:44","guid":{"rendered":"http:\/\/crschmidt.net\/blog\/?p=210"},"modified":"2007-04-27T20:40:44","modified_gmt":"2007-04-28T01:40:44","slug":"postgis-and-stored-functions-in-python","status":"publish","type":"post","link":"https:\/\/crschmidt.net\/blog\/archives\/210\/postgis-and-stored-functions-in-python\/","title":{"rendered":"PostGIS and Stored Functions in&#8230; Python?"},"content":{"rendered":"<p>This week, I had the oppourtunity to work with Schuyler in writing stored procedures in Postgres\/PostGIS for the first time.<\/p>\n<p>At first, we were writing in plpgsql, but found it didn&#8217;t suit our needs&#8230; and switched to Python.<\/p>\n<p>Yes, Python. Our database now has stored procedures which decode a cPickle pickle structure from a column (go go unstructured data) and return the output of a key\/value pair (based on the key).<\/p>\n<p>It was a very weird thing to see this actually work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, I had the oppourtunity to work with Schuyler in writing stored procedures in Postgres\/PostGIS for the first time. At first, we were writing in plpgsql, but found it didn&#8217;t suit our needs&#8230; and switched to Python. Yes, Python. Our database now has stored procedures which decode a cPickle pickle structure from a column [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46,45],"tags":[],"class_list":["post-210","post","type-post","status-publish","format-standard","hentry","category-postgis","category-spatial-databases"],"_links":{"self":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/comments?post=210"}],"version-history":[{"count":0,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/210\/revisions"}],"wp:attachment":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/media?parent=210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/categories?post=210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/tags?post=210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}