/*-- <revision date='2012-08-30'> Use check_macro </revision> --*/
int read_unstandardized(SCHEMA *, DS_Handle, DS_Entity_t, int *, int *, int *, char *, CHECK_MACRO* , char *, char **, DS_Field_t *, int *, ERR_PARAM *) ;
-/* -- makebeta.c -- */
+/* -- makebeta.c -- */
int init_standardized_table(SCHEMA *, ERR_PARAM *) ;
int soundex_street_words(char *, char **) ;
/* 2008-08-01 : add stand_alt_macro flag for alternate city names */
#define INTEGER_AS_BYTES( PTR_VAL ) \
* ( ( int * ) ( PTR_VAL ) )
-
+
#define DOUBLE_AS_BYTES( PTR_VAL ) \
*( ( double * ) ( PTR_VAL ) )
{
size_t capacity;
uint8_t *buf_start;
- uint8_t *writecursor;
- uint8_t *readcursor;
+ uint8_t *writecursor;
+ uint8_t *readcursor;
}
bytebuffer_t;
When elliminating points the neighbor points has its effective area affected and the minheap helps to resort efficient.
*/
typedef struct
-{
+{
int maxSize;
int usedSize;
areanode **key_array;
double y;
double z;
double m;
-}
+}
POINT;
/*
struct rect_node *right_node;
POINT2D *p1;
POINT2D *p2;
-} RECT_NODE;
+} RECT_NODE;
int rect_tree_contains_point(const RECT_NODE *tree, const POINT2D *pt, int *on_boundary);
int rect_tree_intersects_tree(const RECT_NODE *tree1, const RECT_NODE *tree2);
* same cluster are contiguous in the array */
uint32_t* UF_ordered_by_cluster(UNIONFIND* uf);
-/* Replace the cluster ids in a UNIONFIND with sequential ids starting at one.
+/* Replace the cluster ids in a UNIONFIND with sequential ids starting at one.
* If is_in_cluster array is provided, it will be used to skip any indexes
* that are not in a cluster.
* */
} while (0);
#else /* POSTGIS_DEBUG_LEVEL */
-
+
/* Empty prototype that can be optimised away by the compiler for non-debug builds */
#define POSTGIS_DEBUG(level, msg) \
((void) 0)
/* 0 = MULTIPOLYGON/MULTILINESTRING, 1 = force to POLYGON/LINESTRING */
int simple_geometries;
-
+
/* 0 = geometry, 1 = geography */
int geography;
/* whether to do a single transaction or run each statement on its own */
int usetransaction;
-
+
/* Name of the column map file if specified */
char *column_map_filename;
/* Shapefile handle */
SHPHandle hSHPHandle;
-
+
/* Shapefile type */
int shpfiletype;
/* Pointer to an array of PostgreSQL field types */
char **pgfieldtypes;
-
+
/* String containing colume name list in the form "(col1, col2, col3 ... , colN)" */
char *col_names;
/* geometry/geography column name to use. Will be set to the default if the config did
not specify a column name. */
char *geo_col;
-
+
/* Column map */
colmap column_map;
int exclude_nodata_value, double sample, int inc_vals,
uint64_t *cK, double *cM, double *cQ
);
-
+
/**
* Count the distribution of data
*