$ python3 bin/generate_shapefiles.py configfile.toml --2023-02-09 21:15:50-- https://raw.githubusercontent.com/OpenCPN/OpenCPN/master/data/s57data/s57objectclasses.csv Herleiden van raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8003::154, 2606:50c0:8002::154, 2606:50c0:8000::154, ... Verbinding maken met raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8003::154|:443... verbonden. HTTP-verzoek is verzonden; wachten op antwoord... 200 OK Lengte: 41998 (41K) [text/plain] Wordt opgeslagen als: ‘s57objectclasses.csv’ s57objectclasses.csv 100%[=============================================================>] 41,01K --.-KB/s in 0,006s 2023-02-09 21:15:50 (6,34 MB/s) - '‘s57objectclasses.csv’' opgeslagen [41998/41998] --2023-02-09 21:15:50-- https://raw.githubusercontent.com/OpenCPN/OpenCPN/master/data/s57data/s57attributes.csv Herleiden van raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8002::154, 2606:50c0:8001::154, 2606:50c0:8003::154, ... Verbinding maken met raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8002::154|:443... verbonden. HTTP-verzoek is verzonden; wachten op antwoord... 200 OK Lengte: 11996 (12K) [text/plain] Wordt opgeslagen als: ‘s57attributes.csv’ s57attributes.csv 100%[=============================================================>] 11,71K --.-KB/s in 0s 2023-02-09 21:15:50 (56,9 MB/s) - '‘s57attributes.csv’' opgeslagen [11996/11996] Processing /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 Warning 1: Illegal feature attribute id (ATTF:ATTL[3]) of 17011 on feature FIDN=4936, FIDS=14. Skipping attribute. No more warnings will be issued. + ogr2ogr -append -skipfailures -f 'ESRI Shapefile' --config S57_PROFILE iw /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_BCNLAT_POINT.shp -where PRIM=1 /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 BCNLAT + ogr2ogr -append -skipfailures -f 'ESRI Shapefile' --config S57_PROFILE iw /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_BERTHS_POLYGON.shp -where PRIM=3 /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 BERTHS Warning 1: Illegal feature attribute id (ATTF:ATTL[1]) of 17103 on feature FIDN=1288, FIDS=34. Skipping attribute. No more warnings will be issued. Warning 1: Illegal feature attribute id (ATTF:ATTL[1]) of 17103 on feature FIDN=1288, FIDS=34. Skipping attribute. No more warnings will be issued. Warning 1: Illegal feature attribute id (ATTF:ATTL[1]) of 17103 on feature FIDN=1288, FIDS=34. Skipping attribute. No more warnings will be issued. + ogr2ogr -append -skipfailures -f 'ESRI Shapefile' --config S57_PROFILE iw /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_BRIDGE_POLYGON.shp -where PRIM=3 /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 BRIDGE + ogr2ogr -append -skipfailures -f 'ESRI Shapefile' --config S57_PROFILE iw /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_BUAARE_POLYGON.shp -where PRIM=3 /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 BUAARE Warning 1: Illegal feature attribute id (ATTF:ATTL[4]) of 17011 on feature FIDN=6182, FIDS=15. Skipping attribute. No more warnings will be issued. + ogr2ogr -append -skipfailures -f 'ESRI Shapefile' --config S57_PROFILE iw /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_BOYLAT_POINT.shp -where PRIM=1 /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 BOYLAT + ogr2ogr -append -skipfailures -f 'ESRI Shapefile' --config S57_PROFILE iw /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_BOYSPP_POINT.shp -where PRIM=1 /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 BOYSPP + ogr2ogr -append -skipfailures -f 'ESRI Shapefile' --config S57_PROFILE iw /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_CTNARE_POLYGON.shp -where PRIM=3 /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 CTNARE + ogr2ogr -append -skipfailures -f 'ESRI Shapefile' --config S57_PROFILE iw /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_COALNE_LINESTRING.shp -where PRIM=2 /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 COALNE + ogr2ogr -append -skipfailures -f 'ESRI Shapefile' --config S57_PROFILE iw /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_DAYMAR_POINT.shp -where PRIM=1 /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 DAYMAR + ogr2ogr -append -skipfailures -f 'ESRI Shapefile' --config S57_PROFILE iw /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_DEPARE_POLYGON.shp -where PRIM=3 /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 DEPARE Warning 1: Illegal feature attribute id (ATTF:ATTL[3]) of 17103 on feature FIDN=5057, FIDS=142. Skipping attribute. No more warnings will be issued. + ogr2ogr -append -skipfailures -f 'ESRI Shapefile' --config S57_PROFILE iw /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_DISMAR_POINT.shp -where PRIM=1 /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 DISMAR + ogr2ogr -append -skipfailures -f 'ESRI Shapefile' --config S57_PROFILE iw /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_FAIRWY_POLYGON.shp -where PRIM=3 /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 FAIRWY + ogr2ogr -append -skipfailures -f 'ESRI Shapefile' --config S57_PROFILE iw /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_FERYRT_LINESTRING.shp -where PRIM=2 /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 FERYRT Warning 1: Illegal feature attribute id (ATTF:ATTL[3]) of 17103 on feature FIDN=1480, FIDS=117. Skipping attribute. No more warnings will be issued. Warning 1: Illegal feature attribute id (ATTF:ATTL[3]) of 17103 on feature FIDN=1480, FIDS=117. Skipping attribute. No more warnings will be issued. Warning 1: Illegal feature attribute id (ATTF:ATTL[3]) of 17103 on feature FIDN=1480, FIDS=117. Skipping attribute. No more warnings will be issued. + ogr2ogr -append -skipfailures -f 'ESRI Shapefile' --config S57_PROFILE iw /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_GATCON_POLYGON.shp -where PRIM=3 /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 GATCON + ogr2ogr -append -skipfailures -f 'ESRI Shapefile' --config S57_PROFILE iw /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_HRBARE_POLYGON.shp -where PRIM=3 /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 HRBARE + ogr2ogr -append -skipfailures -f 'ESRI Shapefile' --config S57_PROFILE iw /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_HULKES_POLYGON.shp -where PRIM=3 /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 HULKES + ogr2ogr -append -skipfailures -f 'ESRI Shapefile' --config S57_PROFILE iw /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_LNDARE_POLYGON.shp -where PRIM=3 /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 LNDARE + ogr2ogr -append -skipfailures -f 'ESRI Shapefile' --config S57_PROFILE iw /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_LNDRGN_POLYGON.shp -where PRIM=3 /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 LNDRGN + ogr2ogr -append -skipfailures -f 'ESRI Shapefile' --config S57_PROFILE iw /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_LNDMRK_POINT.shp -where PRIM=1 /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 LNDMRK + ogr2ogr -append -skipfailures -f 'ESRI Shapefile' --config S57_PROFILE iw /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_LIGHTS_POINT.shp -where PRIM=1 /home/mark/source/SMAC-M/shp_s57data/ENC_ROOT/1R7MA182/1R7MA182.000 LIGHTS + ogr2ogr -sql 'SELECT CL7_LIGHTS_POINT.VALNMR as VALNMR, CL7_LIGHTS_POINT.LITCHR as LITCHR, CL7_LIGHTS_POINT.SIGGRP as SIGGRP, cast(CL7_LIGHTS_POINT.SIGPER as numeric(4,1)) as SIGPER, cast(CL7_LIGHTS_POINT.HEIGHT as numeric(30,5)) as HEIGHT, CL7_LIGHTS_POINT.COLOUR as COLOUR, CL7_LIGHTS_POINT.EXCLIT as EXCLIT,litchr_code.Meaning as Meaning,colour_code.Colour_code as Colour_cod FROM '\''/home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_LIGHTS_POINT.shp'\''.CL7_LIGHTS_POINT LEFT JOIN '\''litchr_code.csv'\''.litchr_code litchr_code ON CL7_LIGHTS_POINT.LITCHR = litchr_code.ID LEFT JOIN '\''colour_code.csv'\''.colour_code colour_code ON CL7_LIGHTS_POINT.COLOUR = colour_code.ID' /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_LIGHTS_POINT_SIGNATURE.shp /home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_LIGHTS_POINT.shp FAILURE: Unable to open datasource `/home/mark/source/SMAC-M/shp_s57data/shp/7/CL7_LIGHTS_POINT.shp' with the following drivers. -> `FITS' -> `PCIDSK' -> `netCDF' -> `PDS4' -> `VICAR' -> `JP2OpenJPEG' -> `PDF' -> `MBTiles' -> `BAG' -> `EEDA' -> `OGCAPI' -> `ESRI Shapefile' -> `MapInfo File' -> `UK .NTF' -> `LVBAG' -> `OGR_SDTS' -> `S57' -> `DGN' -> `OGR_VRT' -> `REC' -> `Memory' -> `CSV' -> `NAS' -> `GML' -> `GPX' -> `LIBKML' -> `KML' -> `GeoJSON' -> `GeoJSONSeq' -> `ESRIJSON' -> `TopoJSON' -> `Interlis 1' -> `Interlis 2' -> `OGR_GMT' -> `GPKG' -> `SQLite' -> `ODBC' -> `WAsP' -> `PGeo' -> `MSSQLSpatial' -> `OGR_OGDI' -> `PostgreSQL' -> `MySQL' -> `OpenFileGDB' -> `DXF' -> `CAD' -> `FlatGeobuf' -> `Geoconcept' -> `GeoRSS' -> `GPSTrackMaker' -> `VFK' -> `PGDUMP' -> `OSM' -> `GPSBabel' -> `OGR_PDS' -> `WFS' -> `OAPIF' -> `SOSI' -> `Geomedia' -> `EDIGEO' -> `SVG' -> `CouchDB' -> `Cloudant' -> `Idrisi' -> `ARCGEN' -> `XLS' -> `ODS' -> `XLSX' -> `Elasticsearch' -> `Walk' -> `Carto' -> `AmigoCloud' -> `SXF' -> `Selafin' -> `JML' -> `PLSCENES' -> `CSW' -> `VDV' -> `GMLAS' -> `MVT' -> `NGW' -> `MapML' -> `TIGER' -> `AVCBin' -> `AVCE00' -> `HTTP'