Field selector
Draw your field on the map
Use the polygon tool to outline your field. The boundary is exported as GeoJSON and can be sent to services/weatherAgro.getSoilDataByGeoJSON() for soil moisture and temperature data (OpenWeather Agro).
Map
Select field boundary
Click the polygon icon in the toolbar, then click on the map to add points. Close the shape by clicking the first point. Only one polygon is stored at a time (window.selectedFieldGeoJSON).
After drawing, the GeoJSON is stored in window.selectedFieldGeoJSON and shown below. Your backend can call getSoilDataByGeoJSON(geoJson, apiKey) from services/weatherAgro.js to fetch soil data for this polygon.
Selected GeoJSON (for getSoilData)
Draw a polygon to see GeoJSON here.
Need help or a quote?
Contact us for soil reports, irrigation planning, or land management services.
