PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ colmap_dbf_by_pg()

const char * colmap_dbf_by_pg ( colmap map,
const char *  pgname 
)

Definition at line 189 of file shpcommon.c.

190{
191 int i;
192 for (i=0; i<map->size; i++)
193 {
194 if (!strcasecmp(map->pgfieldnames[i], pgname))
195 {
196 return map->dbffieldnames[i];
197 }
198 }
199 return NULL;
200}
char ** pgfieldnames
Definition shpcommon.h:55
int size
Definition shpcommon.h:61
char ** dbffieldnames
Definition shpcommon.h:58

References colmap_t::dbffieldnames, colmap_t::pgfieldnames, and colmap_t::size.

Referenced by ShpDumperOpenTable().

Here is the caller graph for this function: