Permalink
Browse files

Indicate that the generic import script also works with GeoJSON files

  • Loading branch information...
mhl committed Jan 11, 2013
1 parent 4db3a89 commit 34d62d1ea607f6d8de9db6d1c865fd55e693e32a
Showing with 4 additions and 4 deletions.
  1. +4 −4 mapit/management/commands/mapit_import.py
@@ -1,5 +1,5 @@
-# This script is used to import geometry information, from a shapefile or KML
-# file, into MapIt.
+# This script is used to import geometry information, from a shapefile, KML
+# or GeoJSON file, into MapIt.
#
# Copyright (c) 2011 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org; WWW: http://www.mysociety.org
@@ -15,8 +15,8 @@
from mapit.management.command_utils import save_polygons
class Command(LabelCommand):
- help = 'Import geometry data from .shp or .kml files'
- args = '<SHP/KML files>'
+ help = 'Import geometry data from .shp, .kml or .geojson files'
+ args = '<SHP/KML/GeoJSON files>'
option_list = LabelCommand.option_list + (
make_option(
'--commit',

0 comments on commit 34d62d1

Please sign in to comment.