Skip to content

Instantly share code, notes, and snippets.

@ghing
Created April 29, 2011 14:05
Show Gist options
  • Save ghing/948350 to your computer and use it in GitHub Desktop.
Save ghing/948350 to your computer and use it in GitHub Desktop.
BARD basemap generation error
Loaded BARD library.
Read shapefile '/projects/publicmapping_michigan/local/data/shapes/blocks/PL_BLOCK_MI_M.shp'.
Error in function (sdf, nb = NULL, queen = TRUE) :
unused argument(s) (keepgeom = FALSE)
ERROR:
The BARD map could not be computed. Please check the configuration settings
and try again.
The following traceback may provide more information:
Traceback (most recent call last):
File "/projects/publicmapping_michigan/trunk/django/publicmapping/redistricting/management/commands/setup.py", line 1650, in build_bardmap
bardmap = r.spatialDataFrame2bardBasemap(sdf,keepgeom=r(False))
File "/usr/lib/python2.6/dist-packages/rpy2/robjects/__init__.py", line 423, in __call__
res = super(RFunction, self).__call__(*new_args, **new_kwargs)
RRuntimeError: Error in function (sdf, nb = NULL, queen = TRUE) :
unused argument(s) (keepgeom = FALSE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment