Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when generating raw data for the json output when processing geometries #8

Open
vdeparday opened this issue Apr 28, 2013 · 0 comments

Comments

@vdeparday
Copy link
Contributor

Traceback (most recent call last):
File "/Users/viv/.virtualenvs/geonode/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, _callback_args, *_callback_kwargs)
File "/Users/viv/.virtualenvs/geonode/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 77, in wrapped_view
return view_func(_args, *_kwargs)
File "/Users/viv/dev/safe-geonode/safe_geonode/views.py", line 227, in calculate
geometry.append(item.tolist())
AttributeError: Polygon instance has no attribute 'tolist'
Internal Server Error: /safe/api/v1/calculate/

vdeparday added a commit that referenced this issue Sep 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant