OpenersPrimaryExamplesSection(Spacer1)Examples  (5)

OpenersExampleSection0(Spacer1)Basic Examples  (5)

Import a Surfer grid digital elevation model:

Import[ "http://exampledata.wolfram.com/surfergrid.grd.gz"]

Get the names of the (RefLink[Import, paclet:ref/Import]) elements available in this file:

Import[ "http://exampledata.wolfram.com/surfergrid.grd.gz","Elements"]

Get the coordinate range of the data:

Import[ "http://exampledata.wolfram.com/surfergrid.grd.gz","SpatialRange"]

Import the data and display as a 3D model:

ListPlot3D[Import[ "http://exampledata.wolfram.com/surfergrid.grd.gz" , "Data", "DownsamplingFactor"->3], ColorFunction->"DarkTerrain", Mesh->False, Boxed->False, PlotRange->{All, All, {-100, 1500}}, Axes->False, ImageSize->Medium]

Export a matrix as a Surfer grid digital elevation model:

Export["test.grd",ImageData[]]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {Related Formats:  (RefLink[GTOPO30, paclet:ref/format/GTOPO30])  ▪  (RefLink[SDTSDEM, paclet:ref/format/SDTSDEM])  ▪  (RefLink[USGSDEM, paclet:ref/format/USGSDEM])  ▪  (RefLink[GeoTIFF, paclet:ref/format/GeoTIFF])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Geospatial Formats, paclet:guide/GeospatialFormats])}, {▪(RefLinkPlain[Graphics Importing & Exporting, paclet:guide/GraphicsImportingAndExporting])}, {▪(RefLinkPlain[Importing & Exporting, paclet:guide/ImportingAndExporting])}, {▪(RefLinkPlain[Listing of All Formats, paclet:guide/ListingOfAllFormats])}})}})