Gis Interview Questions
Gis Interview Questions
.shp is a mandatory Esri file that gives features their geometry. Every shapefile has
its own .shp file that represent spatial vector data. For example, it could be points,
lines and polygons in a map.
.shx are mandatory Esri and AutoCAD shape index position. This type of file is used
to search forward and backwards.
.dbf is a standard database file used to store attribute data and object IDs. A .dbf file
is mandatory for shape files. You can open .DBF files in Microsoft Access or Excel.
.prj is an optional file that contains the metadata associated with the shapefiles
coordinate and projection system. If this file does not exist, you will get the error
“unknown coordinate system”. If you want to fix this error, you have to use the
“define projection” tool Which generates .prj files.
.xml file types contains the metadata associated with the shapefile. If you delete this
file, you essentially delete your metadata. You can open and edit this optional file
type (.xml) in any text editor.
.sbn is an optional spatial index file that optimizes spatial queries. This file type is
saved together with a .sbx file. These two files make up a shape index to speed up
spatial queries.
.sbx are similar to .sbn files in Which they speed up loading times. It works with .sbn
files to optimize spatial queries. We tested .sbn and .sbx extensions and found that
there were faster load times When these files existed. It was 6 seconds faster (27.3
sec versus 33.3 sec) compared with/without .sbn and .sbx files.
.cpg are optional plain text files that describes the encoding applied to create the
shapefile. If your shapefile doesn’t have a cpg file, then it has the system default
encoding.