Home>Article> What is the format of shp file?

What is the format of shp file?

coldplay.xixi
coldplay.xixi Original
2021-01-29 17:33:31 8447browse

Shape files are developed by ESRI. An ESRI shape file includes a main file, an index file, and a dBASE table. The suffix of the main file is [.shp].

What is the format of shp file?

#The operating environment of this article: Windows 7 system, Dell G3 computer.

shape fileDeveloped by ESRI, an ESRI (Environmental Systems Research Institute) shape file includes a main file, an index file, and a dBASE table. The suffix of the main file is.shp.

The shp file consists of a fixed-length file header followed by variable-length records. Each variable-length record consists of a fixed-length record header followed by variable-length record content.

What is the format of shp file?

Extended information

The Shapefile format is composed of multiple files. To form a Shapefile, three files are necessary Few, they are ".shp", ".shx" and ".dbf" files respectively.

The file name prefixes for a group of files representing the same data should be the same. For example, to store geometry and attribute data about a lake, there must be three files: lake.shp, lake.shx and lake.dbf.

The suffix of the "real" Shapefile is shp. However, the data in this file alone is incomplete. The other two must be attached to form a complete set of geographical data.

In addition to these three required files, there are eight optional files, which can be used to enhance the expression ability of spatial data. All file names must follow the MS DOS 8.3 file name standard (file prefix is 8 characters, suffix is 3 characters, such as shapefil.shp);

to facilitate compatibility with some old applications performance, although many new programs now support long filenames. Additionally, all files must be in the same directory.

If you want to know more about programming learning, please pay attention to thephp trainingcolumn!

The above is the detailed content of What is the format of shp file?. For more information, please follow other related articles on the PHP Chinese website!

php
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn