Create Map Layer – Point, Polygon, Multiline

Hey GIS enthusiast using IGIS Map Tool you can easily create map layer – point, polygon, multiline and multipolygon. After creating Layer you can export layer in any format like Shapfile, KML, KMZ, Geojson and more.

If you want to learn GIS please Contact akshay@engineerphilosophy.com

For detailed steps watch video –

Create Map Layer – Point, Polygon, Multiline

Go to IGIS Map Tool, Login or Register on the tool. After Login you will be directed to the next screen i.e Dashboard where, click on Add map.

Create Map Layer - Point, Polygon, Multiline

  • Now fill the tittle and description of map. Click on Save Map.

Create Map Layer - Point, Polygon, Multiline

  • You will be directed to the canvas of IGIS Map Tool.

Create Map Layer - Point, Polygon, Multiline

  •  Now choose the type of geometry of the layer you want to create. For Point select point from left hand side button.

What is Point, Line and Polygon ?

Create Map Layer - Point, Polygon, Multiline

  • Suppose we selected Point button then fill the layer name and enter the attributes. After filling all the fields click on create. In a map you can select multiple layer.

Create Map Layer - Point, Polygon, Multiline

  • Select add point and go to base map where you want to create point layer. Save the points on the map.

Create Map Layer - Point, Polygon, Multiline

  • We can  Add, Delete, Duplicate, View Data table,  and Export layer.

Create Map Layer - Point, Polygon, Multiline

  • We can do styling of layer like change the colour of icon and increase or decrease the size of point or you can custom the icon.

Create Map Layer - Point, Polygon, Multiline

Same as to be done for line and polygon.

This is all about creating map layer. If you face problem in implementing this above steps please do comment below.

More on GIS Tutorial :

Create Heat Map – IGIS Map Tool

Using Heat map is very effective way of visualizing points data. To create Heat map, first of all you must know what is heat map. When map visual of a location data is so dense and tightly packed that it does not make much sense a heat map is used. Heat maps are ordinarily used when mapping “points”. In this article we are providing pictorial tutorial of Create Heat Map using IGIS Map Tool

To create Heat map with IGIS Map Tool, you also need to  look over the IGIS Map Tool.

Create Heat Map – IGIS Map Tool

Heat Map allows user to display the density of the geographic points in a map. Heat map uses geographic points as a gradient color layer to style the map.

To create  Heat Map with IGIS Map Tool you need to follow some steps as follows:

  • Go To IGIS Map Tool and login to your account or register if you are new user with name, email id, Organization name and role in examination.
  • Click on Create New Map and fill the tittle of map with its description.
  • Next screen will be redirected to the canvas where you can create, upload or use sample data for your heat map creation.
  • Upload a layer from data set.

Create Heat Map

  • Once the map is uploaded click on publish layer.
  • Select style layer by right click on the layer in side bar.

Create Heat Map

  • Now click on the Heat map section to create Heat map.

Create Heat Map

  • The distance between points for clustering is the merge radius here. The greater the number of points that fall within the radius, the greater the intensity of the heat map. While a radius set too small will generate isolated spots; a radius set to large will show no detail.
  • Now fill the opacity in the fill section to set the transparency of the heat map layer between 100% and 0%.

Create Heat Map

Heat map use red color to show high density of points and blue color for the low density of point area.

Below is the heat map of disaster management using sample data.

Create Heat Map

Use of Heat Map

This type of identification and visualization is useful for visualizing density of the geographic points and also used for business analysis and demographics mapping.

Heat Map serves in following industries:

For example, Heat Map can be used by Disaster Management Firm. As when a DM needs to calculate the flood  disaster data it uses the heat map.

While data and business analysis is the main reason to Create Heat Map, but it can also helps in understanding and comparing the data easily. It is also very common practice to use the Heat Map in Disaster and Risk management.

I hope this may help you in develop and Create Heat map with IGIS Map Tool. So if you find any problem in creating one such example do let us know by commenting below.

 

GIS Data Conversion

Hey guys, in this post we are going to focus on one of the important topic of GIS world, which is the “DATA CONVERSION”. Data Conversion means converting computer data into another format. With huge amounts of GIS data available for use, it is more cost-efficient and effective to convert the GIS data from one format to another than recreating all of it.

GIS Data Conversion

There are many ways to convert GIS data and the conversion may use special conversion programs. Simply, it may involve complex data exporting or importing procedures. As we  know there are many data file formats used in GIS, this time we will be converting them from one format to another.

To get the list of the various data file formats you can visit our previous posts.

Vector data file formats in GIS and Raster data file formats in GIS.

To make datasets usable together in GIS, it is necessary to convert the both vector and raster geospatial file from one format to another. And for doing the Conversion we already have posts about the data conversion from GeoJSON to Shapefile and KML to shapefile and many more, but they all have a long way to convert the GIS data. The Alternative to that is some free and commercial converter  software or tools available on the web. There are a Lots’s of tools available on the web, but I recommend you to use  IGisMap converter.  IGisMAP Converter is an online tool to convert GIS data from one format to another format.

IGisMap converter provides On-line conversion and transformation of both vector and raster geospatial data.  In this on-line converter tool the uploaded data file is allowed to convert into various GIS data format.

IGisMAP converter can convert bulk amount of data into another format using any coordinates reference systems. And then you can download the converted data or store it into MyMapData.

This all about IGisMap Converter tool hope it will make your spatial study easy. If you face any problem in data conversion then please comment or chat with us.

Futhermore, You can also check :

Download Singapore Shapefile map free -Country boundary, Singapore KML, Geojson

Ni Hao!! Singaporeans. Here in this article you can download Singapore Shapefile with country boundary and states polygon. You can also convert Singapore Shapefile into Kml or Geojson or in any other format. Shapefile popularly known GIS fomat.

Download Singapore Shapefile

Singapore is a Southeast Asian island country. Download link of Singapore shapefile is provided below. Here you need to login for downloading the Singapore boundary line shapefile.

All data available are in EPSG:4326 WGS84 CRS (Coordinate Reference System)

Download Link – Singapore country boundary Shapefile

Singapore Polygon Shapefile

This shapefile covers Central, Northeast, Northwest, Pedra Branca, Southeast, Southwest.

Download Link – Singapore Polygon Shapefile

You can also do Query on this shapefile (GIS Data) using IGIS Map Tool

Convert Singapore SHP Shapefile into Kml or Singapore Geojson

You can easily convert Shapefile into Kml using IGIS Map Tool. You need to login or register at IGIS Map Tool. After login you will be directed to dashboard. You can the see the Dashboard screen shown below. Go to Switch To button in the right side of the screen select Converter.

Next Screen make you able to upload Singapore Shapefile for the conversion into Kml or Singapore Geojson.

Once the data file is uploaded choose the desired format in which you want your output. Even you can also change its coordinate reference system as per requirement.

Converted file is directly published on map and can be downloaded by tap on download button.

Furthermore, on conversion TAB to KMLKMZ to CSVKML to GeoJSON

Please note that the Singapore data provided here is license under Open Data Commons Open Database License (ODbL). Please review the same before using it. If you want data under different license you can also look over to the post : Download Free Shapefile Maps – Country Boundary Polygon, Rail-Road, Water polyline etc

Download free Shapefile

  1. World Country Shapefile
  2. Australia Shapefile download
  3. Argentina
  4. Brazil
  5. Download Shapefile of Canada
  6. Denmark
  7. Germany
  8. India
  9. Indonesia
  10. Japan
  11. Kenya
  12. Lebanon
  13. Madagascar
  14. Malaysia Shapefile
  15. Mexico Shapefile
  16. Mongolia
  17. New Zealand
  18. Nigeria
  19. Papua New Guinea
  20. Philippines
  21. Poland
  22. Singapore
  23. South Africa Province Shapefile
  24. South Korea
  25. Tunisia
  26. United Kingdom Shapefile
  27. Download Shapefile of United States of America
  28. Vietnam

Disclaimer : If you find any shapefile data of country provided is in correct do contact us or comment below, so that we will correct the same in our system as well we will try to correct the same in OSM.

Query GIS Data – IGIS Map Tool

To Query GIS Data easily with IGIS map tool, we can use the Query tool.  A GIS query tool, or selection tool as it is often know, allows us to filter a dataset based on criteria that we define.

Querying in IGIS Map Tool allows user to explore your data with rule based queries. User can discover their features of interest contained within the map by querying. IGIS Map tool allow users to build their own queries that we may not have envisaged when we first created the map. It also query GIS data according to their choice.

Query GIS Data – IGIS Map Tool

Query tools allow maps users to do more than what the map maker envisioned when they styled the layers. Here are the few steps to be followed for querying the map.

Query GIS data

  • Upload dataset and create a new map project Or Open your existing map project.
  • Or Download GIS data for analysis

Query GIS Data

 

  • Select the “Query tool” option on the Analysis Section.

  • Select the Layer to query GIS data.

Query GIS Data

All the layers in your map are available in this section, you just need to select the layer in which you want to query in.

  • Confirm a shape i.e. circle , rectangle or polygon to draw a query.

 

User just need to select the shape and start drawing the shape on the map to query the data. similarly as above image shows the queried data as highlighted which is queried by a rectangle.

  • Click on the Get result button after drawing the shape. You can view the result in as tables and also download them as CSV Format.

Query GIS Data

This is how you can Query GIS Data with the IGIS Map Tool in a minute. Query tools allow maps users to do more than what the map maker envisioned when they styled the layers.

IGIS Map Query Tool can be used in various sectors like Insurance, Banking, Risk Management etc. There are also other query tools available in the market.  IGIS map tool however, is a much better choice to Query GIS Data if you want to share your maps with a larger, more distributed audience.

This may help you to Query GIS Data with IGIS Map Tool. If you find any problem in creating one such example do let us know by commenting below.

 

Convert CSV to KML

Hello guys,  If you are looking for converting your CSV format data file into KML, you have just landed on the right post. Here in this article we are discussing on How to convert CSV to KML in the easiest way possible.

KML is a file format used to display geographic data in Google Earth and Google Maps. And CSV is a simple file format used to store tabular data, such as a spreadsheet or database. Files in the CSV format can be imported to and exported from programs. That stores data in tables, such as Microsoft Excel or OpenOffice Calc.  Converting GIS data file from CSV to KML format  is just  a few click process with Info GIS Map Converter Online.

CSV to KML – Conversion

With the help of IGIS Map Converter , We can easily convert the GIS data file from CSV to KML format with these simple steps.

  • Go to IGIS Map Tool login if already registered otherwise sign up.
  • Tap on switch to button on top right side, drop down list will open then choose converter shown in below screen.

csv to kml - Conversion

  • After clicked on converter you will see the home page of IGIS map converter.

csv to kml - Conversion

  • Now just drag or upload your KMZ file from your system or access the file from Google Drive or Dropbox.

csv to kml - Conversion

 

  • Once the file upload is completed, select the output file format we want to convert it into i.e. KML. and for setting up the conversion process set the Coordinate Reference System accordingly and Convert the file.

csv to kml - Conversion

 

  • Now We have successfully converted CSV to KML, you can download the file and converted file will publish on map to see the content in the file or to check the conversion.

csv to kml - Conversion

 

  • You can also search locations, add new datasets, edit layers and style the map according to your choice and requirements. As IGIS Map Converter Tool provides many benefits other then just conversion of data. This tool provides us to generate this published map in PDF or as image format.

If you face any problem during implementing this tutorial, please let us know. Feel free to comment in given comment box.

Furthermore, on GIS data Conversion

 

Introduction of QGIS 3.4.4 for beginners

Quantum Geographical Information System is a open source platform for viewing, editing, managing and analysis of spatial data with various features which makes your analysis better. As we need word processor to deal with words similar to this for spatial information we require GIS application. In this blog I am providing Introduction of QGIS 3.4.4 for beginners. QGIS 3.2.1 ‘Bonn’ is released on 20 July 2018. QGIS 3.6.2 is the current version but its functionality is same as QGIS 3.4.4.  With the help of QGIS you can also create Interactive Web Map. 

