Skip to main content

mGIS APIs

Introduction​

Using these APIs developers can fully leverage and embed the power of GeoSpatial Analytics, GIS and location intelligence and AI. These APIs allow a developer to integrate into their own application the power and full set of functionalities of the mGIS product and platform.

API Features​

mGIS APIs are grouped under various categories providing wide range of functionalities which can be leveraged by enterprise and consumer

How mGIS APIs Enhance Value of any Solution​

mGIS can serve different types of customers on the basis of the type of analytics OR on the basis of the type of datasets they possess. E.g. a user who has a non spatial address dataset wants to upload on mGIS and perform geospatial visualization and queries.

See Video Demo​

For this you will perform below steps:​

  • Use β€˜generate batch geocode layer’ to get geospatial references of your dataset
  • Use SAT API to save the resultant as a new layer or append into existing layer (above steps will add layer with basic style)
  • Use Styling API in case you need to do visualisation based analytics
  • Use Layer Visualisation API to get WMS image and feature info of a feature. Using this API you can also get the legend of the layer
  • Use Dataset Query APIs to perform basic and cross join analytics on your dataset, resultant of which can be further saved.

Search And Navigation APIs​

Search and Navigation APIs group consist of APIs which can be used to perform batch operations.

These APIs can take input in several form factors:

.csv | .xlsx | xls | XLSX | XLS | xlt | XLT | xlsm | XLSM | xltx | XLTX

Documentation​

Contact API Support

See Video Demo​

Generate Batch Geocode Layer​

This API is useful if the user has a list of addresses and wants to have them georeferenced for visualization and analytics.

Generate Batch Rev-Geocode Layer​

If the user has a list of latitude and longitude values and wishes to categorize them based on belonging to residential/commercial areas, this API can be used.

Generate Batch Routing Layer​

Generally, when a user wishes to see multiple routes for multiple route points and wants to align them visually on the basis of travel time/distance to make some decision, this API is used to generate said travel graphs.

Data Operations APIs​

This group of APIs are used for adding the datasets in different formats to the mGIS engine

These APIs support below datasets:

GEOJSON | KML | CSV | XLSX | XLS | SHP(ZIP) | XLSM | XLT | XLTX

See Video Demo​

SAT (Save, Append and Truncate) API​

This API is used to save user dataset with multiple saving options like append, truncate etc. on mGIS cloud with basic visualisation style.

Documentation​

Click here

Describe Dataset API​

Describe Dataset API provides all attribute names along with the data type of a dataset.

Documentation​

Click here

Get Layer List API​

This API lists down all the datasets that exist on an mGIS user’s cloud along with the geometry type of each dataset.

Documentation​

Click here

Get Geometry Type API​

This API returns the geometry type of a single dataset (Line/Point /Polygon/Multi Geometry).

Documentation​

Click here

Get Dataset API​

This API reads a dataset with options like read entire dataset, read only specific attributes of a dataset etc.

Documentation​

Click here

Layer Styling APIs​

Layer Styling API is used to update and add new styles to existing datasets.

Documentation​

Contact API Support

See Video Demo​

These layer styles are listed below:

  • Basic Style
  • Category Based Style
  • Bubble Style
  • Cluster Style
  • Gradient Style
  • Heatmap Style
  • Pie Chart Style
  • Bar Chart Style
  • D3bubble style
  • Style with label

Dataset Query And Validation APIs​

This group of APIs are used to perform different data analytics and save results as a new dataset.

Documentation​

Click here

See Video Demo​

User can perform below operations on dataset :

  • Results can be fetched of the basic query, cross join query and spatial query like In, NOT, IN, Like etc.
  • Arithmetic operations, geometric operations and aggregate operations can be performed through query on a dataset.
  • Order by and Group by with a query can be applied on a dataset.

Layer Visualization And Info APIs​

This group consists of multiple APIs that allow users to visualise and analyse their dataset using different styles, get feature info of a feature and legends.

Documentation​

Contact API Support

See Video Demo​

These APIs form the basic foundation of geo visualisation and geo analytics.

Get Map API​

This API fetches the map tiles of an entire dataset with basic queries, queried results of cross join/spatial join between two datasets and geometric function can be performed as well.

Get Feature Info API​

This API fetches information of a feature that lies on the x and y pixel at which the user clicks. Response of the API changes based on the style that user has assigned to it.

Get Legend Image API​

This API fetches the legend of a dataset as an image which can then be used by developers on their platform to display on canvas (similar to mGIS).

Raster Catalogue APIs​

This group of APIS are used to fetches Raster layerlist images, legends and bounds for the particular dataset.

Documentation​

Contact API Support

See Video Demo​