Skip to content

Commit

Permalink
BYN: remove write support
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Jan 28, 2025
1 parent 6406ec9 commit db98e75
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 354 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Supported Formats: (ro:read-only, rw:read-write, +:update, v:virtual-I/O s:subda
KRO -raster- (rw+v): KOLOR Raw (*.kro)
ROI_PAC -raster- (rw+v): ROI_PAC raster
RRASTER -raster- (rw+v): R Raster (*.grd)
BYN -raster- (rw+v): Natural Resources Canada's Geoid (*.byn, *.err)
BYN -raster- (rov): Natural Resources Canada's Geoid (*.byn, *.err)
NOAA_B -raster- (rov): NOAA GEOCON/NADCON5 .b format (*.b)
NSIDCbin -raster- (rov): NSIDC Sea Ice Concentrations binary (.bin) (*.bin)
RIK -raster- (rov): Swedish Grid RIK (.rik) (*.rik)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Supported Formats: (ro:read-only, rw:read-write, +:update, v:virtual-I/O s:subda
KRO -raster- (rw+v): KOLOR Raw (*.kro)
ROI_PAC -raster- (rw+v): ROI_PAC raster
RRASTER -raster- (rw+v): R Raster (*.grd)
BYN -raster- (rw+v): Natural Resources Canada's Geoid (*.byn, *.err)
BYN -raster- (rov): Natural Resources Canada's Geoid (*.byn, *.err)
NOAA_B -raster- (rov): NOAA GEOCON/NADCON5 .b format (*.b)
RIK -raster- (rov): Swedish Grid RIK (.rik) (*.rik)
USGSDEM -raster- (rwv): USGS Optional ASCII DEM (and CDED) (*.dem)
Expand Down
10 changes: 0 additions & 10 deletions autotest/gdrivers/byn.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,6 @@ def test_byn_1():
#


def test_byn_2():

tst = gdaltest.GDALTest("BYN", "byn/cgg2013ai08_reduced.byn", 1, 64764)
tst.testCreateCopy(new_filename="tmp/byn_test_2.byn")


###############################################################################
#


def test_byn_invalid_header_bytes():

tst = gdaltest.GDALTest("BYN", "byn/test_invalid_header_bytes.byn", 1, 64764)
Expand Down
6 changes: 1 addition & 5 deletions doc/source/drivers/raster/byn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,14 @@ will have variable Data equal to 1 or 3.
Driver capabilities
-------------------

.. supports_createcopy::

.. supports_create::

.. supports_georeferencing::

.. supports_virtualio::

Factor
------

When translating from or into BYN file to or from another formats the
When translating from BYN file to or from another formats the
scale will affect the result profoundly.

Translating to a format that supports Scale (GTIFF for example) will
Expand Down
Loading

0 comments on commit db98e75

Please sign in to comment.