Want to convert Shapefile into KML in QGIS 

QGIS supports both flavours of GIS datasets i.e Vector data formats and Raster data formats.

Download QGIS

You can also create map without using QGIS Click

 

QGIS 3.4.4 Interface or GUI

With the current version QGIS 3.2.1 many new features are added. Here we approach its feature one by one. You can also check How to open and view vector data in QGIS 3.4.4

QGIS desktop screen

Introduction of QGIS 3.2.1 for beginners
Introduction of QGIS 3.2.1 for beginners

Components of GUI

Main area of QGIS is called as canvas. Likewise other GIS applications toolbars, panels, status bar and menu bar is also. Lets start its study in brief.

Introduction of QGIS 3.2.1 for beginners

1. Menu Bar –

In the above image 1 number is showing main menu bar. You can access almost everything of QGIS from main menu. You can use various features and functions of the QGIS menu style. The Main Menu cannot be moved unlike the toolbars and panels.

2. Toolbar –

Toolbars have buttons that provide a one click access (i.e. shortcuts) to many of the features and functions found in the Main Menu. Toolbars are movable and free floating.

3. Canvas or Map Display Panel –

It shows geographic display of GIS layer or panel layers. It covers maximum area off course because of its function. Create a Basic Map on canvas

4. Browser Panel –

It provides a list of files on your computer. You can drag and drop GIS files into the Layers Panels to view them. This panel is movable and can be hidden/shown on the GUI. We can display it by right click at tool bar and choose the panels you want to use.

5. Layer Panel –

This panel shows map layers that are in your current project. Layers can be turned on/off, clubbed , change drawing order, etc. Extract or Select features in Layer.

6. Status Bar –

It display all the relevant information about the current project. It  shows the current scale of the map display, coordinates of the current mouse cursor position,and the coordinate reference system (CRS) of the project.

Now, you get familiar with QGIS interface, how it works, what is the need. Hope this post is beneficial for amateur GIS professional. If you face any problem in downloading QGIS and in using QGIS 3.2.1 desktop drop you comments. Any suggestions are welcome.

Furthermore,  you can also check QGIS Server – Configuration and Deploying QGIS Project , QGIS Servr – Installation in Ubuntu

QGIS Tutorial:

 

 

SHP to GML – Convert Shapefile to Geography Markup Language

Shape file shp to GML conversion is required when you carry data from one place to another. Shapefiles are heavy as compared with GML (Geography Markup Language). On the other hand we can say that GML makes you able to do many of the same things that you would do with heavyweight desktop GIS files.

Convert SHP to KML using IGIS Map Tool

GML (Geography Markup Language) is about describing kinds of geographic objects. This is XML based language that contain two part- the schema that describes the document and the instance document that contains the actual data. GML schema allows users and developers to describe generic geographic data sets that contain points, lines and polygons. Using this schema user can differentiate between geometry primitives.

GMl format composed of geometry property and attribute detail in feature member tag. Here geometry defines which primitive is available in data. Whether it is point, line or polygon. These can be multilinestring or multipolygon. The given line of GMl defines the lineString, contains attributes as MED_DESCRI, RTT_DESCRI, F_CODE_DES, ISO and ISO_country in ogr tag. The srsName(Spatial reference system name) is given is file for each geometry as EPSG number.

LineString as Example of GML file Describing feature – Know Before performing shp to gml convert

<gml:featureMember>
 <ogr:India_raods fid="India_raods.0">
 <ogr:geometryProperty><gml:LineString srsName="EPSG:4326"><gml:coordinates>77.8277403974823,35.5012774951288 77.8257523064861,35.4995003281321</gml:coordinates></gml:LineString></ogr:geometryProperty>
 <ogr:MED_DESCRI>Without Median</ogr:MED_DESCRI>
 <ogr:RTT_DESCRI>Secondary Route</ogr:RTT_DESCRI>
 <ogr:F_CODE_DES>Road</ogr:F_CODE_DES>
 <ogr:ISO>IND</ogr:ISO>
 <ogr:ISOCOUNTRY>INDIA</ogr:ISOCOUNTRY>
 <ogr:Length_km>0.30</ogr:Length_km>
 </ogr:India_raods>
 </gml:featureMember>

This also contains the bounding box of whole data with four corner latitude longitude.

<gml:boundedBy>
 <gml:Box>
 <gml:coord><gml:X>68.49822243392609</gml:X><gml:Y>7.92528433268866</gml:Y></gml:coord>
 <gml:coord><gml:X>97.33479210700925</gml:X><gml:Y>35.50128146412876</gml:Y></gml:coord>
 </gml:Box>
 </gml:boundedBy>

Convert shapefile Shp to GML (Geography Markup Language) using Ogr2Ogr –

For converting shapefile in GML format you need to have ogr2ogr utility in your system. If this is not available you can follow the given procedure.

Convert Shapefile shp to GML - Geography Markup Language
Convert Shapefile shp to GML – Geography Markup Language

After installing, you can check the availability of ogr2ogr in terminal by typing ogr2ogr, then you will be able to see the following result.

Convert- Shape file to GML

Command Line conversion – shp to gml-

Now, to convert Shapefile to GML you need to execute the following command-

Convert- Shape file to GML

In this command -f is the output file format i.e. GML then specify the output file name with .gml extension and after that input shapefile name with .shp extension.
Note- while executing this command you must check for .shx file, which contains the positional index for geometry objects.

Code- Convert shp to GML

If you want the conversion using programing or don’t want to use terminal then this can also be done using PHP. You can create a function that defined this command as string and can give this string in shell_exec() method to execute. Shell_exec() actually execute the command and returns output as string.

public function shptogml($shpfilepath,$output){
$query=”ogr2ogr -f GML $output.gml $shpfilepath”;
print_r($query);
shell_exec($query);
}

The GML output file will be something like this-

Convert Shapefile shp to GML - Geography Markup Language

Change coordinate system of GML file from shp-

Many of times, we need the output file in other coordinate system. For this we can use options of ogr2ogr utility. It has

-t_srs srs_def:

Reproject/transform to this SRS on output

-s_srs srs_def:

Override source SRS

So using these option, we can get the data in required coordinate system. So for this you can write the query as-

–> ogr2ogr -f GML -t_srs EPSG:32643 (new EPSG) -s_srs EPSG:4326 (old EPSG) newGmlFile.gml InputFile.shp

You also can visit Shapefile to GeoJSON, Shapefile to KML, Shapefile to TopoJSON, Shapfile to geopackage etc.

If you face any problem during implementing this tutorial, please let us know. Feel free to comment in given comment box.

SHP to GPX / GPS – Convert Shapefile to Global Positioning System

Shapefile shp can be converted into GPS ( Global Positioning System) using ogr2ogr utility. The GPS data is best option when routes and tracks are required in XML format. Here we will check how to convert shapefile shp to GPX / GPS.

Convert Shp to GPX – Using IGIS Map Tool

Go to Igis Map Conversion Tool . Login with registered id and password or if you are new then register with valid email id. Then tap on Switch To button select conversion in the drop down list.

Upload your file from system or drive or from drop box. After uploading the file choose the output format. And in the last click on Convert File button. You will be directed to the map where converted file is published.

Download the converted SHP to GPX file from the download icon. For detailed conversion watch the video provided below.

Details for GPX/GPS (GPS Exchange Format) and Shapefile Format Before Converting Shapefile to GPX GPS data-

GPX (GPS Exchange Format) is a light-weight XML data format for the interchange of GPS data (waypoints, routes, and tracks) between applications and Web services on the Internet. Shapefile is collection of geometry with attributes mainly comprised of three files .shp for which stores geometry, .shx which stores index and .dbf which stores data of respective attributes.

The example is given below for linestring feature of gpx version. Here metadata contains the bounding box with min (lat,long) and max (lat, long). The tag trk defines the tracks, which contains extension tag, trkseg tag and trkpt tag. Here extension tag contains all the attributes in ogr tag with values. Trkseg tag is the track segment, which is composed of track points with latitude longitude.

<gpx version=”1.1″ creator=”GDAL 2.2.2″ xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:ogr=”http://osgeo.org/gdal” xmlns=”http://www.topografix.com/GPX/1/1″ xsi:schemaLocation=”http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd”>
<metadata><bounds minlat=”7.925284332688660″ minlon=”68.498222433926088″ maxlat=”35.501281464128759″ maxlon=”97.334792107009250″/></metadata>
<trk>
<extensions>
<ogr:MED_DESCRI>Without Median</ogr:MED_DESCRI>
<ogr:RTT_DESCRI>Secondary Route</ogr:RTT_DESCRI>
<ogr:F_CODE_DES>Road</ogr:F_CODE_DES>
<ogr:ISO>IND</ogr:ISO>
<ogr:ISOCOUNTRY>INDIA</ogr:ISOCOUNTRY>
<ogr:Length_km>0.3</ogr:Length_km>
</extensions>
<trkseg>
<trkpt lat=”35.501277495128768″ lon=”77.82774039748233″>
</trkpt>
<trkpt lat=”35.499500328132093″ lon=”77.825752306486052″>
</trkpt>
</trkseg>
</trk>

Convert- Shapefile shp to GPX / GPS- Global Positioning System

Convert shp to GPX /GPS using ogr2ogr utility-

Ogr2ogr utility has some options some of them are give below,

-dsco NAME=VALUE:

Dataset creation option (format specific)

-nlt type:

Define the geometry type for the created layer. One of NONE, GEOMETRY, POINT, LINESTRING, POLYGON, GEOMETRYCOLLECTION, MULTIPOINT, MULTIPOLYGON or MULTILINESTRING.

-f option:

format_name

GPX_USE_EXTENSIONS:

By default, the GPX driver will discard attribute fields that do not match the GPX XML definition (name, cmt, etc.).

If GPX_USE_EXTENSIONS=YES is specified, extra fields will be written inside the <extensions> tag.

–> ogr2ogr -f “GPX” -dsco GPX_USE_EXTENSIONS=YES output_gpx.gpx India_raods.shp -nlt MULTILINESTRING

If you don’t have ogr2ogr utility in your system please execute the given commands to install ogr2ogr,

Convert- shp to gpx

Check the presence of utility by typing ogr2ogr in command prompt-

Convert- shp to gpx

Code to Convert GPX GPS from Shp

The conversion thing can be done in PHP using shell_exec() method, given below-

public function shptogpx ($shpfilepath,$output,$type) {
$query=”ogr2ogr -f GPX -dsco GPX_USE_EXTENSIONS=YES $output.gps $shpfilepath.shp -nlt $type”;
shell_exec($query);
}

Convert- shp to gpx

Change coordinate system of GPS/GPX file-

Changing coordinate system using ogr2ogr is a one of the simple task. It has various option, here two are given, which will help to convert the coordinate system into desired one.

-t_srs srs_def:

Reproject/transform to this SRS on output

-s_srs srs_def:

Override source SRS

So using these option, we can get the data in required coordinate system. So for this you can write the query as-

–> ogr2ogr -f GPX -t_srs EPSG:32643 (new EPSG) -s_srs EPSG:4326 (old EPSG) -dsco GPX_USE_EXTENSIONS=YES newGPX_File.gpx  InputFile.shp -nlt MULTILINESTRING

You also can visit Shapefile to GeoJSON, Shapefile to KML, Shapefile to TopoJSON, Shapfile to geopackage, Shapefile to MapInfoFile etc.

If you find any problem during implementing this tutorial, please let us know. Feel free to comment in given comment box.

Formula to Find Bearing or Heading angle between two points: Latitude Longitude

