[Qgis-user] Loading up .grd files into QGIS
Jeff McKenna
jmckenna at gatewaygeomatics.com
Fri Aug 28 14:21:30 PDT 2020
Hi Alan,
Since you now have a .gxf file, here are my testing steps that I just
performed locally:
QGIS relies on the GDAL library for raster/vector access. When hitting
a new format and wondering if QGIS can read it, always start by going to
https://gdal.org and scroll down the page and look for your format: for
example, you will see "GXF" listed there under raster drivers:
http://download.osgeo.org/gdal/data/gxf/ Give that a read as a start
always (put another way: *always* start by reading the GDAL driver page
for your format, read the entire driver page as it usually contains
important information).
From reading that, now you know that the GXF driver is always built by
default, so that means you should be able to use QGIS to read your QXF file.
(if you prefer the commandline, executing 'gdalinfo --formats' on your
local machine should return the GXF driver in the long response, and
then you can try 'gdalinfo myfile.gxf' )
You can actually use GDAL test data to verify this: download
"sample.gxf" from http://download.osgeo.org/gdal/data/gxf/
Open "sample.gxf" in QGIS ("Add Raster Layer") and it should look like:
https://pasteboard.co/JovJFDMF.png
Hope these steps help! cheers from the east coast of Canada,
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
co-founder of FOSS4G
http://gatewaygeo.com/
On 2020-08-28 4:28 p.m., ajwchile at gmail.com wrote:
> Thanks for the suggestions.
>
> Have tried exporting the .grd files as both gxf and ers files but
> neither open as rasters in QGIS…..
>
> *From:*chris hermansen <clhermansen at gmail.com>
> *Sent:* August 28, 2020 3:24 PM
> *To:* ajwchile at gmail.com
> *Cc:* qgis-user <qgis-user at lists.osgeo.org>
> *Subject:* Re: [Qgis-user] Loading up .grd files into QGIS
>
> ajwchile and list,
>
> On Fri, Aug 28, 2020 at 12:15 PM <ajwchile at gmail.com
> <mailto:ajwchile at gmail.com>> wrote:
>
> Hi Chris,
>
> These are Geosoft grids…..
>
> *From:*chris hermansen <clhermansen at gmail.com
> <mailto:clhermansen at gmail.com>>
> *Sent:* August 28, 2020 2:47 PM
> *To:* ajwchile at gmail.com <mailto:ajwchile at gmail.com>
> *Cc:* qgis-user <qgis-user at lists.osgeo.org
> <mailto:qgis-user at lists.osgeo.org>>
> *Subject:* Re: [Qgis-user] Loading up .grd files into QGIS
>
> ajwchile and list (sorry for two mails here)
>
> On Fri, Aug 28, 2020 at 11:42 AM chris hermansen
> <clhermansen at gmail.com <mailto:clhermansen at gmail.com>> wrote:
>
> ajwchile and list,
>
> On Fri, Aug 28, 2020 at 10:49 AM <ajwchile at gmail.com
> <mailto:ajwchile at gmail.com>> wrote:
>
> Can someone help me with the loading of .grd files
> (geophysical imagery) into QGIS? I’ve tried loading this as
> a raster layer as well as simply trying to open the file,
> but both routes tell me the file format isn’t recognised.
> Thanks!
>
> Is this a "Surfer Grid file"? https://fileinfo.com/extension/grd
>
> And if so, did you try this approach:
>
> https://gis.stackexchange.com/questions/23002/how-to-visualize-grd-files-in-qgis/93209
>
>
>
> This article:
>
> https://trac.osgeo.org/gdal/ticket/4887
>
> suggests that GDAL may support a related (public) exchange format. Can
> you export from your software to this format (.gxf)?
>
>
More information about the Qgis-user
mailing list