This Flask application determines the soil texture and electrical conductivity based on geographical coordinates provided by the user. By inputting the latitude and longitude of a location, the app retrieves soil data from a predefined database or external API and returns detailed information about the soil's texture and conductivity.
- Input geographical coordinates (latitude and longitude).
- Retrieve soil texture information.
- Retrieve soil electrical conductivity information.
- User-friendly interface for input and display of results.
- Information of Soil of Different regions of Pakistan is there.
- Details about soil texture and salinity are there
Make sure you have Python installed on your system. The required Python packages are listed in requirements.txt
. To install the necessary packages, run:
pip install -r requirements.txt
-
Clone the repository:
git clone https://github.com/ikramali585/web-portal.git cd web-portal
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables:
- Create a
.env
file in the root directory of the project. - Add necessary environment variables (if any) in the
.env
file.
- Create a
-
Run the Flask application:
python main.py
-
Access the application: Open your web browser and go to
http://127.0.0.1:5000
. -
Input Coordinates: Enter the latitude and longitude of the location for which you want to determine the soil texture and electrical conductivity.
-
View Results: Submit the coordinates to view the soil texture and electrical conductivity information.
There are separate pages for the soil information of different regions. You may find it in right corner of the page
We welcome contributions to enhance the functionality and usability of this application. If you would like to contribute, please fork the repository, create a feature branch, and submit a pull request.
For any questions or inquiries, please contact (mailto:[email protected]).
Happy soil analyzing!