Skip to content

Commit eba6088

Browse files
committed
Merge pull request #1365 from gioman/ogr2ogr
fixes ogr2ogr.py
2 parents 0791930 + 0f2b92f commit eba6088

File tree

1 file changed

+26
-18
lines changed

1 file changed

+26
-18
lines changed

python/plugins/processing/algs/gdal/ogr2ogr.py

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -51,42 +51,50 @@
5151
FORMATS = [
5252
'ESRI Shapefile',
5353
'GeoJSON',
54-
' GeoRSS',
54+
'GeoRSS',
5555
'SQLite',
56-
'Generic Mapping Tools',
57-
'Mapinfo TAB',
58-
'ESRI Shapefile',
56+
'GMT',
57+
'MapInfo File',
5958
'INTERLIS 1',
60-
'Geography Markup Language',
61-
'Geoconcept',
62-
'AutoCAD DXF',
6359
'INTERLIS 2',
64-
'',
65-
'Microstation DGN',
66-
'Comma Separated Value',
67-
'Atlas BNAGPS eXchange Format',
68-
'S-57 Base file',
69-
'Keyhole Markup Language',
60+
'GML',
61+
'Geoconcept',
62+
'DXF',
63+
'DGN',
64+
'CSV',
65+
'BNA',
66+
'S57',
67+
'KML',
68+
'GPX',
69+
'PGDump',
70+
'GPSTrackMaker',
71+
'ODS',
72+
'XLSX',
73+
'PDF',
7074
]
7175
EXTS = [
72-
'shp',
73-
'geojson',
76+
'.shp',
77+
'.geojson',
7478
'.xml',
7579
'.sqlite',
7680
'.gmt',
7781
'.tab',
78-
'.shp',
82+
'.ili',
7983
'.ili',
8084
'.gml',
8185
'.txt',
8286
'.dxf',
83-
'.ili',
8487
'.dgn',
8588
'.csv',
8689
'.bna',
87-
'.gpx',
8890
'.000',
8991
'.kml',
92+
'.gpx',
93+
'.pgdump',
94+
'.gtm',
95+
'.ods',
96+
'.xlsx',
97+
'.pdf',
9098
]
9199

92100

0 commit comments

Comments
 (0)