Convert GeoJSON to Shapefile

In this article we are converting GeoJSON to Shapefile shp format. You might be thinking why would anyone convert GeoJSON in shapefile. Answer is very simple Shapefile is very popular data format with open specification for data interoperability among GIS (Geographical information system) softwares. Before moving towards conversion steps we must look for GeoJSON and Shape file in detail. There Specification is given below.

Here is the Online Converter Tool from GeoJSON To Shapefile

Specification of GeoJSON-

Geojson data is open standard format, contains simple geographical feature with non-spatial data. In type element it has feature collection. That contains name, CRS (coordinate reference system) and features. These features can be line, point, polygon, Multi-Line string and multi-polygon.

Convert GeoJSON to Shapefile

Specification of Shapefile-

Shapefile is very popular data format specially among open source GIS softwares. It has some mandatory files, which contains various information such as index of geometry, attribute data and projection information.

  1. shx- contains geometry index,
  2. shp- contains geometry,
  3. dbf- contains attribute data,
  4. prj- contains projection data.

Convert GeoJSON to Shapefile using MapOG Tool

Convert GeoJSON to Shapefile Shp Using Gdal Utility-

Conversion from geojson to shapefile requires GDAL library in your system. For downloading it you can follow given commands.

To check the availability of library can be check by typing ogr2ogr in command prompt. You can also check the version of GDAL library by typing gdalinfo –version.

To convert data from geojson to shapefile we must have format available in library. To check the formats available you can execute the following command,

–> ogr2ogr –formats

you will get the following list that contains the drivers list. Check for the GeoJSON and Shapefile driver.

Now you can execute the conversion command given below,

–>ogr2ogr -f ‘ESRI Shapefile’ -a_srs EPSG:4326 Output_fileName.shp Input_FileName.geojson

Here Command shows some options of ogr2ogr utility as -f, which shows output file format, -a_srs shows SRS (spatial reference system) assigned to output file. The Generated output file can be seen on QGIS software.

Converted Output GeoJSON to Shapefile In QGIS software-

In similar way you can also convert Shp to geojson, shp to KML or many more.

Feel free to contact for any help or suggestions by commenting in given comment box.

Leaflet FAQs – Leaflet Interview Questions

Leaflet is one of the most popular open-source JavaScript libraries for interactive maps. Simplicity, performance and usability are the major keys of the Leaflet. It create maps right from the R console or RStudio and Use map bounds and mouse events to drive Shiny logic. Leaflet allows developers without a GIS background to very easily display tiled web maps hosted on a public server, with optional tiled overlays. Here in this post we will check FAQs of Leaflet and Common Question asked during Interview Questions.

Leaflet Interview Questions – Frequently Asked Question Leaflet

Que. What is Leaflet?
Ans. Leaflet is the leading open-source JavaScript library for mobile-friendly interactive maps.

Que. Define marker.
Ans. Marker icons in Leaflet are Defined by L.Icon objects, which are passed as an option when creating markers.

Que. Define popup.
Ans. Popups are usually used when you want to attach some information to a particular object on a map.

Que. How to add layer on map?
Ans. using command addTo(map) or addLayer() .

Que. What is GeoJSON data format?
Ans. GeoJSON is an open standard format designed for representing simple geographical features, along with their non-spatial attributes. It is based on JSON, the JavaScript Object Notation.

Que. What is topojson?
Ans. TopoJSON is an extension of GeoJSON that encodes topology. Rather than representing geometries discretely, geometries in TopoJSON files are stitched together from shared line segments called arcs.

Que. What is topology?
Ans. the study of geometrical properties and spatial relations unaffected by the continuous change of shape or size of figures.

Que. list data formats.
Ans. vector and raster data format.

Que. What is tile layer?
Ans. A tile layer is a set of web-accessible tiles that reside on a server. L.tileLayer() is used to load and display tile layers on the map.

Que. What are the types of marker?
Ans. circle, polygon, point and there also Can be customized icons.

Que. Explain control in leaflet.
Ans. Leaflet has a nice little control that allows your users to control which layers they see on your map.
name control elements.
zoom, attribution, layers and scale.

Que. Explain layerGroup() in leaflet.
Ans. layerGroup() is used to group several layers and handle them as one. If you add it to the map, any layers added or removed from the group will be added/removed on the map as well.

Que. Explain layer control in leaflet.
Ans. layer control that allows your users to control which layers they see on your map.

Que. How Can you load geojson data in lealet?
Ans. using L.geoJSON() method, which accepts object in geojson format.

Que. How Can we convert layer into geojson.
Ans. Using toGeoJSON() method, which returns a GeoJSON representation of the layer group (as a GeoJSON FeatureCollection, GeometryCollection, or MultiPoint).

Que. Explain L.control.layers(baseMaps, overlayMaps).addTo(map);
Ans. The first argument passed when creating the layers control is the base layers object. The second argument is the overlays object.

Que. What is bound?
Ans. Represents a rectangular area in pixel coordinates.

Que. What do you mean by getSouthWest()?
Ans. Returns the south-west point of the bounds. Similarly we Can use getNorthEast(), getNorthWest() and getSouthEast() to get corner bounds.

Que. How Can you find width and height of screen?
Ans. width Can be obtain by subtracting bounds obtained from getNorthEast() and getNorthWest(). Similarly by subtracting getSouthWest() and etSouthEast() we Can have height.

Que. How you Can get current zoom level?
Ans. getZoom() Returns the current zoom level of the map view

Que. How can you get center coordinates of map view.
Ans. getCenter() Returns the geographical center of the map view

Que. How can you get current size of map view.
Ans. getSize() Returns the current size of the map container (in pixels).

Que. Initially How will you set the layer view on map?
Ans. setView If true, automatically sets the map view to the user location with respect to detection accuracy, or to world view if geolocation failed.

Que. How Can you fit the layer in map view?
Ans. fitBounds() Sets a map view that contains the given geographical bounds with the maximum zoom level possible.

Que. How Can you show layers coming from geoserver in leaflet?
Ans. L.tileLayer.wms() is to take data coming from geoserver in tile format

Que. Can you put not georeferenced image on map?
Ans. yes we Can.

Que. Can you georeferenced an image?
Ans. L.imageOverlay(imageUrl, imageBounds).addTo(map);

Que. What is event object?
Ans. Event object is an object that you receive as an argument in a listener function when some event is fired, containing useful information about that event.

Que. How can you get latitude longitude from map on click?
Ans. We can get the long-lat value by using:

map.on('click', function(e) {
  alert(e.latlng); // e is an event object (MouseEvent in this case)
  });

Que. What is option in leaflet?
Ans. options is a special property that unlike other objects that you pass to extend will be merged with the parent one instead of overriding it completely, which makes managing configuration of objects and default values.

Que. What is includes in leaflet?
Ans. Includes is a special class property that merges all specified objects into the class (such objects are called mixins).

Que. How Can you disable the double click zoom option?
Ans. map.doubleClickZoom.disable();

Que. What is attribution in map?
Ans. Attribution is the act of regarding a quality or feature as a characteristic or inherent part of someone or something. The act of attributing, especially the act of establishing a particular person as the creator of a work of art. You are free to copy, distribute, transmit and adapt our data, as long as you credit data provider and its contributors. 

Que. How Can you style geojson data in leaflet?
Ans. A Function defining the Path options for styling GeoJSON lines and polygons, called internally when data is added. The default value is to not override any defaults:

Que. What is choropleth map?
Ans. A choropleth map is a thematic map in which areas are shaded or patterned in proportion to the measurement of the statistical variable being displayed on the map, such as population density or per-capita income.

Que. What is onEachFeature()?
Ans. A Function that will be called once for each created Feature, after it has been created and styled. Useful for attaching events and popups to features.

Que. How Can you set opacity of layer?
Ans. setOpacity() method is used to set the opacity of each layer.

Que. What is z-index?
Ans. The z-index property specifies the stack order of an element. An element with greater stack order is always in front of an element with a lower stack order.

Que. How Can you set z-index of any layer in leaflet?
Ans. setZIndex() Calls setZIndex on every layer contained in this group, passing the z-index.

Que. What is renderer in leaflet?
Ans. Base class for vector renderer implementations (SVG, Canvas). Handles the DOM container of the renderer, its bounds, and its zoom animation. A Renderer works as an implicit layer group for all Paths – the renderer itself Can be added or removed to the map.

Que. What is a plugin?
Ans. A plugin is a software add-on that is installed onto a program, enabling it to perform additional features.

Que. Why do we use plugin?
Ans. To add new features in library.

I hope this Question answer might have helped you in understanding  Leaflet and in clearing the Basics interview questions of Leaflet. Let us know if you have any other list of questions answer available in Leaflet by commenting below in the space provided.

Maps FAQs – Maps Interview Questions

Maps shows a emphasizing relationships between elements of some space, such as objects, regions, or themes represented symbolically. Map is the shortened term referring to a two-dimensional representation of the surface of the world. Maps are most commonly used to depict geography, maps may represent any space, real or imagined, without regard to context or scale, such as in brain mapping, DNA mapping, or computer network topology mapping. Here in this post we will check FAQs of Map and Common Question asked during Interview Questions.

Maps Interview Questions – Frequently Asked Question Maps

Que. Define Map?
Ans. A map is a visual representation of an entire area or a part of an area, typically represented on a flat surface. The work of a map is to illustrate specific and detailed features of a particular area, most frequently used to illustrate geography.

Que. Explain importance of legends.
Ans. legend is included with a map to unlock it. It gives you the information needed for the map to make sense.

Que. Explain importance of north arrow.
Ans. A north arrow (sometimes also called a compass rose) is a figure displaying the main directions, North, South, East and West. On a map it is used to indicate the direction of North.

Que. Explain importance of scale.
Ans. Map scale refers to the relationship (or ratio) between distance on a map and the corresponding distance on the ground.

Que. Explain importance of title.
Ans. Map title is an element in a Map layout that describes the theme or subject of a map. The map title should instantly give the viewer a good idea of What the map is depicting.

Que. Explain map projection.
Ans. A map projection is a systematic transformation of the latitudes and longitudes of locations from the surface of a sphere or an ellipsoid into locations on a plane. Maps cannot be created without map projections.

Que. What is ortho image.
Ans. orthoimage is an aerial photograph or image geometrically corrected (“orthorectified”) such that the scale is uniform: the photo has the same lack of distortion as a map.
name few types of map.
Climatic map.
Physical map.
Political map.
Street map.
Relief map.
Thematic map.
Topographical map.

Que. What is map element.
Ans. Almost all maps must include certain basic elements that provide the reader with critical information. Among these are the title, scale, legend, body of the map, north arrow, cartographer, neatline, date of production, projection used, and information about sources.

Que. What is conical map?
Ans. A method of projecting maps of parts of the earth’s spherical surface on a surrounding cone, which is then flattened to a plane surface having concentric circles as parallels of latitude and radiating lines from the apex as meridians.

Que. What is map symbols?
Ans. A map is a smaller representation of an area on the earth’s surface; therefore, map symbols are used to represent real objects. Without symbols, maps would not be possible. Both shapes and colors can be used for symbols on maps.

Que. Define classes of map projection.
Ans. Albers Equal Area Conic, Equidistant Conic, Lambert Conformal Conic and Polyconic

Que. Explain 4 types of distortion in map.
Ans. There are four basic characteristics of a map that are distorted to some degree, depending on the map projection used. These characteristics include distance, direction, shape, and area.

Que. What is distorted map?
Ans. distortion on a map or image is the misrepresentation of shape, area, distance, or direction of or between geographic features when compared to their true measurements on the curved surface of the earth.

Que. What is DEM?
Ans. Digital Elevation Models (DEMs) are a type of raster GIS layer. Raster GISrepresents the world as a regular arrangement of locations. In a DEM, each cell has a value corresponding to its elevation.

Que. What is DTM?
Ans. A DTM is effectively a DEM that has been augmented by elements such as breaklines and observations other than the original data to correct for artifacts produced by using only the original data.

Que. What is DSM ?
Ans. A DSM is an elevation model that includes the tops of buildings, trees, powerlines, and any other objects. Commonly this is seen as a canopy model and only ‘sees’ ground where there is nothing else overtop of it.

Que. Explain contours?
Ans. a line on a map joining points of equal height above or below sea level.

Que. What is thematic map?
Ans. A thematic map is a map that emphasizes a particular theme or special topic suchas the average distribution of rainfall in an area. They are different from general reference maps because they do not just show natural features like rivers, cities, political subdivisions and highways.

Que. What is physical map?
Ans. A physical map focuses on the geography of the area and will often have shaded relief to show the mountains and valleys.

Que. What is route map?
Ans.  A road map or route map is a map that primarily displays roads and transport links rather than natural geographical information. It is a type of navigational map that commonly includes political boundaries and labels, making it also a type of political map.

Que. What is land cover?
Ans.  Land cover is the observed (bio)physical cover on the earth’s surface. It should be confined to describe vegetation and man-made features.

Que. What is land use?
Ans.  Land use involves the management and modification of natural environment or wilderness into built environment such as settlements and semi-natural habitats such as arable fields, pastures, and managed woods.

Que. What do you mean by land use map?
Ans.  Land use/land cover data are most commonly in a raster or grid data structure, with each cell having a value that corresponds to a certain classification. Land Use and Land Cover (LULC) The Land Use and Land Cover (LULC) data files describe the vegetation, water, natural surface, and cultural features on the land surface.

Que. Name few land use map.
Ans.  Residential Land Use, Transportation Land Use, Commercial Land Use, Industrial Land Use, Institutional and Public Buildings and Open space and recreational land

Que. What is resolution?
Ans. In computers, resolution is the number of pixels (individual points of color) contained on a display monitor, expressed in terms of the number of pixels on the horizontal axis and the number on the vertical axis. The sharpness of the image on a display depends on the resolution and the size of the monitor. 

Que. What is locator map?
Ans. A locator map, sometimes referred to simply as a locator, is typically a simple map used in cartography to show the location of a particular geographic area within its larger and presumably more familiar context.

I hope this Question answer might have helped you in understanding Maps and in clearing the Basics interview questions of Maps. Let us know if you have any other list of questions answer available in Maps by commenting below in the space provided.

Vector Data file formats list in GIS

In GIS, we require some data formats to express the geographical features, which mainly are of two types Raster and Vector data formats. These data sources also has multiple file formats in them which are often used to express the geographical features. In this post we are looking forward to see the List of Vector Data file formats in GIS. Vector considers the geographical features as geometrical shape and express them by different types of geometry.

List of Vector Data file formats in GIS

You can also have a look at Raster data source in my previous post Raster data file format lists in GIS. Vector Data is mainly split into three types of geometry according to the geographical features :

  • Points:

    Zero-dimensional points data is most commonly used to represent nonadjacent features and geographical features that can be expressed by single point and to represent discrete data points. Points have zero dimensions, therefore you can measure neither length or area with this dataset. Examples would be schools, points of interest, wells, peaks. Points features are also used to represent areas when displayed at a small scale and abstract points. For instance, point locations could represent city locations or place names. Measurement is not possible by using point data.

  • Line:

    Line (or arc) or Polyline data is used to represent linear features. Common examples would be rivers, railroads, trails, streets and topographic lines. Liner features are displayed at a small scale and it only have one dimension and therefore can only be used to measure length.  Line features have a starting and ending point. Common examples would be road center-lines and hydrology. Line features can measure distance.

  • Polygon:

    Two-dimensional polygons are used to represent areas such as the boundary of a city (on a large scale map), lake, or forest.  Polygon features are two dimensional and therefore can be used to measure the particular area and perimeter of a geographic feature. Polygon features are most commonly distinguished using either a thematic mapping symbology (color schemes), patterns, or in the case of numeric gradation, a color gradation scheme could be used. Polygons convey the most amount of information of the file types. Polygon features can measure perimeter and area.

Both line and point feature data represent polygon data at a much smaller scale and Each of these geometries are linked to a row in a database that describes their attributes. They help reduce clutter by simplifying data locations. As the features are zoomed in, the point location of a auditorium is more realistically represented by a series of building footprints showing the physical location of the campus. Different geometries can also be compared.

Now let us see the List of Vector Data file formats in GIS :

  • Shapefiles

    The Shapefile format is a popular geospatial vector data format for geographic information system (GIS) software for storing the location, shape, and attributes of geographic features. It is developed and regulated by Esri as a (mostly) open specification for data interoperability among Esri and other GIS software products.
    A Shapefile is stored in a set of related files and contains one feature class. The Shapefile is BY FAR the most common geospatial file type you’ll encounter. It’s become the industry standard. you’ll need a complete set of files that are mandatory to make up a Shapefile.

    The required files are –
    .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.

  • ArcInfo Coverage

    This is a data model for storing geographic features using ArcInfo software. A coverage stores a set of thematically associated data considered to be a unit. The ArcInfo coverage GIS format is a georelational data model that stores vector data. It has no extension, just a set of folders. Coverages use feature classes, stored as points, arcs, polygons or annotation. Feature attributes are stored in the ArcInfo Coverage’s .adf or INFOb files. It is stored as a directory. Each feature is identified with a unique number. These feature numbers are a way to link attribute data with each spatial feature.

  • E00 ArcInfo Interchange

    This file format intended to support the transfer between ESRI systems of different types of geospatial data used in ESRI software. This GIS format is used to conveniently exchange GIS coverage files. It has the extension E00 and increases incrementally (E01, E02…) with individual coverage files. Export functions in ESRI software assemble all the data and definition files relevant to a particular coverage, grid, or TIN (triangulated irregular network) into a single logical file.
    Although convenient for interchange, you need to process the data before you can add it to ArcGIS. Run the ‘Import from E00’ in the Conversion ArcToolbox in order to access the data.

  • Spatial Database engine (ArcSDE)

    ArcSDE serves data in a centralized way over an entire organization using a relational database management system. GIS users can seamlessly access spatial data using Esri ArcMap, ArcEditor, ArcInfo and other products.
    ArcSDE facilitates versioned editing with multiple users over the same network. Users can easily publish to the web. ArcSDE geodatabases with several DBMS storage models including Oracle, Microsoft SQL Server, IBM DB2, IBM Informix and PostgreSQL.

  • Digital Line Graph (DLG)

    DLGs are topologically structured for use in mapping and GIS applications. DLGs are distributed by the government, and its features are in separate files that most GIS packages will import, although extra data manipulation is often necessary. DLG is a cartographic map feature represented in USGS digital vector form. DLGs consist of line work with the contours removed, therefore elevation is not available. DLGs comes with optional and SDTS formats.

  • GeoJSON

    GeoJSON is a lightweight format based on JSON, used by many open source GIS packages. GeoJSON’s feature includes Points, line strings, polygons and multipart collection of these types. therefore it represents addresses, locations, streets, highways, countries, tracts of lands and many like this. GeoJSON features doesn’t only represent physical world but mobile routing and navigation apps also describe their service coverage using GeoJSON.

  • AutoCAD DXF

    AutoCAD Drawing Interchange File (DXF) is an exchange format for content of AutoCAD Drawing Files (DWG). The DXF format specification is maintained and has been openly published by AutoDesk. DXF coordinates are always without dimensions so that the reader or user needs to know the drawing unit or has to extract it from the textual comments in the sheets.  It does not have topology, but offers good detail on drawings, line widths and styles, colors, and text. DXF is typically constructed in 64 layers. Each layer consists of different features; allowing the user to separate features.

  • Keyhole Markup Language (KML)

    This GIS format is XML-based and is primarily used for Google Earth. KML was developed by Keyhole Inc which was later acquired by Google. KML is an XML notation for expressing geographic annotation and visualization within two-dimensional maps and three-dimensional browsers.
    KML has its own zipped version KMZ (KML-Zipped) which replaced KML and now is the default Google Earth geospatial format because it is much compressed version. KML is an international standard of OGC. KML specifies an interesting set of feature like place marks, image, polygons, textual description and many for displaying in many geospatial software. KML comes with an extension .kmz .

  • TIGER

    TIGER stands for Topologically Integrated Geographic Encoding and Referencing. TIGER is a vector data format used by the USCB to describe land attributes such as buildings, roads, lakes and such areas like census tracts. GIS can be used to merge census demographics with the TIGER files to create map and conduct analysis. It includes geocoded block faces with address ranges of street numbers. This means than that they include topology and can address match. The maps are a combination of DLG and DBF/DIME files.

  • Vector Product Format (VPF)

    Vector Product Format (VPF) is a military standard for vector-based digital map products produced by the U.S.DOD. It has been adopted as part of the Digital Geographic Exchange Standard (DIGEST) in the form of Vector Relational Format (VRF), so VPF can be considered to be an international standard as well.

  • Esri TIN

    Triangular irregular networks (TIN) are a digital means to represent surface morphology. This format can spatially describe elevation information including breaking edge features. TINs are a form of vector-based digital geographic data and are constructed by triangulating a set of vertices (points). The vertices are connected with a series of edges to form a network of triangles. Each points and triangle can carry a tag information. A TIN stored in this file format can have any shape, cover multiple regions (e.g. islands) and contain holes (e.g. lakes).

  • Geography Markup Language (GML)

    The Geography Markup Language (GML) is an XML grammar defined by OGC for expressing geographical features. The GML specification defines (a) a language for expressing application schemas for feature types and (b) predefined properties and schemas commonly required to describe geographical features, such as polygons, curves, points, coordinate reference systems, units of measure, observations, coverages, etc. GML serves as a language for geographic systems as well as an open interchange format for geographic transactions.
    GML has the ability to integrate all forms of geographic information, including not only conventional “vector” or discrete objects, but coverages and sensor data.

  • SpatiaLite

    SpatiaLite is an open source library intended to extend the SQLite core to support fully fledged Spatial SQL capabilities. It is similar to PostGIS, Oracle Spatial, and SQL Server with spatial extensions, although SQLite/SpatiaLite aren’t based on client-server architecture: they adopt a simpler personal architecture. SpatiaLite is smoothly integrated into SQLite to provide a complete and powerful Spatial DBMS (mostly OGC-SFS compliant). It isn’t necessary to use SpatiaLite to manage spatial data in SQLite, which has its own implementation of R-tree indexes and geometry types. But SpatiaLite is needed for advanced spatial queries and to support multiple map projections.

  • OSM (OpenStreetMap)

    OpenStreetMap is the largest crowdsourcing GIS data project of the planet Earth.
    The GIS format .OSM is OpenStreetMap’s XML-based file format. The more efficient, smaller PBF Format (“Protocolbuffer Binary Format”) is an alternative to the XML-based format.
    The data interoperability in QGIS can load native .OSM files. The OpenStreetMap plugin can convert PBF to OSM, which then can be used in QGIS.

  • Scalable Vector Graphics

    An SVG is an image that is an extension of the XML language. Any program that recognizes XML can display the SVG image. The scalable part of the term emphasizes that you can zoom- in on an image and not lose resolution. SVG files also have the advantages of being smaller, and arriving faster, than conventional image files such as GIF, PDF, and JPEG.

  • National Transfer Format (NTF)

    It is now the standard transfer format for Ordnance Survey digital data. It is designed for the transfer of spatial information.

  • SOSI

    SOSI is stands for Samordnet Opplegg for Stedfestet Informasjon
    (Coordinated Approach for Spatial Information). It is a spatial data format used for all public exchange of spatial data in Norway. It includes standardized definitions for geometry and topology, data quality, coordinate systems, attributes and metadata.

  • MapInfo TAB format

    The MapInfo TAB format is a popular data format for GIS software. It is developed and regulated by MapInfo Corporation as a proprietary format. MapInfo Professional data set should relate to the two basic environments for working in MapInfo; “Browser View” and “Mapper View” as a basic file component. This environment provides storage of attribute or object data and is represented like a spreadsheet. In this simplified scenario, no geographic information is available. And the minimum files required for the basic MapInfo environment are .TAB and .DAT .

Raster data file format lists in GIS

This post will describe you about the Raster data file format lists in GIS. In Geographical information system there are only two methods which are used to store data for both kinds of mapping references i.e Raster and Vector Data GIS files. And in this post we are going to talk about the various Raster data file formats in GIS.  Raster data is  very useful for analysis. Raster data represents the world as a surface divided into regular grid of cells.

Raster data models are useful for storing data that varies continuously, as in an aerial photograph, a satellite image or an elevation surface. There are two types of raster data: continuous and discrete. Raster stores the data in the type of digital image represented by reducible and enlargeable grids and these grid of cells contains a value representing information, such as temperature, discrete data represents features such as land-use or soils data.

Raster data provides a matrix of cells with values representing a coordinate and sometimes linked to an attribute table and it is much simpler for many layers combinations. Raster data is very easy to modify or program due to simple data structure.

Now coming to the main question how many file formats does Raster data have?  and here we  are going to look for the answer as Raster data file format lists in GIS showing all the data format lists.

Popular Raster data file format lists in GIS

    • Portable Network Graphics (PNG)

      Provides a well-compressed, lossless compression for raster files. It supports a large range of bit depths from monochrome to 64-bit color. Its features include indexed color images of up to 256 colors and effective 100 percent lossless images of up to 16 bits per pixel.

      Single file—extension *.png
    • Joint Photographic Experts Group (JPEG2000)

      Open-source raster format. A compressed format, allows both lossy and lossless compression. JPEG 2000 is a non-proprietary image compression format based on ISO standards, and typically uses .jp2 as the file extension. It’s advantages are that it offers lossy and lossless compression, and world files (.j2w) can be used to georeference an image in GIS software. Compression ratios are similar to MrSID and ECW formats.

      Single file—extension *.jp2, *.j2c, *.j2k, or *.jpx
    • JPEG File Interchange Format (JFIF)

      A standard compression technique for storing full-color and grayscale images. Support for JPEG compression is provided through the JFIF file format.

      Single file—extension *.jpg, *.jpeg, *.jpc, or *.jpe
      World file—extension *.jgw

      ArcCatalog only recognizes the .jpg file extension by default. To add .jpeg or .jpe files to ArcMap without renaming them, add those file extensions to ArcCatalog or drag those files from Windows Explorer into your map.

    • Multi-resolution Seamless Image Database (MrSID)

      Multi-Resolution Seamless Image Database (by Lizardtech). A compressed wavelet format, allows both lossy and lossless compression. MrSID is a proprietary format of LizardTech’s GeoExpress software for imagery compression, and is commonly used on orthoimages. The MrSID file extension is .sid. A companion file with a .sdw extension and the same prefix name as the .sid is used as a world file for georeferencing a MrSID image.
      Most greyscale TIFF images are compressed with MrSID to 10:1 or 15:1. Color images are usually compressed to 30:1 or 40:1. GeoExpress is also commonly used to create image mosaics.
      Most recent GIS software, including ArcGIS, are able to read MrSID compressed images without any additional extensions. ArcView 3.x, however, requires a MrSID Extension for image access. Plugins for other software, such as AutoCAD and Photoshop, may or may not be required.
      Supports generations 2, 3, and 4.

      Single file—extension *.sid
      World file—extension *.sdw
    • Network Common Data Form (netCDF)

      netCDF file format with CF medata conventions for earth science data. Binary storage in open format with optional compression. Allows for direct web-access of subsets/aggregations of maps through OpeNDAP protocol.
      It is the machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data.
      The netCDF libraries support multiple different binary formats for netCDF files:

      • The classic format was used in the first netCDF release, and is still the default format for file creation.
      • The 64-bit offset format was introduced in version 3.6.0, and it supports larger variable and file sizes.
      • The netCDF-4/HDF5 format was introduced in version 4.0; it is the HDF5 data format, with some restrictions.
      • The HDF4 SD format is supported for read-only access.
      • The CDF5 format is supported, in coordination with the parallel- netcdf project.
    • Digital raster graphic(DRG)

      Digital Raster Graphic is a raster file format. From scanning a paper USGS topographic map for use on a computer a digital image is created called DRGs. The DRGs which are created by USGS are typically scanned at 250 dpi and then the DRGs are saved as a TIFF file in the server. The Raster data image usually includes the original border information, referred to as the “map collar”. The raster map file is projected by UTM and georeferenced to the surface of the earth.

      • ARC Digitized Raster Graphic (ADRG)

        ARC Digitized Raster Graphics is a standard National Imagery and Mapping Agency (NIMA) digital product. ADRG is designed to support applications that require a raster map background display.
        ADRGs are the digitized maps and transformed charts and The intended exchange medium for ADRG is a compact disk (CD-ROM)
        The ADRG’s charts transformed into a specific georegistration framework and acccomplnied by ASCII encoded support files. ADRG is geographically referenced using the equal arc-second raster chart/map (ARC) system in which the globe is divided into 18 latitudinal bands, or zones. The data consists of raster images and other graphics generated by scanning source documents.

        Multiple files
        Data file—extension *.img or *.ovr
        Legend file—extension *.lgg
      • Enhanced Compressed ARC Raster Graphics (ECRG)

        Enhanced Compressed ARC Raster Graphics (ECRG) file is an Enhanced Compressed ARC Raster Graphics. ECRG is geographically referenced using the ARC system in which the globe is divided into 18 latitudinal bands, or zones. ECRG uses JPEG 2000 compression.
        Distributed by the NGA. CADRG/ECRG is geographically referenced using the ARC system. The data consists of raster images and other graphics generated by scanning source documents. CADRG achieves a nominal compression ratio of 55:1. ECRG uses JPEG 2000 compression using a compression ratio of 20:1

      • Compressed ARC Digitized Raster Graphics (CADRG)

        CADRG is a comprising computer-readable digital map and chart images. they are also the file formats of Raster data. CADRG files are usually physically formatted within a National Imagery Transmission Format (NITF) message. It supports various weapons, C3I theater battle management, mission planning, and digital moving map systems. CADRG data is derived directly from ADRG and other digital sources through downsampling, filtering, compression, and reformatting to the Raster Product Format (RPF) Standard.The CADRG Reader can read CADRG files with or without the NITF message wrapper. The CADRG Writer can create CADRG datasets with or without the NITF message wrapper.

        CADRG achieves a nominal compression ratio of 55:1. ECRG uses JPEG 2000 compression using a compression ratio of 20:1

        File extension is based on specific product. You can specify 	which products you want ArcGIS to recognize (Customize > ArcMap Options > Raster > File Formats).
    • Raster Product Format (RPF)

      Raster Product Format, military file format specified in MIL-STD-2411. RPF is a standard data structure developed in 1994 as a U.S. Military Standard for geospatial databases. RPF’s database is composed of rectangular arrays of pixel values (e.g. in digitized maps or images) in compressed or uncompressed form.
      It was designed as a adaptable format to encompass raster data products in compressed or uncompressed form. The intent was to enable application software to use the data in RPF format on computer readable interchange media (e.g. CD-ROM) directly without further manipulations or transformation.
      The underlying format of CADRG and CIB.
      Single file—no standard file extension

      1. Compressed ADRG – Compressed ADRG, developed by NGA, nominal compression of 55:1 over ADRG (type of Raster Product Format)
      2. CIB – Controlled Image Base, developed by NGA (type of Raster Product Format)

    • Binary file

      An unformatted file consisting of raster data written in one of several data types, where multiple band are stored in BSQ (band sequential), BIP (band interleaved by pixel) or BIL (band interleaved by line). Georeferencing and other metadata are stored one or more sidecar files.
      The Binary Terrain format was created by the Virtual Terrain Project (VTP) to store elevation data in a more flexible file format. The BT format is flexible in terms of file size and spatial reference system.

      Single file—extension *.bt
      Projection file—extension *.prj
      • Band Interleaved by Pixel (BIP), Band Interleaved by Line (BIL), Band Sequential (BSQ)
        This format provides a method for reading and displaying decompressed, BIL, BIP, and BSQ image data. By creating an ASCII description file that describes the layout of the image data, black-and- white, grayscale, pseudo color, and multiband image data can be displayed without translation into a proprietary format.
        BIP and BIL are formats produced by remote sensing systems. The primary difference among them is the technique used to store brightness values captured simultaneously in each of several colors or spectral bands.
        Multiple files
        Data file—extension *.bil, *.bip, or *.bsq
        Header file—extension *.hdr
        Color map file—extension *.clr
        Statistics file—extension *.stx
    • Enhanced Compressed Wavelet (ECW)

      A compressed wavelet format, often lossy. ECW is a proprietary format of ERMapper for imagery compression. It is a more recent format than MrSID, but is gaining popularity because of free compression utilities available from ER Mapper’s website. ECW is a propriatary format. It is a wavelet-based, lossy compression, similar to JPEG 2000.
      It is a proprietary wavelet compression image format optimized for aerial and satellite imagery.
      This format can be used for Desktop, but when publishing, you require the ECW for ArcGIS for Server extension license.

      Single file—extension *.ecw

      ESRI grid – proprietary binary and metadataless ASCII raster formats used by Esri. A proprietary Esriformat that supports 32-bit integer and 32-bit floating-point raster grids. Grids are useful for representing geographic phenomena that vary continuously over space and for performing spatial modeling and analysis of flows, trends, and surfaces such as hydrology.

      color map file—extension *.cl
    • Extensible N-Dimensional Data Format(NDF)

      Format used for storing data representing n-dimensional arrays of numbers, such as images. Uses container files (directories containing files and directories) to manage the data objects.

      Directory—extension *.sdf
    • GDAL Virtual Format (VRT)

      This is a file format created by the Geospatial Data Abstraction Library (GDAL). It allows a virtual dataset to be derived from other datasets that GDAL can read.

      Single file—extension *.vrt
    • Tagged Image File Formats (TIFF)

      This format is associated with scanners. It saves the scanned images and reads them. TIFF can use run length and other image compression schemes. It is not limited to 256 colors like a GIF. Widespread use in the desktop publishing world. It serves as an interface to several scanners and graphic arts packages. TIFF supports black-and-white, grayscale, pseudo color, and true color images, all of which can be stored in a compressed or decompressed format.
      BigTIFF is supported.

      Single file — possible file extensions *.tif, *.tiff, and 	*.tff
      World file — extension *.tfw

      ArcCatalog only recognizes the .tif file extension by default. To add .tiff or .tff files to ArcMap without renaming them, add those file extensions to ArcCatalog or drag those files from Windows Explorer into your map.

    • Geo Tagged Image File Formats (GeoTIFF)

      TIFF variant enriched with GIS relevant metadata, As part of a header in a TIFF format it puts Lat/Long at the edges of the pixels. GeoTIFF driver supports reading, creation and update of internal overviews. Internal overviews can be created on GeoTIFF files opened in update mode (with gdaladdo for instance). If the GeoTIFF file is opened as read only, the creation of overviews will be done in an external .ovr file. Overview are only updated on request with the BuildOverviews() method. The GeoTIFF format is fully compliant with TIFF 6.0, so software incapable of reading and interpreting the specialized metadata will still be able to open a GeoTIFF format file.

    • Graphic Interchange Format (GIF)

      Graphic Interchange Format. A file format for image files, commonly used on the Internet. It is well-suited for images with sharp edges and relatively few gradations of color. A bitmap image format generally used for small images.

      Single file—extension *.gif
      World file—extension *.gfw
    • Digital Elevation Model (DEM)

      The representation of continuous elevation values over a topographic surface by a regular array of z-values, referenced to a common vertical datum. DEM is sometimes used as a generic term for DSMs and DTMs, only when DEM representing height information without any further definition about the surface.
      A DEM can be represented as a raster data(a grid of squares, also known as a heightmap when representing elevation) or as a vector-based triangular irregular network (TIN). When you look at a Digital Elevation Model (DEM) on a map, you don’t see a cell matrix. Instead, you see a layer symbolized by a color ramp.

      • Digital Elevation Models or DEM have two types of displays
        The first is 30-meter elevation data from 1:24,000 seven-and-a-half minute quadrangle map. The second is the 1:250,000 3 arc-second digital terrain data. DEMs are produced by the National Mapping Division of USGS.
      • Spatial Data Transfer Standard (SDTS)  digital elevation model (DEM)
        The Spatial Data Transfer Standard (SDTS) was created by the USGS. The purpose of this format was to transfer digital geospatial data between various computer systems in a compatible format that would not lose any information.
        Multiple files—extension *.ddf

        The actual elevation file that ArcGIS reads is named *CATD.DDF.

      • United States Geological Survey (USGS) digital elevation model (DEM)
        This format consists of a raster grid of regularly spaced elevation values derived from the USGS topographic map series. In their native format, they are written as ANSI-standard ASCII characters in fixed-block format.
        Single file—extension *.dem (need to change .dat extension to .dem)
    • RS Landsat

      Landsat satellite imagery and BIL information are used in RS Landsat.  In one format, using BIL, pixel values from each band are pulled out and combined. Programs that use this kind of information include IDRISI, GRASS, and MapFactory. It is fairly easy to exchange information from within these raster formats.

    • ArcInfo Grid

      An ArcInfo Grid does not have an individual file extension. Instead it is composed of two folders within a “workspace” which each contain multiple files. One of the two folders carries the name of the grid, and contains a number of various .adf files. The other folder is an “info” folder, which typically contains .dat and .nit files for all the coverages and grids in the workspace. The best way to manage (copy, move, delete, rename) ArcInfo Grids is with ArcCatalog or ArcInfo Workstation (command line).

    • Airborne Synthetic Aperture Radar (AIRSAR) Polarimetric

      AIRSAR is an instrument designed and managed by NASA’s Jet Propulsion Laboratory (JPL). ArcGIS supports the polarimetric AIRSAR data (POLSAR).

      Multiple files with an L, C, or P in the file name followed 	by .dat. For example: mission_l.dat (L-Band) and 	mission_c.dat (C-Band).

 

  • Bitmap (BMP), device-independent bitmap (DIB) format, or Microsoft Windows bitmap

    BMP files are Windows bitmap images. They are usually used to store pictures or clip art that can be moved between different applications on Windows platforms.

    Single file—extension *.bmp
    World file—extension *.bpw
  • BSB

    This is a compressed raster format used in the distribution of raster nautical charts by MapTech and NOAA

    Multiple files—extensions *.bsb, *.cap, and *.kap
  • Controlled Image Base (CIB)

    Panchromatic (grayscale) images that have been georeferenced and corrected for distortion due to topographic relief distributed by NGA. Thus, they are similar to digital orthophoto quads and have similar applications, such as serving as a base or backdrop for other data or as a simple map.

    File extension is based on specific product. You can specify which products you want ArcGIS to recognize (Customize>ArcMap 	Options>Raster>File Formats)
  • Digital Geographic Information Exchange Standard (DIGEST)

    DIGEST datasets are digital replicas of graphic products designed for seamless worldwide coverage. ASRP data is transformed into the ARC system and divides the earth’s surface into latitudinal zones. USRP data is referenced to UTM or UPS coordinate systems. Both are based on the WGS84 datum.

    Multiple files
    Main raster image—extension *.img
    General information file—extension *.gen
    Georeference file—extension *.ger
    Source file—extension *.sou
    Quality file—extension *.qal
    Transmission header file—extension *.thf
  • File geodatabase

    The geodatabase is the native data structure for ArcGIS and is the primary data format for representing and managing geographic information, such as feature classes, raster datasets, and attributes.

    Raster datasets stored within *.gdb folder
  • ENVI Header

    When ENVI works with a raster dataset it creates a header file containing the information the software requires. This header file can be created for multiple raster file formats.

    Header file—extension *.hdr
    Multiple data files—extension *.raw, *.img, *.dat, *.bsq, 	etc.
  • Golden Software Grid (.grd)

    There are three types of Golden Software Grids that are supported: Golden Software ASCII GRID (GSAG), Golden Software Binary Grid (GSBG), and Golden Software Surfer 7 Binary Grid (GS7BG).

    Single file—extension *.grd
  • GRIB

    The gridded binary format is used for the storage, transmission, and manipulation of meteorological archived data and forecast data. The World Meteorological Organization (WMO) is responsible for the design and maintenance of this format standard.

    Single file—extension *.grb
  • Hierarchical Data Format (HDF) 4

    A self-defining file format used for storing arrays of multidimensional data.

    Single file—extension *.h4 or *.hdf
  • HGT

    Raw SRTM height files containing elevation measured in meters above sea level, in a geographic projection (latitude and longitude array), with voids indicated using -32768.

    Single file—extension *.hgt
  • High Resolution Elevation (HRE)

    HRE data is intended for a wide variety of National Geospatial- Intelligence Agency (NGA) and National System for Geospatial Intelligence (NSG) partners and members, and customers external to the NSG, to access and exploit standardized data products. HRE data replaces the current non-standard High Resolution Terrain Elevation/Information (HRTE/HRTI) products and also replaces non- standard products referred to as DTED level 3 thru 6.
    This data format is similar to NITF.

    Multiple files
    Raw image—extension *.hr*
    Metadata—extension *.xml
  • Integrated Software for Imagers and Spectrometers (ISIS)

    ISIS Cube format as created by the United States Geological Survey (USGS) for the mapping of planetary imagery. Versions 2 and 3 are supported.

    Single file—extension *.cub
  • Shuttle Radar Topography Mission (SRTM)

    The HGT format is used to store elevation data from the Shuttle Radar Topography Mission (SRTM). SRTM-3 and SRTM-1 v2 files can be displayed.

    Single file—extension *.hgt
    
  • Terragen terrain

    The Terragen Terrain file was created by Planetside Software. It stores elevation data.

    Single file—possible file extensions *.ter, *.terrain
    
  • MAP

    PCRaster’s raster format.

    Single file—extension *.map
    

