TODO: function details

gc_import_sf(x, collection = "geocoder", index = "2dsphere",
  mongo_url = "mongodb://localhost:27017", silent = FALSE)

Arguments

x

geojson file to read or remote, flick local param.

collection

set collection from parameter default geocode.

index

a MongoDB compatible index: either 2d or 2dsphere.

mongo_url

custom mongourl to use with collection, default value is 'mongodb://localhost:27017' used with gc_setup.

silent

show messages, default is FALSE

Value

number of rows inserted