GeoPard Tutorials | Precision Ag Software
  • Introduction to GeoPard
    • GeoPard Platform: Frequently Asked Questions (FAQ)
  • 🖥️Product Tour - Web App
    • Getting Started
      • Create a new farm
      • Draw a new field
      • Upload a field boundary
      • Edit a boundary
      • Edit a field name
      • Add a label
    • 🛰️Satellite Monitoring
      • Order Planet Scope (3m daily) imagery
      • Indices for Crops and Soils
      • 📈Crop Development Index Graph
    • 📊Zones Maps and Analytics
      • Assign Variable Rates in the Zones (Ag inputs Rates Distribution Tool)
      • Creating Zones Map using Satellite Imagery
      • Creating Zones Map using Soil/Yield/As Applied Data
      • Creating Zones Map using Topography
      • Creating Zones Map using a Template
      • Draw Zones Manually, Clone from an existing layer
      • Usage of Data Classification
      • Edit Zones Map: Merge & Split
      • Multi-Year Zones
      • Multi-Layer Analytics
      • Compare layers
      • Heterogeneity factor
      • Relative variation factor
    • 📊Equation-based Analytics
      • Batch Equation analytics
      • Catalog of Predefined Agronomic Equations
      • Catalog of Custom Functions
    • ⛰️Topography
    • ⛰️3D Maps
    • Import
      • Field Boundary
      • Soil Data
      • Yield Data
      • As Applied/As Planted Data
      • Machinery Proprietary Formats
      • Import from MyJohnDeere
    • Export / Download
      • Field Boundary Export
      • Batch Export of Boundaries, Zones and Scouting Pins
      • Zones Map Export as shapefile
      • Satellite Imagery Export as geotiff or geojson
      • Export Scouting Notes as shapefile
      • Export VRA map In ISOXML Format
      • Export to MyJohnDeere
    • 🤖API
    • Operations Log - Track errors/Imports and Analytics
    • Organizations and Roles
    • Farms Sharing between Accounts & Organizations
    • Managing Crop Season information with tags(labels)
      • Case: Managing fields for several clients
      • Case: Season details including crop and year
      • Case: Field operation details
    • ⚙️User Settings
      • Subscriptions, Account limits & Plans
      • Restoring password
      • Order the package
      • Changing preferences
    • 🚜John Deere Operations Center Integration
      • 🚜John Deere Operations Center Integration
        • 1. Create Free Trial Account with you John Deere Account
        • 2. Connect to JohnDeere Operations Center
        • 3. Connect to John Deere Organizations
        • 4. Import into GeoPard from John Deere Operations Center
        • 5. Configure Automated Data Sync
        • 6. Export Rx Maps to John Deere Operations Center as Files
        • 7. Export Field Boundaries into John Deere Operations Center
          • 7a. Organization configuration of export boundary to John Deere Operations Center as File
        • 8. Export Rx Maps to John Deere Operations Center as Work Plans
        • 9. Export Soil, Topography, Satellite or Analytics as Map Layers
      • 🚜John Deere Operations Center Data Sharing
        • 1. "Staff Member" sharing
        • 2. Problem-solving of "Staff Member" sharing
        • 3. "Partner Organization" sharing
        • 4. Problem-solving of "Partner Organization" sharing
        • 5. Problem-solving of import from John Deere to GeoPard
        • 6. Problem-solving of Work Plan creation
        • 7. Sharing Fields/Boundaries Between Partner Organizations in John Deere Ops Center, DataSync config
  • 🚀Changelog & Product Releases
    • Release Notes
      • Release Web April 2025 (Rates Distribution, improved Legends)
      • Release Web March 2025 (Improved Zones, WorkPlans updates, Yield data enhancements)
      • Release Web January 2025 (Free Trial, Usage-based Pricing Plan, USDA Yield Cleaning protocol, Export of calibrated Yield data to John Deere Ops Center, Import of kml)
      • Release Web August 2024 (Data Layer Previews, Spatially localized Zones; Use zones and Equations in new Equations)
      • Release Web July 2024 (Equation Map creation, Spatially localized zones, Seeding and Application Work Plans)
      • Release Web May 2024 (Raw view for Satellite Images, export of Zone Maps as WorkPlan to the John Deere Operations Center, redesign of Batch Analytics)
      • Release Web April 2024 (Batch Equation Maps and enhanced layer transparency)
      • Release Web February 2024 (Per area pricing, units)
      • Release Web January 2024 (many UI improvements)
      • Release Web November 2023 (Clone Polygons, Subscription management)
      • Release Web October 2023 (Yield Calibration, Equation Maps as ISOXML, PDF Export and John Deere Integration)
      • Release Web September 2023 (Cleaning & Calibrating Yield Datasets, more languages support)
      • Release Mobile August 2023 (Mobile app impovements)
      • Release Web July 2023 (Operations Log page, Sum in datasets)
      • Release Web June 2023 (Improved Equations, Operations log v1)
      • Release Mobile May 2023 (Social Login)
      • Release Web May 2023 (John Deere integration improvements)
      • Release Web January 2023 (huge amount of small improvements)
      • Release Web October 2022 (Integration with AgGateway protocols, Isoxml support and more)
      • Release Web April 2022 (3D maps and Zoning Tools)
  • 👨‍🌾Agronomy
    • Precision Agronomy Use Cases & Best Practices Overview
    • Field Management Zones (Productivity Zones) Creation Process
    • Variable Rate Seeding (Planting) Maps
    • Yield Calibration & Cleaning
    • Synthetic Yield Map
    • Create Soil Sampling Zones, Points, Route, export as KML, and execute
    • Evaluate Accuracy of Seeding Application
    • Evaluate Accuracy of Fertilizer Application
    • Field Trial Analytics
    • Nitrogen Use Efficiency & Uptake
    • Comparing Yield Datasets
    • Compare Soil Scanner Data between Years
    • Flood Detection / Insurance report
    • Profit Maps (COMING)
    • VRA/Rx/Prescription Fertilizer Maps (COMING)
    • VRA/Rx/Prescription Nitrogen Maps (COMING)
    • VRA/Rx/Prescription Spraying Maps (COMING)
    • Multi-Layer Field Potential Maps (COMING)
    • VR Lime Application Based on Soil Scanner pH Data (COMING)
    • Merging Yield Datasets Belonging to the Same Field (COMING)
  • 📱Product Tour - Mobile App
    • Installation
    • Logging in
    • Viewing satellite images
    • Viewing zones maps
    • Viewing soil data
    • Viewing yield data
    • Viewing topography maps
    • Viewing as applied datasets
    • Working in the field/Scouting zones maps
    • Working offline
    • Filters
    • Options
    • Settings
  • 🤖API Docs
    • GeoPard API Overview
    • Getting Started
    • Authorization: ApiKey, Credentials or OAuth 2.0
    • Diagrams with Basic Flows
      • 1. Field Registration
      • 2. GraphQL Subscription
      • 3. Grep Satellite Imagery
      • 4. Upload Soil | AsApplied | Yield Datasets
      • 5. Execute Equations
      • 6. Generate ZonesMap
      • 7. Download Gridded Data
      • 8. Download Original Data
    • Data Schema
    • Requests Overview
      • 1. Subscription: Get Events
      • 2. Query: Get "Fields"
      • 3. Query: Get "SatelliteImages"
      • 4. Query: Get defined "SatelliteImage"
      • 5. Query: Get "RasterMaps"
      • 6. Query: Get "ZonesMaps"
      • 7. Mutation: Generate "ZonesMap"
      • 8. Mutation: Generate "RasterMap"
      • 9. Mutation: Generate "ZonesMap" asynchronously
      • 10. Mutation: Generate "RasterMap" asynchronously
      • 11. Mutation: Generate Yield based "ZonesMap" asynchronously
      • 12. Mutation: Generate Soil based "ZonesMap" asynchronously
      • 13. Mutation: Create "Farm"
      • 14. Mutation: Create a "Field" or edit the boundary of the existing field (with optional labels)
      • 15. Query: Get "TopographyMap"
      • 16. Query: Get "YieldDatasets"
      • 17. Query: Get "SoilDatasets"
      • 18. Mutation: Generate zip archive with "ZonesMap" and "Field"
      • 19. Mutation: Delete "Field"
      • 20. Mutation: Delete "Farm"
      • 21. Mutation: Delete "ZonesMap"
      • 22. Mutation: Delete "RasterAnalytisMap"
      • 23. Mutation: Delete "SoilDataset"
      • 24. Mutation: Delete "YieldDataset"
      • Notes (Pins)
        • 25. Mutation: Save "Note" attached to "Field"
        • 26. Mutation: Save "Note" attached to "ZonesMap"
        • 27. Mutation: Save "Note" attached to "SoilDataset"
        • 28. Mutation: Save multiple "Notes", Batch operation
        • 29. Mutation: Delete "Note"
        • 30. Mutation: Delete multiple "Notes"
        • 31. Query: Get all "Notes" related to "Field"
        • 32. Query: Get "Notes" related to "ZonesMap" and type
        • 33. Query: Get "Notes" related to "SoilDataset" and type
        • 34. Query: Get a selected "Note" with all "Comments"
        • 35. Mutation: Add "Comment" to the selected "Note"
        • 36. Mutation: Add multiple "Comments" to the selected "Notes"
      • 37. Query: Get "SatelliteImages" in the defined interval
      • 38. Query: Get "UserData"
      • 39. Mutation: Set custom color schemas to selected "GeoMaps"
      • 40. Query: Get "Labels" on the account level
      • 41. Mutation: Save "Labels" on the account level
      • 42. Mutation: Delete "Label" on the account level
      • 43. Query Get "Fields"
      • 44. Mutation: Set Field Labels
      • 45. Mutation: Save User Data
      • 46. Mutation: Generate multi-layer "ZonesMap" asynchronously
      • 47. Query: Get "ZonesMaps"
      • 48. Query: Get Gridded Data from "TopographyMap"
      • 49. Query: Get Gridded Data from "FieldSatelliteImage"
      • 50. Query: Get Gridded Data from "VectorAnalysisMap"
      • 51. Query: Get Gridded Data from "YieldDataset"
      • 52. Query: Get Gridded Data from "SoilDataset"
      • 53. Query: Get Gridded Data from "AsAppliedDataset"
      • 54. Query: Get Vector Data from "SoilDataset"
      • 55. Upload zip files (over 6 MB)
      • 56. Upload photos
      • 57. Query: Get "Photos" attached to the selected "Note"
      • 58. Query: Get "Photos" attached to "Comments"
      • 59. Query: Get "AsAppliedDatasets"
      • 60. Mutation: Generate As-Applied-based "ZonesMap" asynchronously
      • 61. Mutation: Delete "AsAppliedDataset"
      • 62. Mutation: Share Farms
      • 63. Mutation: Save Organization
      • 64. Mutation: Add Users to Organization
      • 65. Mutation: Delete Users from Organization
      • 66. Mutation: Save Field
      • 67. Mutation: Save Farm
      • 68. Mutation: Refresh "VectorAnalysisMap" Statistics
      • 69. Mutation: Delete "Photo"
      • 70. Mutation: Delete multiple "Photos"
      • 71. Mutation: Generate a zip archive with "Notes"
      • 72. Query: Get Gridded Data as GeoJSON or GeoTIFF
      • 73. Query: Get Gridded Data with the Selected Buffer
      • 74. Mutation: Verify "Equation"
      • 75. Mutation: Generate "EquationMap" asynchronously
      • 76. Query: Get "EquationMap"
      • 77. Mutation: Delete "EquationMap"
      • 78. Query: Find "Fields" by "externalKey"
      • 79. Query: Find "Farms" by "externalKey"
      • 80. Query: Get Original Data
      • 81. Query: Get GeoJSON of "EquationMap"
      • 82. Query: Restore Subscription Events
      • 83. Query: Collect Platform Context
      • 84. Mutation: Calibrate and Clean YieldDataset
      • 85. Mutation: Assign Rates to VectorAnalysisMap (ZonesMap)
      • 86. Query: Get "Farms"
      • 87. Mutation: Save Custom VectorAnalysisMap (ZonesMap)
      • 88. Mutation: Export ZonesMap as Zipped Shapefile
      • 89. Mutation: Export ZonesMap as Zipped ISOXML
    • Geo Endpoints
      • WMS - Get Raster Pictures of Spatial Data Layers
        • 1. LAI
        • 2. RGB
        • 3. Field: boundary
        • 4. Field: thumbnail
        • 5. ZonesMap
        • 6. ZonesMap: custom color schema
        • 7. ZonesMap: thumbnail
        • 8. RasterMap
        • 9. RasterMap: custom color schema
        • 10. RasterMap: thumbnail
        • 11. TopographyMap: elevation in absolute numbers
        • 12. YieldDatasetsMap
        • 13. SoilDatasetsMap
        • 14. SoilDatasetsMap: custom color schema
        • 15. AsAppliedDatasetsMap
        • 16. Satellite Image: cropped by Field boundary
        • 17. Satellite Image: cropped by Field boundary and custom color schema
        • 18. YieldDatasetsMap: custom color schema
        • 19. Satellite Image: 10 colors visualization
      • WFS - Get Spatial Data Layers in Vector format (shp, geojson)
        • 1. Get the Field Boundary as Geojson
        • 2. Get the Zones map as Geojson
        • 3. Get Zones Attributes as JSON
        • 4. Get Soil data as Geojson
        • 5. Get Yield data as Geojson
    • Uploading Files
    • API FAQ
  • 🛣️Platform Roadmap
    • Roadmap
  • GIS quick Hints
    • QGIS: Change String to Number values in the shapefile
    • QGIS: Yield Data Manipulations
    • QGIS: Split Boundaries Into Subfields
    • QGIS: Merge Vector Layers
    • QGIS: Merge Selected Features from Vector Files
    • QGIS: Calculate NDVI for the Drone Geotiff File
    • QGIS: Split Multi-field Shapefiles
    • QGIS: Convert CSV to SHP
    • QGIS: Reproject Shapefile
  • Policies
    • Your Data Stays Yours, Securely Managed By GeoPard
    • Terms & Conditions
    • Privacy Policy
Powered by GitBook

Start Working with GeoPard

  • Go to GeoPard Website
  • Demo Request
  • LinkedIn

This Portal Sections

  • Introduction
  • Product Tour - Web App (incl. video)
  • Product Tour - Mobile App (incl. video)
  • Precision Agronomy Use Cases

Powered by GeoPard Agriculture - Automated precisionAg platform

On this page
  • 1. Save ZonesMap geometries
  • 2. Assign custom color schema

Was this helpful?

  1. API Docs
  2. Requests Overview

87. Mutation: Save Custom VectorAnalysisMap (ZonesMap)

Previous86. Query: Get "Farms"Next88. Mutation: Export ZonesMap as Zipped Shapefile

Last updated 10 months ago

Was this helpful?

Below are details on how to save a Custom ZonesMap with a custom color schema.

1. Save ZonesMap geometries

VectorAnalysisMap (ZonesMap) zonesMapGeojson attribute must be in the WGS84 (EPSG:4326) projection and follow the GeoJson .

The expected geojson type is FeatureCollection with MultiPolygon.

Mutation saveVectorAnalysisMap overview:

  • The attribute fieldUuid is a linkage to the existing Field.

  • The attribute name describes the name of the ZonesMap.

  • The attribute type is an enum value representing the operation type. It can be any value from GENERAL , SPRAYING, SEEDING, FERTILIZING or IRRIGATION. It is optional.

  • The key attribute with all details including rates for VRA is zonesMapGeojson as an escaped JSON string.

    • Zone number is mentioned in properties >> zone.

    • Rates are going to be incorporated into properties >> attributes.