QGIS Server – Configuration and Deploying QGIS Project

In our Previous Post QGIS Server – Installation we have talked about the installation process of QGIS Server in Ubuntu and it was easy. In previous post we get the XML file with GetCapabilities working in the browser. In the following sections, we will provide a sample configuration to set up a QGIS Server on Ubuntu with an exemplary QGIS project in QGIS project.
Let us start the process of Adding QGIS Server – Configuration and Deploying QGIS Project.

QGIS Server – Configuration and Deploying QGIS Project

To provide a new QGIS Server WMS, WFS or WCS, we have to create a QGIS project file with some data. Here, we use the ‘airport’ shapefile from the local dataset. and for adding the QGIS project with the server we go to the OWS server.

  • Import layer from Layer > Add Layer >Add Vector Layer.
  • Customize the layer, Define the colors and styles of the layers in QGIS and the project CRS, if not already defined.
  • Check the ‘Project Properties’ under the ‘Project’ menu, go to the ‘OWS server’ tab. Below is an example of of how I’ve set up mine.
    and here is the bottom portion of the Properties page.

    Ensure under ‘Save Paths’ in the ‘General’ Tab it is set to ‘relative’. Note that the layers you are going to select for the WMS service are ticked under ‘Published’ in the WFS capabilities table.

Now for going ahead we need to repeat some steps from our previous post let’s have a look:

#go to cgi-bin folder
cd /usr/lib/cgi-bin/
#create a new QGIS folder
sudo mkdir airport
cd airport
#symlink in both the 'wms_metadata.xml' and the 'qgis_mapserv.fcgi' into project folder
sudo ln -s ../qgis_mapserv.fcgi
sudo ln -s ../wms_metadata.xml
#as well as linking your 'airport.qgs' file  into the '/usr/lib/cgi-bin/airport' folder
sudo ln -s /home/ep10/Documents/airports.qgs /usr/lib/cgi-bin/airport/airports.qgs
    • Now we move on to Adding QGIS project to server and for that Now we go to add the WMS layer in the project to connect it to server, so go to “Layer > Add Layer >Add WMS/WMTS Layer”. Now create a new connection and add your parameters for URL must be like this:
      http://localhost:81/cgi-bin/airport/qgis_mapserv.fcgi?map=/home/ep10/Documents/airports.qgs&
      and tick ‘ignore GetMap/GetTile URI’ and ‘ignore GetFeatureInfo URI’ boxes are ticked then ‘OK’. In your ‘airport’ project folder under ‘cgi-bin’ (/usr/lib/cgi-bin/airport/airports.qgs)
      QGIS Server – Configuration and Deploying QGIS Project

      Ensure your url is pointing at ‘http://localhost:81/cgi-bin/airport/qgis_mapserv.fcgi?’it is better to specify the full path to the qgis project file which is stored (in my case) in a ‘airport’ folder inside the ‘cgi-bin’ folder along with any shapefiles used as the source of your wms, ‘qgis_mapserv.fcgi’ file and ‘wms_metadata.xml’ files.
      Now in ‘Add Layer’ dialog select the ‘image encoding’ to PNG as it the best format with much specific coordinates.

    • Before we do go back in your QGIS project check you can add your newly created WMS layers back into QGIS as with any other WMS from a different source. When you hit the ‘connect’ button you should see a list of layers you created earlier, if not go back and check from the beginning of this post.
    • Select a layer and click ‘Add’ and the layer(s) should appear in your layer panel as normal qgis layers.

      QGIS Server – Configuration and Deploying QGIS Project

    •  Right Click on your largest area WMS layer and go to ‘Properties’ and make a note of the bounding box co-ordinates or Layer extent.

We can now use these co-ordinates in the ‘GetMap’ part in the url:-

http://localhost:81/cgi-bin/airport/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&SRS=EPSG:4326&REQUEST=GetMap&map=/home/ep10/Documents/airports.qgs&BBOX=-175.1359999999999957,-53.7815000000000012,179.1949999999999932,78.2466000000000008&WIDTH=1500&HEIGHT=1200&LAYERS=ne_10m_airports&STYLES=,,&FORMAT=image/png

Write this above URL in your browser and then you will get a PNG image in your browser with all the attribute data that the shp file had, So the output format will be an PNG image.

QGIS Server – Configuration and Deploying QGIS Project
http://localhost:81/cgi-bin/airport/qgis_mapserv.fcgi?

here in this part of the url locates the qgis-server executable on the apache2 host server.

SERVICE=WMS&VERSION=1.3.0&SRS=EPSG:4326&

This calls the WMS service, it’s version and the target spatial reference system as wwe are using ESPG:4326.

REQUEST=GetMap&map=/home/ep10/Documents/airports.qgs&

this REQUEST part is the request to get the ‘map’ from the source of the qgis project file that we saved after customization.

&BBOX=-175.135999,-53.781500,179.194999,78.246600&

this BBOX sets the size of the retrieved image boundary and the ‘WIDTH’ and ‘HEIGHT’ of the image area in the browser.

&LAYERS=ne_10m_airports&STYLES=,,&FORMAT=image/png

the final part is the description and display of the layers of the WMS. Note there is no ‘STYLES’ specified because it in specified the .qgs file. Finally, the output format is a png image.

We could also add more parameters and requests into the url in order to enhance the visual appearance like:
REQUEST=GetFeatureInfo – this request retrieves the underlying attributes and geometry values and pixel location.
GetLegendGraphic – this looks for the view legend information.
bgcolor – sets the background map colour.

This is how we are going to have complete process of how we are Adding QGIS Project to server and configure the server. There are many more formats in which we can get the output data which we will hope to show you in future posts.

Did you tried adding QGIS project file with QGIS server? If you are facing any issue, do let us know by commenting below with the solution.

QGIS Server – Installation in Ubuntu

QGIS Server is one of the best server for web map rendering and it can be also used as back end for the GIS logic. This post summarizes notes about QGIS Server – Installation in Ubuntu 16.04 LTS. As we know QGIS Server is a  FAst Common Gateway Interface application and it is written in C++ which works  smoothly with a web server like Apache, Lighttpd and etc.

QGIS is an open source server which implements excellent quality  cartographic features for mapping. QGIS uses cartographic rules as a configuration language, both for the server configuration and for the user-defined cartographic rules. QGIS is performant, scalable and reliable server which allows user customisation of maps. QGIS also allows printing pdf data and QGIS is so easy to use as It has Python plugin support which allows it for fast and efficient development and deployment of new features.

QGIS desktop and QGIS Server use the same visualization libraries, the maps that are published on the web look the same as in desktop GIS. QGIS is a Desktop based Geographic Information System (GIS) Application for creating maps, editing, viewing and analyzing Geospatial data. Quantum GIS is a cross platform, free and open source application. It can be run on multiple operating system like Mac OS X, Windows, Ubuntu, Linux and Unix.

Lets begin the process of QGIS Server – Installation in Ubuntu 16.04 LTS and we will also be installing the QGIS desktop application.

QGIS Server Installation

In this post we are going to give you a short and simple installation tutorial with the simplest execution here.

First, as my server runs “xenial”, lets add the following package sources to /etc/apt/sources.list.d/xenial-gis.list (as described  in the QGIS Installation Documentation)

deb http://qgis.org/debian xenial main
deb-src http://qgis.org/debian xenial main

Now We need to update the package list and for that we need to add the key for further installation and for that write these lines of code in the command line prompt.

sudo gpg --keyserver keyserver.ubuntu.com --recv-key 1F9ADD375CA44993

sudo gpg --export --armor 1F9ADD375CA44993 | sudo apt-key add -

#updating the package list
sudo apt-get update && sudo apt-get upgrade

Now we are almost ready for the QGIS Server – Installation, we just need to add one more package i.e Apache2. It’s better to remove and re-install apache2 web server so that we start from the same set up:-
To remove Apache2:-

sudo apt-get --purge remove apache2

sudo apt-get autoremove

To re-install Apache2:-

  sudo apt install apache2 

Now we can surely install the QGIS Server and the necessary Apache2 package.

sudo apt-get update

sudo apt-get install python-qgis qgis-server libapache2-mod-fcgid

In case you would like to install QGIS Desktop (note that it’s not a common practice to install both client and server applications on the same machine), type:

sudo apt-get update

sudo apt-get install qgis-server python-qgis

Install the Apache server in a separate virtual host listening on port 81. Enable the rewrite module to pass HTTP BASIC auth headers:

sudo a2enmod rewrite
#edit file qgis-server-port.conf and write Listen 81 and then save it
sudo gedit  /etc/apache2/conf-available/qgis-server-port.conf

sudo cat /etc/apache2/conf-available/qgis-server-port.conf
Listen 81

sudo a2enconf qgis-server-port

Now edit the virtual host configuration, type:

sudo gedit /etc/apache2/sites-available/qgis-server.conf

then edit this file by writing this configuration:

<VirtualHost *:81>
  ServerAdmin webmaster@localhost
  DocumentRoot /var/www/html

  ErrorLog ${APACHE_LOG_DIR}/qgis-server-error.log
  CustomLog ${APACHE_LOG_DIR}/qgis-server-access.log combined

  # Longer timeout for WPS... default = 40
  FcgidIOTimeout 120
  FcgidInitialEnv LC_ALL "en_US.UTF-8"
  FcgidInitialEnv PYTHONIOENCODING UTF-8
  FcgidInitialEnv LANG "en_US.UTF-8"
  FcgidInitialEnv QGIS_DEBUG 1
  FcgidInitialEnv QGIS_SERVER_LOG_FILE /tmp/qgis-000.log
  FcgidInitialEnv QGIS_SERVER_LOG_LEVEL 0
  FcgidInitialEnv QGIS_PLUGINPATH "/opt/qgis-server/plugins"

  # Needed for QGIS HelloServer plugin HTTP BASIC auth
  <IfModule mod_fcgid.c>
      RewriteEngine on
      RewriteCond %{HTTP:Authorization} .
      RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  </IfModule>

  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  <Directory "/usr/lib/cgi-bin">
      AllowOverride All
      Options +ExecCGI -MultiViews +FollowSymLinks
      # for apache2 > 2.4
      Require all granted
      #Allow from all
  </Directory>
 </VirtualHost>

now we have to enable the virtual host we just created and restart the Apache2 server

sudo a2ensite qgis-server
sudo service apache2 restart

we have finally completed the QGIS Server – Installation For Ubuntu 16.04 LTS.
Let’s test the installation before we proceed. The GetCapabilities request should already work, run this in your browser

http://localhost:81/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities
QGIS Server Installation

You will get a result screen like this.

Congratulations! … We have Successfully created the QGIS server. Now create a QGIS project with some vector layers and save it in /home/username/file.qgs.

Adding a QGIS project file

It’s time to add a QGIS project to our server. To do that, we move to the QGIS Server folder

cd /usr/lib/cgi-bin

where you should find ‘qgis_mapserv.fcgi’ and ‘wms_metadata.xml’.
Now have one folder for each project file. Lets make the first project “myProject”.

sudo mkdir myProject
cd myProject

qgis_mapserv.fcgi and wms_metadata.xml can now be linked into this new folder

sudo ln -s ../qgis_mapserv.fcgi && sudo ln -s ../wms_metadata.xml 

The only thing that is missing anymore is a QGIS project file. Which we will be linking into the folder. After restarting Apache, we should be good to go.

sudo ln -s /home/username/file.qgs  /usr/lib/cgi-bin/myProject/file.qgs

Now update the Apache2 Server again

sudo service apache2 restart

Your ‘GetCapabilities’ request should now include the added ‘myProject’ folder:

http://localhost:81/cgi-bin/myProject/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities
QGIS Server Installation

which gives a output like:

QGIS Server can serve as many project files as you want. There are different ways to organize your server but I would simply add a new folder (like the “myProject” folder in this example) and link in the executable and project file.

Thanks

Connection between PostGIS and QGIS

GIS applications are tools that allow users to create interactive queries (user-created searches), analyze spatial information, edit data in maps, and present the results of all these operations. Geographic information science is the science underlying geographic concepts, applications, and systems and What goes beyond a GIS is a spatial data infrastructure, a concept that has no such restrictive boundaries. For handling the spatial data infrastructure we use tools like PostGIS and QGIS. this post will help guides you about How can we establish a Connection between PostGIS and QGIS with the help of some GIS operations.

Connection between PostGIS and QGIS

PostGIS and QGIS are two major platforms used for handling GIS operations. PostGIS adds support for geographic objects allowing location queries to be run in SQL. As PostGIS is a spatial database extender for PostgreSQL object-relational database. In our previous post you can read about PostGIS and PostgreSQL.

Now we are going the discuss the details of how We can establish connection between PostGIS and QGIS and before that let’s just discuss some important topics in brief.

QGIS

QGIS is one of the most common open source application used by GIS analyst, Geographers, Civil Engineers and many other professionals. QGIS is a Desktop based Geographic Information System (GIS) Application for creating maps, editing, viewing and analyzing Geospatial data. Quantum GIS is a cross-platform, free and open source application. It can be run on multiple operating system like Mac OS X, Windows, Ubuntu, Linux and Unix.

PostGIS

PostGIS is an open source software program that adds support for geographic objects to the PostgreSQL object-relational database. PostGIS follows the Simple Features for SQL specification from the Open Geospatial Consortium (OGC).
Technically PostGIS was implemented as a PostgreSQL’s extension. And There are a large number of software products that can use PostGIS as a database backend.

PostgreSQL

PostgreSQL is an open source relational database management system ( DBMS ) developed by a worldwide team of volunteers. PostgreSQL is not controlled by any corporation or other private entity and the source code is available free of charge.
When we installed PostgreSQL database server, the PostgreSQL installer also installed some useful tools for working with the database server. You can connect to the PostgreSQL database server by using the psql or pgAdmin tool.
psql is an interactive terminal program provided by PostgreSQL. You can do a lot with psql tool e.g., execute SQL statements, manage database objects, etc. and The second way to connect to a database is using pgAdmin GUI application. By using pgAdmin GUI application, you can interact with PostgreSQL database server via an intuitive user interface.

