The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
lng | lat | |
---|---|---|
-77.23399839 | 17.81211861 | |
-77.22748512 | 17.87916797 | |
-77.39642756 | 18.15838573 | |
-77.22748512 | 17.87916797 | |
-77.22748512 | 17.87916797 | |
-77.42938422 | 18.15584892 | |
-77.23275824 | 17.94182592 | |
-77.23911423 | 17.97033912 | |
-77.28727672 | 17.80754139 |
#!/usr/bin/python | |
import csv | |
import sys | |
import shapely.wkt | |
import geojson | |
csv.field_size_limit(sys.maxsize) | |
csvfile = open('in.csv', 'rb') |
import csv | |
import json | |
with open('data.json') as data_file: | |
x = json.load(data_file) | |
f = csv.writer(open("20150425.csv", "wb+")) | |
# Optional CSV Header - uncomment if needed | |
#f.writerow(["name", "creditcard"]) |
<?php | |
// modified code from https://stackoverflow.com/questions/9802788/call-a-rest-api-in-php | |
// Method: POST, PUT, GET etc | |
// Data: array("param" => "value") ==> index.php?param=value | |
/* | |
//had to install php curl |