The properties attribute is a JSON object that is extended with zone, rates, ratesHeaders, ratesPrices and ratesUnits details. An explanation of how to assign rates is .

 {
    \"zone\":1,
    \"attributes\":{
        \"rates\":[100],
        \"ratesHeaders\":[\"Product1\"],
        \"ratesPrices\":[0],
        \"ratesUnits\":[\"KG_HA\"]
    }
}

Sample mutation without defined rates:

mutation saveVectorAnalysisMap {  
  saveVectorAnalysisMap(
    input: {
      fieldUuid:"abef3a63-a64b-4d84-aab0-43eaa8fbe0cd" 
      name:"Custom Zones" 
      zonesMapGeojson:"{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"properties\":{\"zone\":1,\"attributes\":{}},\"geometry\":{\"type\":\"MultiPolygon\",\"coordinates\":[[[[10.426584494429108,52.872847225483895],[10.426789204309529,52.87282914352929],[10.42676923261385,52.87256092698456],[10.42679456306152,52.87240585041315],[10.427391783218683,52.87195386627311],[10.427338425939524,52.872087776901424],[10.427073800972806,52.87238914697767],[10.426899048635903,52.872624214183844],[10.42701887880915,52.872889416681545],[10.427403333950082,52.87288037571423],[10.427498199505067,52.872940648795804],[10.427403333950082,52.8731003720562],[10.42777780324397,52.873242012946434],[10.428022456514952,52.87323297205208],[10.428167251308338,52.8731244811766],[10.42807737867767,52.87286832108788],[10.42809735037332,52.87259407743369],[10.428501777209902,52.872404215426826],[10.428611621536277,52.87250969442229],[10.42882132434022,52.87257900905101],[10.429100928079123,52.87232585943539],[10.429155850242694,52.87216914702836],[10.429205779481066,52.87184065187668],[10.429263945397143,52.87180554285836],[10.42928833,52.87242022],[10.42922193,52.8725049],[10.42915175626986,52.87255993568499],[10.429021041297204,52.872554899627374],[10.428771395100966,52.872708596972984],[10.42838693996012,52.872847225483895],[10.428257123938948,52.87296777165494],[10.428370342208543,52.873172781233286],[10.42795711,52.87349687],[10.42718139841625,52.87321758481732],[10.427228581614003,52.87319078118864],[10.427208609918353,52.87305516741958],[10.42683913354881,52.873015990029785],[10.426664381211879,52.87293763514347],[10.426584494429108,52.872847225483895]]],[[[10.427804124872603,52.871641800637654],[10.42875584,52.87092153],[10.42897875,52.87105982],[10.42921404,52.87137376],[10.429231472601687,52.87152239994234],[10.428951140362273,52.871638731603355],[10.42879635972102,52.87193709107814],[10.428666543698995,52.872057639778546],[10.428371961188788,52.872057639778546],[10.42821218762407,52.87183161069021],[10.427967534352206,52.871708047624395],[10.427804124872603,52.871641800637654]]]]}},{\"type\":\"Feature\",\"properties\":{\"zone\":2,\"attributes\":{}},\"geometry\":{\"type\":\"MultiPolygon\",\"coordinates\":[[[[10.426899048635903,52.872624214183844],[10.427073800972806,52.87238914697767],[10.427338425939524,52.872087776901424],[10.427391783218683,52.87195386627311],[10.427804124872603,52.871641800637654],[10.427967534352206,52.871708047624395],[10.42821218762407,52.87183161069021],[10.428371961188788,52.872057639778546],[10.428666543698995,52.872057639778546],[10.42879635972102,52.87193709107814],[10.428951140362273,52.871638731603355],[10.429231472601687,52.87152239994234],[10.42926357,52.87179608],[10.429263945397143,52.87180554285836],[10.429205779481066,52.87184065187668],[10.429155850242694,52.87216914702836],[10.429100928079123,52.87232585943539],[10.42882132434022,52.87257900905101],[10.428611621536277,52.87250969442229],[10.428501777209902,52.872404215426826],[10.42809735037332,52.87259407743369],[10.42807737867767,52.87286832108788],[10.428167251308338,52.8731244811766],[10.428022456514952,52.87323297205208],[10.42777780324397,52.873242012946434],[10.427403333950082,52.8731003720562],[10.427498199505067,52.872940648795804],[10.427403333950082,52.87288037571423],[10.42701887880915,52.872889416681545],[10.426899048635903,52.872624214183844]]]]}},{\"type\":\"Feature\",\"properties\":{\"zone\":3,\"attributes\":{}},\"geometry\":{\"type\":\"MultiPolygon\",\"coordinates\":[[[[10.428257123938948,52.87296777165494],[10.42838693996012,52.872847225483895],[10.428771395100966,52.872708596972984],[10.429021041297204,52.872554899627374],[10.42915175626986,52.87255993568499],[10.428370342208543,52.873172781233286],[10.428257123938948,52.87296777165494]]],[[[10.42619246,52.87286153],[10.42679456306152,52.872405850413145],[10.42676923261385,52.87256092698456],[10.426789204309529,52.87282914352929],[10.426584494429108,52.872847225483895],[10.426664381211879,52.87293763514347],[10.42683913354881,52.873015990029785],[10.427208609918353,52.87305516741958],[10.427228581614003,52.87319078118864],[10.42718139841625,52.87321758481732],[10.42619246,52.87286153]]]]}}]}"
    }
  ) {
    uuid
  }
}

2. Assign custom color schema

Mutation setGeoMaps overview:

  • The attribute fieldUuid is a linkage to the existing Field.

  • The attribute vectorAnalysisMapUuid is a linkage to the just saved ZonesMap (VectorAnalysisMap) from the first step.

  • The attribute shortName describes the style to amend. Options for ZonesMap are zones and thumbnail.

  • The attribute hexColorCodes describes the hex color codes to set.

The number of colors in hexColorCodes must represent the exact number of existing zones.

Sample mutation:

mutation setGeoMaps{
  setGeoMaps(
    input: {
      geoMaps:[
        {
          shortName:"zones" 
          fieldUuid:"abef3a63-a64b-4d84-aab0-43eaa8fbe0cd" 
          vectorAnalysisMapUuid:"9799e2eb-06d2-4a42-8f47-38655abf11e1"
          hexColorCodes:[
            "#ffffbf",
            "#66bd63",
            "#f46d43"
          ]
        }, {
          shortName:"thumbnail" 
          fieldUuid:"abef3a63-a64b-4d84-aab0-43eaa8fbe0cd" 
          vectorAnalysisMapUuid:"9799e2eb-06d2-4a42-8f47-38655abf11e1" 
          hexColorCodes:[
            "#ffffbf",
            "#66bd63",
            "#f46d43"
          ]
        }
      ]
    }
  ) {
    shortName
  }
}