Connection between PostGIS and QGIS

  • Import Shapefile into PostGIS

    Connection between PostGIS and QGIS

    We are going to import some Shapefiles into PostGIS for creating a table in PostgreSQL database. Importing shapefiles into PostGIs using psql is already discussed in our previous post “Import Shapefile in Postgresql – shp2pgsql”.
    Shapefile: The most popular geospatial vector data format. First developed by ESRI. Because of it’s open specification it is now predominantly used to share GIS data between open source and proprietary software.
    We can also do this import with pgShapeloader tool (also known as “PostGIS Shapefile Import/Export Manager” or “PostGIS Shapefile and DBF loader”). It provides another option for loading shapefiles into PostGIS database tables. It is the graphical user interface (GUI) equivalent of the command line shp2pgsql tool.
    The pgShapeloader tool combines the two data loading stages, converting data into SQL commands and running those commands against the target database, into one operation.
    On Linux pgShapeloader can be launched from the terminal with the shp2pgsql-gui command which generates this.

    now click View connection details and enter the connection information in the PostGIS Connection section.

    Click OK to return to the main application. The shapefile loader uses the supplied connection details to connect to the target database; the connection status is reported in the Log Window.

    To select your source files, click Add File to open the Select a Shape File dialog box. Navigate to the location of your shapefile, click the shapefile you wish to load, and click Open. Multiple files can also be added in the same way. and Once all import options have been added and configured, click OK and click Import to start the conversion.

    Now these shape files are added in the PostGIS databases as tables you can view them and their attributes in pgAdmin or psql.

  • Add and Modify PostGIS data files in QGIS

    Now we are going to add and modify the PostGIS database files in QGIS application.

    • Open QGIS application, you will see PostGIS option in Browser toolbar here.
    • Right click on the PostGIS option and click on the “New Connection” that will open a “Create a New PostGIS connection” toolbar.

      Connection between PostGIS and QGIS

    • Enter the Database Connection details and then click the “Test Connection” button. this button will open up an authentication form for server details. fill the authentication details and click Ok.
    • you will see a message on toolbar i.e connection to is successful. Now click OK and you have successfully connected your database with the QGIS. You can see the Database and the Shapefiles we imported in PostGIS below the PostGIS in browser window in QGIS.
    • Now for adding these Shapefile as layers in QGIS, Right click on the files and select “Add Selected layers to Canvas” then the file will show as a layer on canvas and in layers window in QGIS. you can also see the attributes of the Shapefile  by right-click on the filename in Layers window and selecting Open attribute table.
    • Now for Modifying the Shapefiles , I prefer you to go to Split Sub Divide polygon layer using QGIS – Shapefile, kml, GeoJson.
      There you can modify the Shapefile and we can see that as the polygon is Sub-divided It increases the attributes of the Shapefile.
  • Now as we can see that the attributes of Shapefile after modifying has increased compare to the attributes when the file was imported from PostGIS database.

When the Shapefile is saved after modification in QGIS by default the file is also saved in PostGIS database with the new and changed attributes it has before.

The connection between QGIS and PostGIS is proves that if any data file is altered in QGIS, the file also gets modified in the PostGIS database system.

Download free Shapefile Maps

This is how we can show the establishment of the Connection between PostGIS and QGIS.

Import OSM data in Postgis – OSM2pgsql

This article lets you know how to import data in postgresql.  Open Street map (OSM) is open and free data. Anyone one can download this data. It mainly contains point data, line data, polygon data and geometry information. Data contains much information and becomes heavy i.e. upto 30GB or more. Many compression techniques are applied to make it available to user in minimum size.

Install osm2pgsql- Import OSM data in Postgis

This utility can be installed using command prompt. Follow the command,

--> apt-get install osm2pgsql

Now you can see the options available with the command. Type osm2pgsql in command prompt. You will get the following result.

We know that you import data in database we must create a database for storing tables. You can download and install postgresql with our previous tutorial Install PostGIS and PostgreSQL in Linux Ubuntu 16.4 

Here we have database ‘potsgres’ in Postgresql with a user. In the command we specify option -s is slim mode,Store temporary tables in database. This allows incremental updates using diff files also available at OSM data servers, and reduces memory usage at a cost in disk space and import time. This mode of operation is recommended.  The option -G Generate multi-geometry features in PostgreSQL tables. Option -U is user available in Postgresql, -W  prompts for password and in the last give file name.

As files are heavy in size so this process takes time.

Import OSM data in Postgis

This Open street map data is also available in pbf format (Protocolbuffer Binary Format). This format is specially designed to compress data. This is much faster than gzipped and bzipped planet while reading files.

The data available is in data.osm.pbf format so we need to extract this data first. This can be done with osmconvert command. Type osmconvert in command prompt, if not available install this with given command.

–>sudo apt-get install osmctools

Now use the following command to convret data in osm,

–>osmconvert Input.pbf > output.osm

After this check for the OSM file in folder. Now use the command given for importing data in postgresql.

Output

This output can be seen in postgresql available in table format.

Import OSM data in Postgis

In this way you can also import shapefile data in postgresql. You can also try out conversion using GDAL utilities as shapefile to sql, shapefile to mif etc.

Please let us know if you need any help by commenting in given comment box.

Geographical Information System (GIS) FAQs – GIS Interview Question

Geographical Information System (GIS) is a computer-based tool that is designed to capture, store, manipulate, analyze, manage, and present spatial or Geographic data, usually in a map. GIS application is a tool that allows users to create user-created searches, integrate and analyze spatial information and present the results of all these operations. GIS describes any information system that integrates, edits, analyzes, shares, and displays geographic information. GIS technologies are using digital information, for which various digitized data creation methods are used. Here in this post we will check FAQs of Geographical Information System (GIS) and Common Question asked during Interview Question.

GIS Interview Question – Frequently Asked Question GIS

Que. What is GIS?
Ans. GIS is a blend of S/W and H/W used to collect, manipulate analyst and produce geographical data

Que. What is the difference between geo-coding and geo-referencing?
Ans. Geo-coding is when you associate a place name or an address with map coordinates. Geo-referencing is the process of associating plain digital images taken from a satellite or a plane with map coordinates so that they can be overlaid on street maps.

Que. Name the two data structures that have the capacity to hold spatial data.
Ans. The two data structures that can hold spatial data include raster and vector.

Que. Differentiate between GIS commands and tools?
Ans. Commands do not require interaction with the map, they just rely on surface. Tools on the other hand require interaction with the map canvas.

Que. Name applications of the Arc GIS desktop.
Ans. Arc Map, Arc catalog and Arc toolbox.

Que. Define remote sensing?
Ans. Remote sensing refers to detection and classification of objects on or in earth without physical contact, generally attained through aerial sensors.

Que. What is the role of GPS in GIS?
Ans. Competent decisions can only be rendered by reliable data and though GIS is an amazing data management tool, using it with GPS helps in validating the data analysis and results.

Que. What is a globe?
Ans. A sphere shaped model of the Earth

Que. What are the 7 large land massses found on a globe called?
Ans. Continents

Que. Name the 7 continents.
Ans. Asia, Africa, Europe, North America, South America, Antarctica, and Australia.

Que. Latitude and Longitude are measured in ____ .
Ans. Degrees

Que. What does the  scale on a map shows?
Ans. Where you are,How the size of the map relates to the size of a real place and direction as North,east,south,west.

Que. What does the legend or map key tell?
Ans. Direction, What the symbols on the map mean and The distance between the equator and a point north or south on the earth’s surface

Que. What is GPS ?
Ans. Global Positioning System(GPS) is a space based satellite navigation system that provides location and time information in all the weather conditions, anywhere on or near the earth.

Que. List the satellite navigation systems ?
Ans. The navigation systems are as follows:

  1. GLONASS(Globalnaya navigatsionnaya sputnikovaya sistema) : Russia’s global navigation system.
  2. IRNSS ( Indian Regional Navigational Satellite System),  COMPASS : People’s republic of china’s global system.

Que. Explain briefly the working principle of GPS ?
Ans. A Global Positioning System’s receiver calculates its position by precisely timing the signals sent by Global Positioning System satellite high above the earth. These distances and satellite location are used to compute the location of the receiver using the Navigation Equations. Although 4 satellites are required for normal operation, fewer apply in special cases.

Que. Explain the structure of GPS ?
Ans. The structure of GPS have three main segments. These are as follows: Page segment, Control segment and User segment

Que. Explain the space segment of GPS ?
Ans. Space segment is composed of 24 to 32 satellites in medium Earth orbit and also includes the payload adapter to the boosters required to launch them into orbit.

Que. Explain the control segment of GPS ?
Ans. Control segment is composed of a master control station , an alternate master control station, and a host of dedicated and shared ground antennas and monitor stations.

Que. Explain the user segment of GPS?
Ans. User segment is composed of thousands of U.S and allied military users of the secure GPS Precise positioning service and millions of civil and scientific users of the standard positioning service.

Que. What Is Gps Rollover?
Ans. This document contains information about GPS Week 1024 Rollover.

Que. What Is The Status Of Selective Availability (sa)?
Ans. Effective as of Midnight 01 May 2000, Selective Availability has been set to zero

Que. Explain Portable Gps?
Ans. Although any small global positioning system could be referred to as a portable GPS, the term generally refers to those units which give driving directions and are meant to be mounted in cars. Others, used for outdoor activities, are generally referred to as handheld GPS units. Still, there could be some times when the terms are confused and a portable GPS and handheld GPS are synonymous.

Que. What’s The Status Of The Gps?
Ans. The Global Positioning System reached full Operational Capability (FOC) on July 17, 1995

Que. What is a project (.mxd) file?
Ans. You can think of a project file as a database management tool. GIS users often must work on the same files for long periods of time, and the .mxd file is the management file that remembers which files you use, where they are located, the projection the file is stored in, the colors you have set, etc.

Que. What is a shapefile?
Ans. Shapefiles are computer files that produce images for users in a GIS environment. There are three basic types of shapefiles: line poin and polygon.

Que. How do I prepare spatial data for use with ArcGIS?
Ans. If you have data with spatial locators (e.g., census FIPS codes, zip codes, street addresses, etc.), you can link your data to shapefiles within a GIS environment. Furthermore, you can join tables in a GIS project.

Que. What are ArcMap, ArcCatalog and ArcToolbox?
Ans. ArcMap is the application in ArcGIS that you use to create, visualize, and manipulate maps, whereas ArcCatalog is the application in ArcGIS that you use for browsing and organizing data files. ArcToolbox is the application in ArcGIS that contains data management and conversion tools and wizards (e.g., projection tools).

Que. What are some of the functions of the Spatial Analyst extension?
Ans. The Spatial Analyst extension can help you find slopes and directions, least cost paths, and best locations for a new facility based on multiple criteria. This is useful for analyzing raster data as well as feature data.

Que. What are some of the functions of the Geostatistical Analyst extension?
Ans. The Geostatistical Analyst extension can help you with the production of statistical surfaces for exploratory spatial data analysis, structural analysis (calculating properties of neighboring areas), and surface prediction and results analysis.

Que. Is there any way to change or expand existing ArcGIS functionality?
Ans. ESRI makes a number of scripts and other downloads available for users. Scripts work with the existing software to extend functionality or to automate common tasks. The scripts on ESRI’s site come from both ESRI itself and from other ArcGIS users; you can even upload your own scripts for other people to download.

Que. How do you edit a project (.mxd) file? Why do you need to edit a project file?
Ans. Once you open your project file, editing is simple. The last saved version of your files will appear on your computer screen, and you can manipulate the existing settings to update the file. (Always remember to save it!) Project files must be edited in order for changes to be reflected in your work. You often work on GIS projects over long periods of time, and as you work, new data, shapefiles, etc. can be added to keep your project current.

Que. What is the MSD file and can I edit it?
Ans. The map service definition (MSD) file is a new file used by the fast map service drawing engine introduced at ArcGIS Server 9.3.1. The MSD file always starts with an MXD map document. You use the Map Service Publishing Toolbar to analyze your MXD in ArcMap. Once you’ve addressed issues returned by the analysis, you use the same toolbar to either publish the service or save the MSD file.

Que. How does GPS device work?
Ans. The orbits are arranged so that at any time, anywhere on Earth, there are at least four satellites “visible” in the sky. A GPS receiver’s job is to locate four or more of these satellites, figure out the distance to each, and use this information to deduce its own location.

Que. What is Selective Availability (SA)?
Ans. SA was a technique implemented by the DOD to intentionally degrade a user’s navigation solution. The single largest source of error for SPS users was SA. The net result of SA was about a five-fold increase in positioning error. DOD achieved signal degradation by altering (also known as dithering) the satellite clock. Another means designed by DOD to degrade GPS performance was to broadcast less accurate ephemeris parameters.

Que. Why was SA Necessary?
Ans. SA was used to protect the security interests of the U.S. and its allies by globally denying the full accuracy of the civil system to potential adversaries.

Que. Will SA ever be turned back on?
Ans. It is not the intent of the U.S. to ever use SA again. To ensure that potential adversaries to do not use GPS, the military is dedicated to the development and deployment of regional denial capabilities in lieu of global degradation through SA.

Que. What kind of orbits are the GPS satellites in?
Ans. The GPS satellites operate in circular 10,900nm (20,200km) 12-hour orbits at an inclination of 55 degrees. They are not in geo-stationary orbit.
How vulnerable are GPS satellites to jamming and interference?
GPS satellite signals, like any other navigation signals, are subject to some form of interference. The FAA is actively working with the U.S. Department of Defense and other U.S. Government Agencies to detect and mitigate these effects and make sure that the GPS and any related augmentation systems are available for safe aviation operations. As with all navigation aids, interference, whether intentional or unintentional, is always a concern.

Que. Is the basic GPS signal sufficient to meet all the needs of civil aviation?
Ans. This is not a simple yes/no answer. The answer is that it depends on the service requirements of each user or aviation authority. For many countries, GPS supplies a better capability than the existing ground-based systems or lack thereof. Yet for other countries with large infrastructures, the GPS signal does not meet the accuracy, integrity, availability, and continuity requirements critical to safety of flight. Enhancements to the Global Positioning System (GPS) such as the Wide Area Augmentation System (WAAS) and Ground Based Augmentation System (GBAS) provide the necessary corrections for meeting safety-of-life flight requirements.

Que. What is Differential GPS (DGPS)?
Ans. In the basic form of DGPS, the position of a reference receiver at a monitoring or reference station is surveyed in, that is, its position is known accurately. The user receiver should be no more than about 300 miles away from the reference receiver which makes pseudorange measurements, just as any user receiver would. However, because the reference receiver knows its position accurately, it can determine “biases” in its pseudorange measurements. For each satellite in view of the reference receiver, these biases are computed by differencing the pseudorange measurement and the satellite-to-reference receiver geometric range. These biases incurred in the pseudorange measurement process include errors arising from ionospheric delay, tropospheric delay, and satellite clock offset from GPS time. For real-time applications, the reference station transmits these biases, called differential corrections, to all users in the coverage area of the reference station. Users incorporate these corrections to improve the accuracy of their position solution.

Que. Will the GPS tracking system make the fleet management easier?
Ans. Fleet management involves managing vehicles and personnel available. It also constitutes route planning, route optimization, personnel management, asset tracking, vehicle maintenance, report generation, fuel management, etc.

Que. What are the gains of implementing student GPS tracking system?
Ans. You need to be clear about the potential gains of installing a vehicle tracker in the school buses before you start out on a GPS tracking system. Is it truly worth the cost and effort? Does it provide what it promises to offer? You should also consider getting a detailed demo run so that you will be able to understand the functioning of the system.

Que. Do you need a cost effective solution for vehicle fleet management?
Ans. The budget for each school to implement an effective solution would definitely vary. For this reason, you should consider the number of vehicles, data base needed (e.g. up to street level), additional facilities required, such SMS or PUSH notification facilities, etc. It should be decided whether all the features offered in a system is actually useful for you. There are advanced systems which even offer guided voice directions to make school bus trips less cumbersome for bus drivers and attendants.

Que. What is the potential for a gap in GPS service?
Ans. The Air Force is confident GPS will continue to meet existing service commitments. Several years ago, the Air Force recognized the potential for an availability gap and took action to institutionalize procedures and processes to mitigate the potential gap or minimize any impact. Air Force Space Command developed key processes within the operational community as well as the acquisition community to extend the life of on-orbit assets and to ensure capability is delivered in a timely manner. Users can employ GPS with confidence today and continue to do so in the future. As identified by the General Accounting Office (GAO) in testimony to Congress, “There have been times before where people have worried about gaps and the Air Force has managed them quite successfully.”

Que. Is GPS under U.S. military control?
Ans. Though acquired and operated by the Department of Defense, GPS is a multi-use system owned by the United States Government and paid for by the U.S. taxpayer. The outstanding performance of GPS over decades has earned the confidence of millions of civil and military users worldwide. The management structure and modernization efforts directed by U.S. policy continue this support for multi-user applications. Any misperceptions will be overcome as they have in the past, by a demonstrated record of service and performance to all users.

Que. What are the benefits of GPS tracking?
Ans. GPS tracking tells you which employees are on the clock and where they’re located. You’ll be able to see who is closest to a customer when scheduling a new job on the fly, more effectively manage employees at various locations, identify inefficiencies in workloads and routes, and build trust by adding accountability safeguards that benefit everyone.

Que. How accurate is the GPS location data from the GPS device?
Ans. Different GPS devices offer differing levels of accuracy so always ask the question. AVS GPS devices have a high level of GPS accuracy of between 5 and 10 metres or better with clear skies.

Que. What is a GPS locator?
Ans. A GPS locator does not record regular position updates, it will only log its position on command. Simply send a TXT to the tracker and it will TXT back its’ location. Some GPS locators will send GPS co-ordinates (Latitude and Longitude) which can then be entered into Google to bring up a map.

Que. What are the limitations of GPS tracking?
Ans. GPS tracking is not invincible and no GPS hardware will be able to guarantee position logs 100% of the time. GPS devices rely on being able to communicate with the satellites in space and so in highly built up areas or underground carparks reception can be blocked.

Que. What is GPS tracking?
Ans. GPS tracking is a way of determining the location of a vehicle, person or other asset. A GPS device is attached to, or installed into, the asset you wish to track. The device then uses the Global Positioning System to record the position of the asset at regular intervals.

Que. what is trilateration?
Ans. A GPS receiver uses trilateration (a more complex version of triangulation) to determine its position on the surface of the earth by timing signals from three satellites in the Global Positioning System.

Que. What is the difference between triangulation and Trilateration?
Ans. As GPS satellites broadcast their location and time, trilateration measure distances to pinpoint their exact position on Earth. While triangulation is associated with surveying, no angles are actually involved in GPS positioning. Surveyors usetriangulation to measure distant points – not GPS receivers.

I hope this Question answer might have helped you in understanding Geographical information system and in clearing the Basics interview question of Geographical information system. Let us know if you have any other list of questions answer available in Geographical information system by commenting below in the space provided.

Exit mobile version
%%footer%%