PostGIS  2.1.10dev-r@@SVN_REVISION@@
void set_loader_config_defaults ( SHPLOADERCONFIG config)

Definition at line 764 of file shp2pgsql-core.c.

References shp_loader_config::createindex, shp_loader_config::dump_format, shp_loader_config::encoding, ENCODING_DEFAULT, shp_loader_config::force_output, FORCE_OUTPUT_DISABLE, shp_loader_config::forceint4, shp_loader_config::geo_col, shp_loader_config::geography, shp_loader_config::idxtablespace, shp_loader_config::null_policy, shp_loader_config::opt, POLICY_NULL_INSERT, shp_loader_config::quoteidentifiers, shp_loader_config::readshape, shp_loader_config::schema, shp_loader_config::shp_file, shp_loader_config::shp_sr_id, shp_loader_config::simple_geometries, shp_loader_config::sr_id, SRID_UNKNOWN, shp_loader_config::table, shp_loader_config::tablespace, shp_loader_config::use_wkt, and shp_loader_config::usetransaction.

Referenced by main(), and test_ShpLoaderCreate().

765 {
766  config->opt = 'c';
767  config->table = NULL;
768  config->schema = NULL;
769  config->geo_col = NULL;
770  config->shp_file = NULL;
771  config->dump_format = 0;
772  config->simple_geometries = 0;
773  config->geography = 0;
774  config->quoteidentifiers = 0;
775  config->forceint4 = 0;
776  config->createindex = 0;
777  config->readshape = 1;
779  config->encoding = strdup(ENCODING_DEFAULT);
781  config->sr_id = SRID_UNKNOWN;
782  config->shp_sr_id = SRID_UNKNOWN;
783  config->use_wkt = 0;
784  config->tablespace = NULL;
785  config->idxtablespace = NULL;
786  config->usetransaction = 1;
787 }
#define POLICY_NULL_INSERT
#define SRID_UNKNOWN
Unknown SRID value.
Definition: liblwgeom.h:154
#define FORCE_OUTPUT_DISABLE
#define ENCODING_DEFAULT

Here is the caller graph for this function: