Skip to content

Commit

Permalink
Fix id_water column name regression
Browse files Browse the repository at this point in the history
  • Loading branch information
ebocher committed Nov 7, 2023
1 parent a811f33 commit c04931a
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 c04931a

Please sign in to comment.