This operation is retained because its version-labelled public specification differs structurally from another generation. It is comparison evidence, not a promise of current support, compatibility, entitlement, or availability.
Call the operation
https://mgis-apiv2.mappls.com/ai_ml/imageSegmentationhttps://mgis-apiv2.mappls.com/Parameters
Body schema
filerequiredImage file in .tiff or .jpg or .png. formats
examplegeotagrequiredCase1 - Will be 0 for .jpeg, .jpg and .png images without bounds and will return geoJson reponse in pixels. Case2- Will be 1 for .tiff and .tif images without bounds and will return geoJson reponse in pixels. Case3-Will be 2 for .jpg, .jpeg and .png images with bounds and returns geoJson response.
examplefeatureNmerequiredCan be either FP, RD, SOIL, VEG and WATER.
exampleboundswill be an object containing south-west and north-east corner of the image uploaded. Bounds is mandatory in case when geotag value is 2 and is not required in case when geotag value is 0 and 1.
exampleimageTypetype of image i.e. google or bhuwan.
examplescaleinteger value which should greater than 0.
1{
"file": "example",
"geotag": "example",
"featureNme": "example"
}Build your request in eight languages
Change source-backed examples once, validate required inputs, and copy the synchronized cURL, JavaScript, Python, Java, C#, Go, PHP, or Ruby request. Credentials remain environment references, and this page never sends a provider request.
https://mgis-apiv2.mappls.com/ai_ml/imageSegmentationcurl --request POST \
--url 'https://mgis-apiv2.mappls.com/ai_ml/imageSegmentation' \
--header "Accept: application/json" \
--header "Authorization: Bearer ${MAPPLS_ACCESS_TOKEN}" \
--header "Content-Type: multipart/form-data" \
--data-raw '{"file":"example","geotag":"example","featureNme":"example"}'Credential-safe by constructionSet MAPPLS_ACCESS_TOKEN only in your trusted runtime. Code generation stays local. Sandbox execution sends only bounded fixture inputs to this developer platform and never reads a credential or calls Mappls.
Send a production-shaped request
Examples use environment-backed access tokens, explicit timeouts where supported, status checks, and JSON bodies derived from the source schema. Replace sample identifiers and coordinates with values from your application.
curl --request POST \
--url 'https://mgis-apiv2.mappls.com/ai_ml/imageSegmentation' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"file": "example",
"geotag": "example",
"featureNme": "example"
}'Responses
OK
Bad Request, User made an error while creating a valid request.
Internal server error.
200 response fields
FeaturesNo field description in the source contract.
exampleFeatures[].geometryNo field description in the source contract.
28.612964,77.229463Features[].geometry.coordinatesNo field description in the source contract.
28.612964,77.229463{
"Features": [
{
"geometry": {
"coordinates": []
}
}
]
}Operate it safely
This operation creates or triggers durable state. Supply an idempotency strategy and persist the returned identifier before continuing.
Contract provenance
- Source file
mappls-developer-platform/data/corpus/public-api-contracts/mapmyindia-mgis-apis/docs/v2/custom/imagesegmentation.yml- SHA-256
1d9a9ed6968df6392a22084195c34db67eb5989ac544b44341637caaf4dd2943- Normalization
- Fields are parsed from OpenAPI. Operational guidance and language samples are generated and labeled separately.
- Source record
- Open repository audit