Skip to content

Commit

Permalink
Merge pull request #866 from ebocher/fix_id_water
Browse files Browse the repository at this point in the history
Fix id_water column name regression
  • Loading branch information
ebocher authored Nov 7, 2023
2 parents a811f33 + c04931a commit 2556b76
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ Map osm_processing(JdbcDataSource h2gis_datasource, def processing_parameters, d
if(h2gis_datasource.getRowCount(seaLandMaskTableName)>0){
//Select the water and sea features
h2gis_datasource.execute """Drop table if exists $hydrographicTableName;
CREATE TABLE $hydrographicTableName as select the_geom, id, cast(0 as integer) as zindex, type from $seaLandMaskTableName where type in ('water', 'sea') """.toString()
CREATE TABLE $hydrographicTableName as select the_geom, id as id_water, cast(0 as integer) as zindex, type from $seaLandMaskTableName where type in ('water', 'sea') """.toString()
}

//Format road
Expand Down

0 comments on commit 2556b76

Please sign in to comment.