Commit 6bcf91a0 authored by Pierre Arnaud's avatar Pierre Arnaud

Minor

parent 8c925e52
......@@ -39,7 +39,7 @@ from shapely.geometry import shape
from shapely.ops import unary_union
import common
from passim.views.api.common import get_children_territories
from passim.views.api.common import get_children_territories
def usage(argv):
......@@ -83,6 +83,7 @@ def main(argv=sys.argv):
exit(1)
else:
data_folder = '{0}/'.format(settings.get('open_data'))
# data_folder = "/home/eeadmin/passim-virtualenv/passim/passim/static/data/"
ROUND_COORD = 10 # Use for territories precision to optimize geoJson files size
urls = {
......
......@@ -158,7 +158,7 @@ def main(argv=sys.argv):
u'p': u'Port',
}
for abr, transport_type in transport_types.iteritems():
print u'Export {0}'.format(transport_type)
# print u'Export {0}'.format(transport_type)
pois = db_flat.pois.find({
'metadata.schema-name': "OffreTransport",
'type-de-transport.value': {'$in': [transport_type]},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment