r.carve: adding the option to read width, depth values from vector map table columns#803
r.carve: adding the option to read width, depth values from vector map table columns#803tmszi wants to merge 10 commits intoOSGeo:mainfrom
Conversation
2793af8 to
1cb8d75
Compare
|
I have merged current main into this which refreshes the code base in the PR overall. The PR had some indentation changes included, so the new indented code from main should actually make this PR cleaner. Anyway, no conflicts with the main branch now. |
Thanks! |
|
Merged this to main again. |
|
There is a mac CI failure: |
nilason
left a comment
There was a problem hiding this comment.
Docs in general need to be corrected, for a start, if not urgent fix perhaps milestone bump to 8.4 perhaps preferable.
| } | ||
|
|
||
| void set_value(dbColumn *col, unsigned short int *ctype, char *answer, | ||
| double *parm, double *def_value, dbTable *table, |
| set_value(depth_col, &depth_col_type, parm->depth_col->answer, | ||
| &parm->sdepth, def_depth, table, &wind, DEPTH); | ||
|
|
||
| for (c = 0; c < sql.ncats; c++) { |
There was a problem hiding this comment.
”comparison of integers of different signs: 'unsigned int' and 'int' `[-Werror,-Wsign-compare]” compiler warning
| struct field_info *Fi, int *width_col_pos, | ||
| int *depth_col_pos, char *columns[2], dbDriver *driver) | ||
| /* | ||
| * Function: enforce_downstream |
There was a problem hiding this comment.
Docs before function, see doxygen style, eg.
Line 30 in 001bf57
|
The CI gcc tests show this error: |
There was a problem hiding this comment.
Remember to apply the changes in the markdown docs when updating the PR.
| PGM = r.carve | ||
|
|
||
| LIBES = $(VECTORLIB) $(BITMAPLIB) $(DIG2LIB) $(RASTERLIB) $(GISLIB) | ||
| LIBES = $(VECTORLIB) $(BITMAPLIB) $(DIG2LIB) $(RASTERLIB) $(GISLIB) $(DBMILIB) |
There was a problem hiding this comment.
What is the equivalent target in CMake for the DBMILIB?
It needs to be added in
https://github.com/tmszi/grass/blob/01c4bee8e121e35ba5fa38d38d371a0722d2e29d/raster/CMakeLists.txt#L159-L167
There are like three targets in that CMakeLists.txt that contain dbmi. Are they more precise now?
Adding the option to read width, depth values from vector map table columns issue #686.