View Map
Process Name
Plant Management
Feature/User Story Name
View Maps in Plant Profile
Description
The "View Maps in Plant Profile" feature allows back-office users to visualize the geographic location of a plant within the SMART360 system. This feature is located under the "Profile" tab in the Plant's detailed view, specifically in the "Maps" sub-tab. The map view is generated using the latitude and longitude entered during the plant's creation. The address corresponding to these coordinates is also displayed for reference.
Actors
Back Office Users
User Story
As a back-office user, I want to view the map location of a plant along with its address so that I can verify its geographic details and provide accurate data to stakeholders.
Storytelling
Ravi, a back-office user, logs into SMART360 to verify the location of the newly added Filtration Plant in Pune. He navigates to the plant's detailed view, clicks on the "Profile" tab, and switches to the "Maps" sub-tab.
On this screen, Ravi sees the plant's exact location plotted on the map, along with the latitude and longitude entered during the plant's addition. The corresponding address is displayed for easier identification. Using this feature, Ravi quickly confirms the plant's location for generating a compliance report.
Goal
To enable users to view the exact map location and address of a plant based on its latitude and longitude.
Process Flow Diagram
(Not provided here but should depict navigation from SMART360 Login > AX Module > Asset Registry > Plants > Detailed View > Profile Tab > Maps Sub-Tab.)
Major Steps
Business Rules
General Rules
-
The latitude and longitude must be fetched from the data entered during the plant's addition process.
-
The address should be derived using the latitude and longitude through reverse geocoding.
-
The map must display the exact plant location with a marker.
Field-Specific Rules
-
Latitude and Longitude
-
Type: Decimal
-
Validation: Must be valid latitude (-90 to 90) and longitude (-180 to 180).
-
Error Handling: If invalid or missing, display the message: "Coordinates are unavailable for this plant."
-
-
Address
-
Type: Text
-
Validation: Must display the address derived from the latitude and longitude.
-
Error Handling: If address derivation fails, display: "Address could not be retrieved."
-
-
Map View
-
Type: Embedded map
-
Validation: Must display a marker at the latitude and longitude coordinates.
-
Error Handling: If map loading fails, display: "Unable to load map. Please try again later."
-
Error Handling Criteria
-
If the latitude and longitude are missing, the map and address sections should display the message: "Coordinates are unavailable for this plant."
-
If the map service fails, display: "Unable to load map. Please try again later."
-
If address retrieval fails, display: "Address could not be retrieved."
Sample Data
-
Latitude: 18.57726
-
Longitude: 73.765081
-
Address: 31, Balewadi, Pune, Maharashtra 411045, India
Acceptance Criteria
General Display Criteria
-
The "Maps" sub-tab should display the plant's latitude, longitude, address, and a map view.
-
The map marker must point to the exact location based on the latitude and longitude.
Address Display Criteria
-
The address must be derived through reverse geocoding and displayed in text format.
Error Handling Criteria
-
Display appropriate messages when data (coordinates, address, or map) is unavailable or fails to load.
Accessibility Criteria
-
The map should be interactive (zoom, pan, etc.) for users to inspect the area further.
No Comments