Skip to content

Add sample: Apply map algebra#472

Merged
rom14514 merged 24 commits intov.nextfrom
rom14514/apply-map-algebra
Apr 10, 2026
Merged

Add sample: Apply map algebra#472
rom14514 merged 24 commits intov.nextfrom
rom14514/apply-map-algebra

Conversation

@rom14514
Copy link
Copy Markdown
Collaborator

@rom14514 rom14514 commented Apr 9, 2026

Description

PR to add a new Kotlin sample "Apply map algebra" in Analysis category.

Links and Data

Sample Epic: runtime/kotlin/issues/7395

What To Review

  • Review the code to make sure it is easy to follow like other samples on Android
  • README.md and README.metadata.json files

How to Test

Run the sample on the sample viewer or the repo.

@rom14514 rom14514 self-assigned this Apr 9, 2026
@rom14514 rom14514 added the New sample New Kotlin sample using ArcGIS Maps SDK label Apr 9, 2026
@rom14514 rom14514 changed the base branch from main to v.next April 9, 2026 10:44
@rom14514
Copy link
Copy Markdown
Collaborator Author

rom14514 commented Apr 9, 2026

The Swift sample displays "Raster data copyright Scottish Government and SEPA (2014)" string on screen (and in the README). Do we need to display it on screen as well?

@rom14514 rom14514 marked this pull request as ready for review April 9, 2026 14:41
@rom14514 rom14514 requested a review from gunt0001 April 9, 2026 14:41
Copy link
Copy Markdown
Collaborator

@gunt0001 gunt0001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rom14514 - nice work, a few comments. Note, I wasn't able to fully test the sample since my device does not support analysis. I was able to get a decent error dialog though, so at least I tested that part. The second reviewer will need to do the rest of the testing.

@gunt0001
Copy link
Copy Markdown
Collaborator

gunt0001 commented Apr 9, 2026

The Swift sample displays "Raster data copyright Scottish Government and SEPA (2014)" string on screen (and in the README). Do we need to display it on screen as well?

I believe showing this in the readme is sufficient. @shubham7109 - can you confirm?

Copy link
Copy Markdown
Collaborator

@shubham7109 shubham7109 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rom14514 Nice work! I've added some general review comments, and will confirm that we need to supply the copyright for this sample to be visible at all times when the data is used.

See portal item info:

If using this data you must acknowledge the source of the Information in your product or application by including or linking to any attribution statement specified by the Information Provider(s) and, where possible, provide a link to this licence;

Copy link
Copy Markdown
Collaborator

@gunt0001 gunt0001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rom14514 - nice work!

Copy link
Copy Markdown
Collaborator

@shubham7109 shubham7109 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rom14514 Sample works well and code looks good. Apologies for missing on these doc comments previously, I have few change requests.

Comment thread samples/apply-map-algebra/apply-map-algebra.png
Comment thread samples/apply-map-algebra/README.md Outdated
Comment thread samples/apply-map-algebra/README.md
@rom14514 rom14514 requested a review from shubham7109 April 10, 2026 16:21
Copy link
Copy Markdown
Collaborator

@shubham7109 shubham7109 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to merge 👍

@rom14514
Copy link
Copy Markdown
Collaborator Author

@gunt0001 @shubham7109 Thanks for reviews! Merging now

@rom14514 rom14514 merged commit 151cde2 into v.next Apr 10, 2026
1 check passed
@rom14514 rom14514 deleted the rom14514/apply-map-algebra branch April 10, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

New sample New Kotlin sample using ArcGIS Maps SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants