Always write OGR/GMT header in files
Is there a reason why many (all?) gmt tools producing spatial output does not pr. default output the OGR/GMT header (and aspatial data)? E.g. grdcontour, gmtconnect, gmtspatial, block[mean,median,mode] etc.
In my opinion this would be a good idea. This makes workflows involving ogr2ogr ~flawless and consistent.
As a user of QGIS, it also appears that it now requires the OGR/GMT to be present (at least # @VGMT1.0) or else if will fail to recognize the file.
Very related to issue #213.
Fully agree, there are technical reasons why it is not that way; we do want to try to reach that goal.
Great!
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions.
Just adding the header:
# @VGMT1.0 @GLINESTRING
makes it readable by ogr2ogr. Great benefit!