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
- Search & Navigation APIs
- Data Operations APIs
- Layer Styling APIs
- Dataset Query & Validation APIs
- Layer Visualization & Info APIs
- Raster Catalogue APIs
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β
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β
Describe Dataset APIβ
Describe Dataset API provides all attribute names along with the data type of a dataset.
Documentationβ
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β
Get Geometry Type APIβ
This API returns the geometry type of a single dataset (Line/Point /Polygon/Multi Geometry).
Documentationβ
Get Dataset APIβ
This API reads a dataset with options like read entire dataset, read only specific attributes of a dataset etc.
Documentationβ
Layer Styling APIsβ
Layer Styling API is used to update and add new styles to existing datasets.
Documentationβ
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β
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β
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.