Skip to content

Commit

Permalink
Merge pull request #143 from tilezen/use_ujson
Browse files Browse the repository at this point in the history
Use ujson for serializing GeoJSON and TopoJSON
  • Loading branch information
iandees authored Jan 6, 2017
2 parents 57ed48c + 2968974 commit 98aa5c8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ PyYAML==3.11
redis==2.10.5
requests==2.10.0
Shapely==1.4.3
simplejson==3.6.4
six==1.10.0
StreetNames==0.1.5
ujson==1.35
Werkzeug==0.9.6
wsgiref==0.1.2
zope.dottedname==4.1.0
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
'redis',
'requests',
'Shapely',
'ujson',
'zope.dottedname',
],
test_suite='tests',
Expand Down
2 changes: 1 addition & 1 deletion tilequeue/format/geojson.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from math import ceil
from math import log
import json
import ujson as json
import shapely.geometry
import shapely.ops
import shapely.wkb
Expand Down
2 changes: 1 addition & 1 deletion tilequeue/format/topojson.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
import ujson as json


def update_arc_indexes(geometry, merged_arcs, old_arcs):
Expand Down

0 comments on commit 98aa5c8

Please sign in to comment.