Formula to Find Bearing or Heading angle between two points. Bearing or heading angle is used to define navigation generally in the field of aircraft or marine or Vehicle navigation or while working for land surveying. So what’s the heading or bearing? How we can find bearing between the two points on earth, with the formula? Or How we can find the other point, when one point, actual traveled distance and bearing is given? Let us discuss all this points, followed with the example and experiment with the tool for calculating bearing provided in the post. Bearing angle plays a im

Formula to Find Bearing or Heading angle between two points: Latitude Longitude
Formula to Find Bearing or Heading angle between two points: Latitude Longitude

Bearing can be defined as direction or an angle, between the north-south line of earth or meridian and the line connecting the target and the reference point. While Heading is an angle or direction where you are currently navigating in.  This means to reach a particular destination you need to adjust your heading direction with the bearing. Generally a ‘compass’ is an instrument, which gives you the direction information for navigation. You must refer Haversine distance formula before going through this post.

Calculating Bearing or Heading angle between two points:

So if you are from GIS field or dealing with GIS application, you should know bearing and how to calculate bearing with formula. Let us look on formula and tool for bearing:

  • Let ‘R’ be the radius of Earth,
  • L’ be the longitude,
  • ‘θ’ be latitude,
  • β‘ be Bearing.

Denote point A and B as two different points, where ‘La’ is point A longitude and ‘θa’ is point A latitude, similarly assume for point B. Bearing would be measured from North direction i.e 0° bearing means North, 90° bearing is East, 180° bearing is measured to be South, and 270° to be West.

Note: If bearing is denoted with +ve or –ve initials whose values lies between 0° to 180°, then –ve is denoted for South and West sides.

Formula to find Bearing, when two different points latitude, longitude is given:

Bearing from point A to B, can be calculated as,

β = atan2(X,Y),

where, X and Y are two quantities and can be calculated as:

X = cos θb * sin ∆L

Y = cos θa * sin θb – sin θa * cos θb * cos ∆L

Lets us take an example to calculate bearing between the two different points with the formula:

  • Kansas City: 39.099912, -94.581213
  • St Louis: 38.627089, -90.200203

So X and Y can be calculated as,

X =  cos(38.627089) * sin(4.38101)

X  = 0.05967668696

And

Y = cos(39.099912) * sin(38.627089) – sin(39.099912) * cos(38.627089) * cos(4.38101)

Y = 0.77604737571 * 0.62424902378 – 0.6306746155 * 0.78122541965 * 0.99707812506

 Y = -0.00681261948

***Convert θ into radians***

So as, β = atan2(X,Y) = atan2(0.05967668696, -0.00681261948) = 1.684463062558 radians

convert it into degree

           β = 96.51°

This means, from Kansas City if we move in 96.51° bearing direction, we will reach St Louis.

You can also check video explanation of bearing angle.

Tool to find bearing angle between two lat lon points:

Formula to find a lat lon point, when bearing, distance and another lat lon is given

Let us assume a condition, where you want to find out the where will an Airplane will land up, if you have following details of that Airplane, i.e actual distance it will travel, the bearing and the starting point (lat,lon)?

  • Let first point latitude be la1,
  • longitude as lo1,
  • d be distance,
  • R as radius of Earth,
  • Ad be the angular distance i.e d/R and
  • θ be the bearing,

Here is the formula to find the second point, when first point, bearing and distance is known:

  • latitude of second point = la2 =  asin(sin la1 * cos Ad  + cos la1 * sin Ad * cos θ), and
  • longitude  of second point = lo2 = lo1 + atan2(sin θ * sin Ad * cos la1 , cos Ad – sin la1 * sin la2)

You may find both the tool on separate page, with Google map working on it: (It will be update in 2 days, please visit us again)

  • Tool to Find Bearing, when two points are given
  • Tool to find other point, when bearing, distance and one of the point is given.

I hope this article will definitely help you, to find the bearing or heading. You are free to share more data related to bearing or any thing that you uses to calculate bearing and how you use navigation with bearing.

If you find anything difficulty to understand the bearing calculation, you may comment below, so that we will discuss further on finding bearing or heading angle.

Try IGIS Map Tool for GIS Operation

Now we are on Youtube also. Please Like, Share and Subscribe our Channel IGIS Map