Standard File Formats

Read, write, and get information about data files

Read, write, and get information about geospatial data files. Read data in formats such as Esri Binary Grid, Esri GridFloat, DTED, GeoTIFF, and GPX. Write data in GeoTIFF, world file, shapefile, and KML formats.

Functions

expand all

Read

readgeorasterRead geospatial raster data file
worldfilereadRead world file and return referencing object or matrix
imreadRead image from graphics file

Get Information

georasterinfoInformation about geospatial raster data file
geotiffinfoInformation about GeoTIFF file
sdtsinfoInformation about SDTS data set
getworldfilenameDerive world file name from image file name

Write

geotiffwriteWrite GeoTIFF file
worldfilewriteWrite world file from referencing object or matrix
imwriteWrite image to graphics file

Read

gpxreadRead GPX file
shapereadRead vector features and attributes from shapefile

Get Information

shapeinfoInformation about shapefile

Write

kmlwriteWrite geographic data to KML file
kmlwritelineWrite geographic line data to KML file
kmlwritepoint Write geographic point data to KML file
kmlwritepolygonWrite geographic polygon to KML file
makeattribspecAttribute specification from geographic data structure
shapewriteWrite geographic vector data structure to shapefile
makedbfspecDBF specification from geographic data structure

Objects

RasterInfoInformation about geospatial raster data file
RPCCoefficientTag Rational Polynomial Coefficients Tag

Topics

Export Vector Geodata

You can export geodata as a shapefile, which can be exchanged between different geographic information systems. You can also create KML files to upload geodata to the web.

Export KML Files for Viewing in Earth Browsers

Keyhole Markup Language (KML) specifies how a set of geographic features should be displayed in "Earth browsers".

Select Shapefile Data to Read

You can import a subset of elements in a shapefile by filtering elements according to attribute names and values.

Functions That Read and Write Files in Compressed Formats

Geospatial data are frequently stored and transmitted in compressed or archive formats that can be accessed using standard functions.

Featured Examples