{"action":"opened","issue":{"number":122,"created_at":"2011-10-10T20:01:45Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"We're going to clean up our bulkloading process and set it up as:\r\n\r\n1. For each shapefile:\r\n  1. Create metadata CSV (for ALL rows in this shapefile)\r\n  2. Bulkload to PostgreSQL (by doing a COPY FROM CSV ...). This will give the rows unique 'id's.\r\n  3. Bulkload to Google App Engine  (by doing a single COPY TO CSV .. WHERE prov=p, coll=c, filename=f)\r\n \t4. Run shp2pgis.sql on shapefile -> temp table\r\n  5. Update layers table using nested select magic (INSERT INTO layers WHERE .... FROM (SELECT geom FROM TempTable ...))\r\n\r\nThis issue is just to document the process we're aiming for and for naming the branch :).","comments":0,"title":"Merge PostgreSQL metadata, geometry and Google App Engine metadata exports","updated_at":"2011-10-10T20:01:45Z","url":"https://api.github.com/repos/andrewxhill/MOL/issues/122","id":1867550,"assignee":{"avatar_url":"https://secure.gravatar.com/avatar/ef10e56567f5d6e20bc3f7f4ab4e3254?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/gaurav","id":23979,"login":"gaurav"},"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/ef10e56567f5d6e20bc3f7f4ab4e3254?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/gaurav","id":23979,"login":"gaurav"},"html_url":"https://github.com/andrewxhill/MOL/issues/122","labels":[{"name":"Priority-High","url":"https://api.github.com/repos/andrewxhill/MOL/labels/Priority-High","color":"DDDDDD"},{"name":"Status-Started","url":"https://api.github.com/repos/andrewxhill/MOL/labels/Status-Started","color":"DDDDDD"}],"state":"open"},"legacy":{"number":122,"action":"opened","issue":1867550}}