{"id":1738,"date":"2010-06-03T15:26:40","date_gmt":"2010-06-03T23:26:40","guid":{"rendered":"http:\/\/www.chesnok.com\/daily\/?p=1738"},"modified":"2010-06-03T15:26:40","modified_gmt":"2010-06-03T23:26:40","slug":"setting-up-a-pdxapi-instance","status":"publish","type":"post","link":"https:\/\/www.chesnok.com\/daily\/2010\/06\/03\/setting-up-a-pdxapi-instance\/","title":{"rendered":"Setting up a PDXAPI instance"},"content":{"rendered":"<p>Today I spent a little time setting up a PDXAPI instance of the CivicApps data. There are a few different tools out there for grabbing the data and loading it up, and so I&#8217;m documenting the basic steps here for setting up a spatial SQLite using @lokkju&#8217;s python projects.<\/p>\n<pre>\r\nhg clone https:\/\/pyspatialite.googlecode.com\/hg\/ pyspatialite\r\n\r\ncd pyspatialite\r\nmv setup.cfg.OSX setup.cfg\r\npython setup.py build\r\nsudo python setup.py install\r\n\r\ncd ..\r\ncd pyod\r\n\r\nhg clone https:\/\/pyod.googlecode.com\/hg\/ pyod\r\n\r\n# unsatisfied dependency!\r\nsudo easy_install pyyaml\r\n\r\npypython fetcher.py\r\n<\/pre>\n<p>This creates a 1 GB sqlite database called &#8216;test.sqlite&#8217;.<\/p>\n<p>Next, I&#8217;ll be testing out loading this into a CouchDB instance and maybe playing with Max Ogden&#8217;s initial PostGIS export.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I spent a little time setting up a PDXAPI instance of the CivicApps data. There are a few different tools out there for grabbing the data and loading it up, and so I&#8217;m documenting the basic steps here for &hellip; <a href=\"https:\/\/www.chesnok.com\/daily\/2010\/06\/03\/setting-up-a-pdxapi-instance\/\">Continue reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[194,20],"tags":[306,315,314],"class_list":["post-1738","post","type-post","status-publish","format-standard","hentry","category-osbridge","category-portland","tag-civicapps","tag-instructions","tag-pdxapi"],"_links":{"self":[{"href":"https:\/\/www.chesnok.com\/daily\/wp-json\/wp\/v2\/posts\/1738","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chesnok.com\/daily\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chesnok.com\/daily\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chesnok.com\/daily\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chesnok.com\/daily\/wp-json\/wp\/v2\/comments?post=1738"}],"version-history":[{"count":1,"href":"https:\/\/www.chesnok.com\/daily\/wp-json\/wp\/v2\/posts\/1738\/revisions"}],"predecessor-version":[{"id":1739,"href":"https:\/\/www.chesnok.com\/daily\/wp-json\/wp\/v2\/posts\/1738\/revisions\/1739"}],"wp:attachment":[{"href":"https:\/\/www.chesnok.com\/daily\/wp-json\/wp\/v2\/media?parent=1738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chesnok.com\/daily\/wp-json\/wp\/v2\/categories?post=1738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chesnok.com\/daily\/wp-json\/wp\/v2\/tags?post=1738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}