Working with Shapefiles in GeoDjango.
-To enable this application:
+To enable this application:
- - Add `shapes` to your INSTALLED APPS
- - Add `(r'^shapes/', include('shapes.urls')),` to your urlpatterns
- - Until models are implemented add SHP_UPLOAD_DIR = '/some/path' in your setting.py
- - See the shapes/views/urls.py to see usage for the export function
+ - Copy or checkout the `shapes` folder into your project folder.
-This application exposes two urls:
+ - Add `shapes` to your INSTALLED APPS.
+ - Add `(r'^shapes/', include('shapes.urls')),` to your main project's urlpatterns
+ - This will expose two urls: '/shapes/upload/' and '/shapes/export/'.
+ - Add SHP_UPLOAD_DIR = '/some/path' in your setting.py for the upload functionality.
+ - See shapes/urls.py to for example usage of export function
+ - Instantiate the ShpResponder class, associate an queryset and passed in a view.