Default representation without assigned color schema looks like. The user ZonesMap >> geoMaps >> url is similar to .

An explanation of how to save custom colors is and how to apply custom colors on the fly is .

As a result, the visual representation from the ZonesMap >> geoMaps >> url similar to looks like.

🤖
specification
HERE
https://api.geopard.tech/geo/map/reflect?TRANSPARENT=true&VIEWPARAMS=uuid:4a3929a5-c166-41d7-b547-da1511a9fa1d&LAYERS=custom_zone_map_view&SRS=EPSG:3857&STYLES=default_zonesmap&HEIGHT=64&BBOX=1160638.4354309493,6959157.496681602,1160983.0667152018,6959632.459385279&geopardApiKey=<your_geopard_api_key>
HERE
HERE
https://api.geopard.tech/geo/map/reflect?TRANSPARENT=true&VIEWPARAMS=uuid:9799e2eb-06d2-4a42-8f47-38655abf11e1&LAYERS=custom_zone_map_view&SRS=EPSG:3857&STYLES=default_zonesmap&HEIGHT=64&BBOX=1160638.4354309493,6959157.496681602,1160983.0667152018,6959632.459385279&env=c1:#ffffbf;c2:#66bd63;c3:#f46d43&geopardApiKey=<your_geopard_api_key>