OA Open Arbor v2.2.0
Reference / 00_MASTER_BLUEPRINT.md Open Arbor v2.2.0 (from package.json)

Arboracle: A Strategic and Technical Blueprint for a Scalable, Intelligent, and Ethical Ecological Platform

Section 1: The Unified Architectural Blueprint for a Scalable Ecosystem

This report presents a comprehensive strategic and technical blueprint for the development of the Arboracle platform. It provides an exhaustive, deeply researched plan designed to transform the initial prototype and fragmented codebases into a scalable, future-proof foundation for the Minimum Lovable Product (MLP) and the long-term Soil Grower vision. The core of this strategy is the deliberate and intelligent synthesis of existing assets into a new, unified, and architecturally superior system.

1.1 From Fragmentation to Synthesis: Re-establishing the Vision

The current state of the Arboracle project, characterized by "fragmented code" and a "loss of continuity," is a common and understandable outcome of rapid, vision-driven prototyping [User Query]. The path forward requires a strategic shift from aggregation to synthesis. The task is not to simply "stitch together" disparate codebases but to selectively harvest the most potent concepts, robust data models, and proven technologies from each source asset—the initial Arboracle prototype, the open-source Terraware platform, and the iNaturalist ecosystem—to construct a new, cohesive, and far more powerful whole.1

The initial Arboracle prototype successfully validated the core concept of AI-driven ecological interaction. The terraware-web project provides an invaluable asset: a battle-tested, open-source data model for the complex logistics of nursery and seed bank management, built upon a PostgreSQL database that signifies a commitment to data integrity.1 Concurrently, the iNaturalist platform represents a global powerhouse of community-driven biodiversity data, offering a massive dataset and a de facto taxonomic backbone.1

The central architectural conflict that has led to the current fragmentation is the incompatibility between the prototype's Firebase-centric, NoSQL (Firestore) architecture and the robust, relational PostgreSQL foundations of both Terraware and iNaturalist.1 This fundamental divergence necessitates a new, unified data strategy and a more flexible backend architecture. This architecture is not merely a technical preference but the specific antidote to the development challenges experienced to date. By allowing each part of the problem—relational inventory, graph-based ecological networks, and real-time features—to use the correct tool for the job within a decoupled system, this blueprint restores continuity and provides a clear path forward.

1.2 The Microservices Imperative: A Decoupled, API-First Model

To achieve the synthesis of practicality, community, and wisdom, the Arboracle platform will be constructed as a collection of independent, specialized, and loosely coupled services that communicate through a central API Gateway. This microservices architecture is the industry-standard approach for building complex, scalable, and maintainable applications and offers decisive advantages over a monolithic approach.1

  • Independent Scalability: Each microservice can be scaled independently based on its specific workload. For example, if the platform experiences a surge in image uploads, the media-service can be allocated more resources without impacting the performance of the user-service. This granular control is essential for both performance and cost-efficiency.1
  • Technological Flexibility: While the initial implementation will utilize a unified Node.js/TypeScript stack for development velocity, the microservices pattern allows for future technological heterogeneity. If a specific task, such as complex ecological modeling, is better suited to a different language like Python, a new service can be written in Python and integrated seamlessly into the ecosystem.1
  • Resilience and Fault Isolation: In a distributed system, the failure of one non-critical service does not need to cause a catastrophic failure of the entire application. For instance, if the inaturalist-integration-service temporarily fails due to an external API issue, the core functionality of managing a user's own tree inventory can remain fully operational.1

The initial set of core microservices, forming the backbone of the Minimum Lovable Product (MLP), will include:

  • API Gateway: The single, unified entry point for all client requests, responsible for routing, authentication, rate limiting, and security.
  • User Service: Manages user profiles, preferences (like chosen AI personality), and "Soil Grower" gamification status.
  • Tree & Inventory Service: The functional heart of the platform, managing all CRUD (Create, Read, Update, Delete) operations for physical trees, seeds, and inventory, heavily based on the Terraware schema.
  • iNaturalist Integration Service: An anti-corruption layer that manages all communication with the external iNaturalist API, isolating this dependency.
  • EKG & AI Service: The "Oracle" of the platform, hosting the Ecological Knowledge Graph and the "Ask Bodhi" conversational AI.
  • Media Service: Handles all aspects of media management, including upload, processing, and storage in a scalable object store.

1.3 The Hybrid Data Layer: PostgreSQL, Neo4j, and Firebase

The fundamental conflict between the prototype's NoSQL database and the relational databases of Terraware and iNaturalist is resolved not by choosing one over the other, but by employing a hybrid strategy that leverages each platform for its unique strengths.1 This same hybrid philosophy—using the right tool for the right job in a decoupled system—will be applied to solve the platform's other complex challenges, such as geospatial data management.

  • PostgreSQL as the System of Record: A robust, open-source PostgreSQL database will serve as the single source of truth for all core, structured Arboracle data. This includes user profiles, tree and seed records, inventory data, and locally created observations. PostgreSQL's relational nature, support for complex queries, and transactional integrity (ACID compliance) are non-negotiable for maintaining the scientific and operational rigor of the platform's data.1
  • Neo4j as the Engine of Insight: A Neo4j graph database will power the Ecological Knowledge Graph (EKG), providing the tangible implementation of the STIM research model's vision of "Interconnectedness Linking" and a "Mycelial Network Architecture".1 It is purpose-built for the kind of complex, relationship-heavy queries that are central to ecological analysis and will be the brain of the "Ask Bodhi" AI.
  • Firebase as the Application Accelerator: While not a primary database, specific Firebase services will be integrated to handle tasks for which they are exceptionally well-suited 1:
    • Firebase Authentication: This service will manage the entire user lifecycle, including sign-up, login, and session management. It is a highly secure, scalable, and battle-tested solution that saves significant development time.1
    • Future Real-time Features: Services like Firestore or the Realtime Database can be strategically employed for features that require low-latency, real-time updates, such as user-to-user messaging or live notifications, without compromising the integrity of the core relational data.1

The integration between these systems will be clean and secure. Firebase Authentication will issue JSON Web Tokens (JWTs) to authenticated clients. The client will include this JWT in every request to the Arboracle API Gateway, which will validate the token before forwarding the request to the appropriate downstream microservice. This pattern effectively decouples the application logic from the authentication provider, ensuring a secure and modular system.1

Service NameDescription/ResponsibilitiesPrimary TechnologyData Store(s)
API GatewaySingle entry point for all clients. Handles request routing, authentication (JWT validation), and rate limiting.Node.js (Express Gateway)None
User ServiceManages user profiles, preferences, and "Soil Grower" status. Syncs with Firebase Auth.Node.js (Express)PostgreSQL
Tree & Inventory ServiceManages CRUD operations for trees, seeds, and inventory. Based on Terraware data models.Node.js (Express)PostgreSQL
iNaturalist Integration ServiceManages all communication with the external iNaturalist API (v1/v2). Propagates observations.Node.js (Express)None (stateless proxy)
EKG & AI ServiceHosts the Ecological Knowledge Graph (EKG) and the "Ask Bodhi" conversational AI.Node.js (Express)Neo4j (Graph Database)
Media ServiceHandles upload, storage, processing, and retrieval of all user-generated media (images, audio).Node.js (Express)Object Storage (S3, GCS)

Table 1: Proposed Microservices Architecture. This table provides a clear, at-a-glance summary of the entire backend architecture, clarifying the responsibility, technology, and data store for each component.1

Section 2: Architecting the Oracle: Building the Ecological Knowledge Graph (EKG) from Unstructured Knowledge

The true differentiator for Arboracle is its intelligence. This section provides a detailed, practical guide for translating the sophisticated theoretical concepts of the STIM research model and the user's corpus of arboriculture texts into a powerful and ethically sound AI core: the Ecological Knowledge Graph (EKG).

2.1 From Theory to Practice: Implementing the STIM Model with Neo4j

The STIM research model provides the perfect theoretical justification for the use of a graph database. Its core concepts of "Interconnectedness Linking," a knowledge base structured as a "Mycelial Network," and the desire to model a complex web of relationships are precisely the problems that graph databases are designed to solve.1 The EKG is the tangible, engineered implementation of this vision.

To build the EKG, Neo4j is the recommended technology choice. It is a market-leading, highly performant, and scalable native graph database.4 Its native graph processing means that queries traversing relationships—such as "Find all fungi that have a symbiotic relationship with oak trees"—are orders of magnitude faster and more intuitive to write than the equivalent complex JOINs in a relational database.5 Neo4j's scalability is proven in the exact domain of this project, as demonstrated by its use in the Basecamp Research knowledge graph, which contains over 5 billion biological relationships.6 Furthermore, its rich ecosystem, including the Cypher query language and the powerful Graph Data Science (GDS) library, makes it an ideal platform for both current needs and future ecological modeling.7

2.2 The Knowledge Extraction Pipeline: LLMs as ETL for Text

The goal of converting a large collection of industry texts and markdown files into a structured graph is a classic unstructured-to-structured data transformation challenge [User Query]. The modern, highly effective solution is to build a knowledge extraction pipeline powered by Large Language Models (LLMs). This process is, in effect, a Retrieval-Augmented Generation (RAG) pipeline in reverse. Instead of retrieving text to help an LLM answer a question, this pipeline uses an LLM to extract structured knowledge from text that will later be used for retrieval.8 The mature ecosystem of RAG tools like LangChain and LlamaIndex can be leveraged for this EKG construction process.

The pipeline involves the following steps:

  1. Data Ingestion & Chunking: The process begins by ingesting the source markdown files. Because LLMs have a finite context window, large documents must be broken down into smaller, manageable chunks.10 To maintain context across boundaries, these chunks should have some overlap. For provenance, each source document and each text chunk will be represented as a distinct node in the graph (e.g.,
    (:SourceDocument) and (:Chunk)), allowing every piece of extracted knowledge to be traced back to its origin.11
  2. Entity & Relationship Extraction: A powerful LLM with function-calling capabilities (e.g., GPT-4, goose) is used to parse each text chunk. The prompt will instruct the model to identify and extract relevant entities (e.g., Tree, Species, Pest, Disease, SoilType) and the relationships between them (e.g., HAS_SYMBIONT, IS_SUSCEPTIBLE_TO, PREFERS_SOIL_TYPE).10 This extraction should be formatted as structured JSON or as (Subject, Predicate, Object) triplets. LangChain's
    LLMGraphTransformer is a purpose-built tool for this task, simplifying the process of converting text into graph documents.13
  3. Schema Definition: While LLMs can infer a schema on the fly, providing a predefined schema of desired node labels and relationship types will produce a much cleaner, more consistent, and more useful graph.11 This schema acts as a filter and a guide for the LLM, ensuring it extracts only the information relevant to the Arboracle domain.10
  4. Entity Disambiguation and Resolution: This is a critical and often overlooked step. An LLM processing different chunks will inevitably extract variations of the same entity, such as "Oak Tree," "Quercus robur," and "the oak." A secondary LLM-powered process is required to analyze the extracted entities, identify duplicates, and merge them into a single canonical node, consolidating their properties and relationships.10
  5. Data Ingestion into Neo4j: The final, structured, and cleaned data is converted into Cypher MERGE statements. MERGE is used instead of CREATE to intelligently create new nodes and relationships while avoiding duplicates if the import process is run multiple times.10

2.3 EKG Schema Design: Modeling the Web of Life

The EKG will be designed using the Labeled Property Graph (LPG) model native to Neo4j, which consists of nodes (entities), relationships (connections), and properties (attributes).15

  • Core Node Labels:
    • Tree: An individual, physical tree tracked by a user.
    • Taxon: A formal taxonomic entity (e.g., species, genus), with its taxonId and names sourced authoritatively from the iNaturalist API.
    • Observation: A record of a species occurrence, either from iNaturalist or created within Arboracle.
    • EcosystemComponent: A flexible node for other interacting entities (e.g., Fungus, Insect, Bird, AbioticFactor).
    • Trait: A specific functional characteristic (e.g., DroughtTolerant, NitrogenFixing).
    • KnowledgeSource: A critical node for data provenance and ethical governance, representing the origin of information (e.g., ScientificPaper, UserSubmission, IEKHolder).
  • Core Relationship Types:
    • IS_A: Connects an instance to its classification (e.g., (:Tree)-->(:Taxon)).
    • INTERACTS_WITH: The core ecological link, with a type property to specify the interaction (e.g., SYMBIOTIC, PREDATOR).
    • HAS_OBSERVATION: Connects a Tree or Taxon to Observation nodes.
    • HAS_TRAIT: Links a Taxon to its Trait nodes.
    • SOURCED_FROM: The crucial link for ethical governance, connecting any piece of knowledge to its KnowledgeSource.

To ensure scientific validity and interoperability, the EKG will be grounded in established biodiversity data standards. Properties on Taxon and Observation nodes will be explicitly mapped to Darwin Core (DwC) terms (e.g., dwc:scientificName, dwc:eventDate).1 Furthermore, terms from ecology ontologies like the Environment Ontology (ENVO) will be used to describe habitats and environments, adding a rich, machine-readable semantic layer to the graph.1

Component TypeLabel/TypeKey Properties / DescriptionExample
NodeTreeuuid: Unique ID within Arboracle speciesName: string geospatialLocation: GeoJSONA specific oak tree planted by a user in their backyard.
NodeTaxontaxonId: iNaturalist ID dwc:scientificName: string dwc:kingdom, dwc:phylum, etc.The species Quercus robur (English Oak).
NodeObservationobservationId: iNaturalist or Arboracle ID dwc:eventDate: datetime dwc:decimalLatitude: floatA user's photo of a specific beetle on their oak tree.
NodeEcosystemComponentname: string type: e.g., 'Fungus', 'Insect', 'Bird'A node representing the Mycorrhiza fungus group.
NodeKnowledgeSourcename: string (e.g., 'iNaturalist', 'Community X') type: 'API', 'IEKHolder', 'Publication' accessProtocol: TK Label URLA node representing the traditional knowledge of a specific Indigenous community.
RelationshipIS_AConnects an instance (Tree) to its classification (Taxon).(Tree {uuid: 'abc'})-->(Taxon {taxonId: 123})
RelationshipINTERACTS_WITHtype: 'SYMBIOTIC', 'PREDATOR', etc. description: text(Taxon {name: 'Oak'})-->(EcosystemComponent {name: 'Mycorrhiza'})
RelationshipSOURCED_FROMcitation: string accessDate: datetime(INTERACTS_WITH relationship)-->(KnowledgeSource {name: 'Community X'})

Table 2: EKG Core Schema. This table provides a concrete, visual representation of the Labeled Property Graph model, essential for developers to understand the fundamental building blocks of the EKG.1

Section 3: Engineering Conversational Intelligence: A Masterclass in Context Engineering for "Ask Bodhi"

The "Ask Bodhi" conversational AI is more than a feature; it is the embodiment of the "Oracle" in Arboracle. Building it effectively requires moving beyond simple prompt engineering to the more sophisticated and systemic practice of Context Engineering. This discipline is the art and science of curating an LLM's entire working memory—the context window—with precisely the right information, in the right format, at the right time, to accomplish a given task.18 It is a dynamic system, not a static prompt, and it is the unifying practice that brings together all the components of a truly intelligent agent.2

3.1 The Components of Context for "Ask Bodhi"

To engineer the context for the Bodhi agent effectively, we must manage several distinct types of information that will be assembled into the final prompt for each turn of the conversation 19:

  • Instructions: The foundational system prompt that defines the agent's persona ("You are Bodhi, a wise and helpful ecological guide..."), its capabilities, its constraints, and its desired output format. This also includes few-shot examples of ideal question-answer pairs to guide its tone and structure.
  • User Input: The user's current query or message.
  • Knowledge/Data: This is the core of the Retrieval-Augmented Generation (RAG) pattern. It consists of the structured data retrieved from the Ecological Knowledge Graph (EKG) and, potentially, unstructured text from the original source documents.
  • Conversational Memory: The history of the current interaction, which provides short-term context and allows for follow-up questions.
  • Long-Term Memory: Key facts about the user that persist across sessions (e.g., their location, the trees they manage, their stated goals).
  • Tools: Descriptions of any external tools the agent can use, such as a function to get real-time weather data or search iNaturalist directly.

3.2 Architecting the "Ask Bodhi" Agentic Workflow

A complex user query like, "What native pollinators support the oak trees in my area, and are there any I should avoid because of local pests?" cannot be answered with a single LLM call. It requires a multi-step agentic workflow. Adopting a workflow approach is a crucial context engineering technique because it breaks a complex task into focused steps, each with its own smaller, optimized context, preventing context overload and improving reliability.18

The proposed workflow for the "Ask Bodhi" agent is as follows:

  1. Intent Parsing and Entity Extraction: The user's raw query is first sent to an LLM. Its job is not to answer the question but to parse it, identify the user's core intent (e.g., find pollinators, check for pest interactions), and extract key entities (e.g., species: 'oak', location: 'user's area', interaction: 'pollinator', interaction: 'pest').
  2. Graph Retrieval (GraphRAG): The parsed intent is then translated into one or more Cypher queries to be executed against the Neo4j EKG. This is the "retrieval" step. This is vastly superior to simple vector search for questions about specific relationships, as it retrieves precise, structured facts rather than just semantically similar text chunks, thus avoiding "context distraction" from irrelevant information.7 For the example query, this might involve one query to find pollinators for oaks and another to find pests associated with those pollinators in the user's region.
  3. Context Assembly and Augmentation: The results from the graph retrieval (a structured list of pollinators and potential pests) are combined with the original user query, the persona instructions from the system prompt, and the relevant conversational memory. This becomes the final, augmented context.
  4. Response Synthesis: This fully assembled context is sent to the LLM in a final call. The LLM's task is now much simpler and more grounded: synthesize the provided structured data into a fluid, helpful, and context-aware response that embodies the "Bodhi" personality.9

For some queries, a hybrid RAG approach will be optimal, combining the precision of graph retrieval with the broad "aboutness" of vector search over the original text chunks (which can be indexed directly in Neo4j) and the specificity of keyword search.11

3.3 A Sophisticated Memory System for a Coherent Conversation

A stateless agent is not a guide; it's a search engine. To create a truly conversational experience, Bodhi must remember the flow of the interaction.25 This requires a deliberate memory management strategy.

  • Short-Term Conversational Memory: The goal is to balance perfect recall with the constraints of cost and token limits.
    • ConversationBufferMemory, which stores the entire chat history, is too simple and will quickly become too expensive and exceed token limits.25
    • ConversationBufferWindowMemory, which keeps only the last 'k' interactions, is better but risks losing crucial context from earlier in the conversation.26
    • Recommended Approach: ConversationSummaryBufferMemory offers the best trade-off for Arboracle.25 This strategy maintains the most recent interactions in their raw, detailed form while periodically using an LLM to summarize the older parts of the conversation. This provides both long-term context (e.g., "The user is planning a garden for drought tolerance") and perfect short-term recall for follow-up questions, all while managing token count effectively.
  • Long-Term Persistent Memory: To remember key facts about a user across different sessions, the agent needs a "scratchpad" or a mechanism to persist information.19 This will be implemented by giving the agent a tool that allows it to write key information to the user's profile in the primary PostgreSQL database. For example, after a conversation, the agent could be prompted to summarize key takeaways, which are then saved:
    (user_id: 123, key: 'primary_goal', value: 'establish native pollinator garden'). This persistent memory can then be injected into the context at the start of every new conversation, allowing Bodhi to provide truly personalized and continuous guidance.27

Section 4: Mastering Geospatial Data: A Definitive Technology Stack for Vector, Raster, and Satellite Imagery Analytics

A core requirement for Arboracle is the ability to grow into a platform that handles detailed geodata, including mapping and analytics from satellite imagery [User Query]. This necessitates a robust and scalable geospatial technology stack. The user's preference for open-source solutions must be balanced with the demanding performance requirements of large-scale raster analysis. The optimal solution, mirroring the platform's overall architecture, is a hybrid approach that uses the right tool for each specific geospatial task.

4.1 The Foundational Layer: PostGIS for Operational Vector Data

For managing the application's core, user-generated vector data—such as the precise locations of individual trees, property boundaries, and user-defined project areas—PostGIS is the unequivocal choice. As a spatial extender for PostgreSQL, it integrates seamlessly into the proposed primary database, providing a single, reliable system of record for transactional data.1

  • Strengths of PostGIS:
    • Industry Standard: It is the battle-tested, open-source standard for storing and querying spatial objects in a relational database.4
    • Rich Functionality: It provides over a thousand spatial functions, enabling complex queries for spatial relationships (ST_Intersects), proximity (ST_DWithin), and transformations directly within the database.29
    • Performance and Indexing: With proper spatial indexing (using GiST), PostGIS offers excellent performance for transactional workloads and analytical queries on millions of vector features on single-server hardware.4
    • Ecosystem Integration: It has unparalleled support across the GIS ecosystem, with native connectors for desktop software like QGIS, web mapping servers like GeoServer, and virtually all programming languages, including the Node.js/TypeScript stack proposed for the backend services.4
    • Cost: As a free and open-source extension to PostgreSQL, the only costs are related to server hosting and maintenance.4
  • Limitations: PostGIS is fundamentally a single-server architecture. While it can be scaled through replication, this adds complexity.4 Its primary weakness in the context of the Arboracle vision is that it is not designed for the efficient storage and large-scale parallel analysis of massive raster datasets like raw satellite imagery. Storing terabytes of raster data directly in PostgreSQL can lead to poor performance and is an anti-pattern in modern geospatial architectures.32

4.2 The Scalable Analytics Layer: A Cloud-Native Pipeline for Raster and Satellite Imagery

To handle the analysis of large-scale satellite imagery, Arboracle must adopt a modern, cloud-native geospatial pipeline. This paradigm shift involves decoupling data storage from computational processing, leveraging cheap, highly scalable object storage and on-demand, parallel computing resources.34 This is the definitive solution for "big" geospatial data and directly addresses the user's need for a system that can grow.

The recommended cloud-native architecture is as follows:

  1. Storage in the Cloud: Raw satellite imagery and other large raster datasets will not be loaded into PostGIS. Instead, they will be stored in a cloud object store (e.g., AWS S3, Google Cloud Storage) in the Cloud Optimized GeoTIFF (COG) format.34 COGs are standard TIFF files internally organized with tiling and overviews, which allows applications to request and stream only the specific portion (a geographic bounding box and resolution level) of the file they need via HTTP range requests, without downloading the entire multi-gigabyte file.35
  2. Processing with Python: The Media Service will be expanded to orchestrate raster analysis workflows. It will use a powerful stack of open-source Python libraries to perform these tasks. Python is the language of choice for data science and has a mature geospatial ecosystem.
    • GDAL and Rasterio: These are the foundational libraries for raster data I/O and manipulation. GDAL is a powerful C++ library with Python bindings, known for its high performance.37 Rasterio provides a more "Pythonic" and developer-friendly API on top of GDAL, making it ideal for writing the application logic within the
      Media Service.38 While direct GDAL calls can be faster for some command-line operations, Rasterio's ease of use is better suited for a service-based architecture.37
    • Deep Learning Libraries: For advanced analytics like land cover classification, tree canopy detection, or change detection, the service will integrate specialized libraries such as TorchGeo or frameworks from the satellite-image-deep-learning ecosystem, which are designed to apply PyTorch models to geospatial imagery.40
  3. Serving Derived Data: The key to this architecture is that the results of the analysis—not the raw imagery—are stored back in the database. For example, after running a vegetation analysis model on a satellite image, the service would extract a single NDVI value for a user's property or a GeoJSON object representing the detected tree canopy. This small, structured, derived data is then saved to the PostGIS database and linked to the relevant user or tree record.

4.3 Frontend Visualization

The hybrid data backend supports a flexible and powerful frontend visualization strategy:

  • Vector Data: For displaying user tree locations and project boundaries, the backend can serve vector tiles directly from PostGIS using an open-source tile server like pg_tileserv. These tiles can be rendered efficiently in the browser using libraries like Mapbox GL JS or its open-source fork, MapLibre GL JS.
  • Raster and 3D Visualization: For more advanced use cases, such as draping high-resolution imagery over terrain or creating a full 3D globe view, CesiumJS is the leading open-source JavaScript library. It is built on open standards like 3D Tiles and is designed for high-performance, web-based visualization of massive geospatial datasets.15 For powerful 2D exploratory data analysis,
    Kepler.gl is another excellent open-source option that can render millions of points with ease.42
Use CaseRecommended TechnologyRationaleCost Model
Transactional Vector DataPostGIS (PostgreSQL Extension)ACID compliant, rich spatial SQL functions, strong ecosystem integration, ideal for operational data.Server Hosting (e.g., AWS RDS, self-hosted)
Large-Scale Raster/Satellite Image StorageCloud Optimized GeoTIFFs (COGs) on Object Storage (e.g., S3, GCS)Highly scalable, low-cost storage, efficient data access via HTTP range requests.Per-GB Storage Costs
Raster/Satellite Image AnalyticsPython (Media Service) with Rasterio, TorchGeo, etc.Leverages mature open-source data science ecosystem for flexible, on-demand analysis.On-demand Compute Costs (e.g., Lambda, Cloud Run)
Frontend Web Mapping (2D)MapLibre GL JS with Vector Tiles from PostGISHigh-performance, interactive rendering of core vector data.Free (Open Source Library)
Frontend Web Mapping (3D/Global)CesiumJSWorld-class 3D globe visualization, built for massive datasets and open standards.Free (Open Source Library)

Table 3: Geospatial Technology Stack Recommendation. This table provides a clear decision matrix, codifying the hybrid approach that leverages the best tool for each geospatial requirement.

Section 5: Ethical by Design: A Practical Guide to Implementing Indigenous Data Sovereignty in the EKG

The commitment to ethically managing Indigenous Ecological Knowledge (IEK) is not an add-on feature but a foundational principle that must be woven into the very fabric of the Arboracle architecture.1 This requires moving beyond policy statements to create a system that is "ethical by design," where the governance protocols of Indigenous communities are respected and enforced programmatically.

5.1 The Guiding Principles: OCAP® and Data Sovereignty

The entire framework for managing IEK will be built upon the First Nations principles of OCAP®: Ownership, Control, Access, and Possession.43 These principles assert that First Nations have inherent sovereignty over data about their communities, knowledge, and resources. They own this information collectively and have the right to control all aspects of its collection, use, and management.44 Arboracle's role is not to be a gatekeeper but a steward, providing the technical tools to enable and enforce this sovereignty within its digital ecosystem.45

5.2 The Technical Implementation: Local Contexts TK Labels

To translate the high-level principles of OCAP® into a concrete, machine-readable system, Arboracle will implement the Local Contexts Traditional Knowledge (TK) and Biocultural (BC) Labels.46 The Local Contexts system is a global initiative that provides a set of digital tags (icons and associated text) that Indigenous communities can customize and apply to their cultural heritage.47 These labels communicate specific, community-defined protocols and permissions for how data should be accessed, used, and circulated.48

The process works as follows: An Indigenous community, using the Local Contexts Hub, can customize the text for standard labels like "TK Non-Commercial" or "TK Attribution" to reflect their specific language and protocols.49 They can then grant Arboracle (as an institution) permission to apply these specific, customized labels to the relevant knowledge within the platform. This makes the protocols visible to users and, critically, readable by the application itself.50

5.3 A Machine-Readable Governance Model in Neo4j

The key to making this system "ethical by design" is to model the TK Labels directly within the Ecological Knowledge Graph. This transforms them from simple visual indicators into enforceable architectural constraints. The KnowledgeSource node, introduced in the EKG schema, is the primary mechanism for this implementation.

The data model will work as follows:

  1. Any piece of knowledge identified as IEK—whether it's a node representing a traditional plant use or an INTERACTS_WITH relationship describing a symbiotic pairing—will be immutably linked to its source via a SOURCED_FROM relationship: (knowledge)-->(ks:KnowledgeSource).
  2. The KnowledgeSource node will be given the label IEKHolder and will contain properties that directly correspond to the applied TK Labels. This node acts as a machine-readable permissions object.

For example, a KnowledgeSource node for the Sq'éwlets community, based on their public use of TK Labels, might look like this in the graph 51:

JSON

{
"name": "Sq'éwlets First Nation",
"type": "IEKHolder",
"contact": "...",
"hubProjectURL": "https://localcontextshub.org/projects/...",
"tk_label_attribution": true,
"tk_label_attribution_text": "Skwíx qas te téméxw. This website represents the true knowledge and history of Sq'éwlets people...",
"tk_label_attribution_icon": "url/to/tk_a_icon.svg",
"tk_label_non_commercial": true,
"tk_label_non_commercial_text": "Eweta xwóxweyem. This knowledge is not to be used for commercial purposes.",
"tk_label_non_commercial_icon": "url/to/tk_nc_icon.svg"
}

This data model allows the EKG & AI Service to programmatically enforce governance:

  • API-Level Enforcement: Before returning any data, the service can run a Cypher query to check the associated KnowledgeSource node. If a query requests data for a commercial purpose, the service can check the ks.tk_label_non_commercial property and block the request if it is true. This is an architectural constraint, not just an application-level permission that a future developer might forget to check.1
  • UI-Level Education: The frontend application can query for these properties and dynamically display the correct TK Label icons and customized text alongside the information. This fulfills the educational purpose of the labels, informing the end-user of the cultural protocols that govern the knowledge they are viewing.48
Principle/LabelNeo4j ImplementationArchitectural Enforcement Rule
OCAP: OwnershipKnowledgeSource node with ownerCommunity property (e.g., "Sq'éwlets First Nation").API queries must check ownerCommunity against user's affiliation or explicit permissions before returning data.
OCAP: ControlKnowledgeSource node with properties defining access protocols (e.g., tk_label_community_use_only: true).The EKG & AI Service rejects queries from users outside the defined community if this flag is true.
OCAP: AccessKnowledgeSource node with contactInfo and hubProjectURL properties.The UI displays a "Request Access" button that links to the community's contact or Local Contexts Hub project page.
TK Label: Non-CommercialKnowledgeSource node with boolean property tk_label_non_commercial: true.The service blocks data from being used in any feature or API endpoint designated as "commercial."
TK Label: AttributionKnowledgeSource node with text property tk_label_attribution_text.The UI is required to display this attribution text whenever the associated data is shown.
TK Label: Culturally SensitiveKnowledgeSource node with boolean property tk_label_culturally_sensitive: true.The UI displays a warning or requires a user acknowledgment click-through before revealing the information.

Table 4: IEK Governance Model in Neo4j. This table translates abstract ethical principles into a specific, developer-actionable database schema and set of enforcement rules.

Section 6: From Blueprint to Reality: The Genesis Sprint

This section provides the "full blown plan" for execution, designed to resolve the current state of inertia and provide both immediate momentum and long-term clarity [User Query]. It begins with a ruthlessly prioritized sprint to forge the architectural foundation.

6.1 The "10-Hour Genesis Sprint": Forging the Architectural Skeleton

The directive to advance the project "10x or even 100x" within a 10-hour timeframe is a powerful call for extreme efficiency [User Query]. This ambition is reframed as a "10-Hour Genesis Sprint" with a singular focus: to forge the unshakeable architectural skeleton of the Arboracle platform.1 This sprint is explicitly not about building a UI or features; it is about creating a fully functional, containerized, multi-service backend architecture that is ready for development.

  • Primary Objective: To initialize, configure, containerize, and deploy the foundational backend architecture, including a central API gateway, live and connected PostgreSQL and Neo4j database instances, and the initial scaffolding for all core microservices.1
  • Definition of Done: The sprint is complete when a developer can clone the repository, run a single docker-compose up --build command, obtain a valid JWT from Firebase Authentication, and successfully make an authenticated API call to a protected endpoint on the api-gateway which is proxied to the user-service that queries the PostgreSQL database and returns the correct user data.1

The following hour-by-hour breakdown provides a prescriptive action plan:

  • Hours 0-1: Project Initialization & Monorepo Setup: Create the GitHub repository (arboracle-platform). Initialize a pnpm workspaces monorepo to manage the multiple service packages. Create a root services directory and establish top-level configuration files (.gitignore, prettierrc).1
  • Hours 1-3: Containerization & Database Setup (Docker): Create a master docker-compose.yml file at the project root. Define services for postgres and neo4j using the official images. Configure named Docker volumes (pgdata, neodata) to ensure data persistence. Write an initial database migration script (using node-pg-migrate) to create the users table in PostgreSQL.1
  • Hours 3-5: API Gateway Implementation: Create the api-gateway service as a Node.js/Express project. Implement the critical JWT validation middleware using jsonwebtoken and jwks-rsa to cryptographically verify tokens against Firebase's public keys. Set up basic routing rules to proxy requests for /api/v1/users to the user-service.1
  • Hours 5-7: User Service Scaffolding: Create the user-service as a Node.js/Express project. Implement a database connection module to PostgreSQL. Create a single, protected API endpoint (GET /me) that reads the uid from the validated JWT payload, queries the users table, and returns the user's profile.1
  • Hours 7-9: Scaffolding Core Services & EKG Connection: Create placeholder directories and basic Node.js/Express project initializations for tree-inventory-service, inaturalist-service, and ekg-service. Within the ekg-service, create a Neo4j connection module using the official driver and implement a simple GET /health endpoint that runs a basic Cypher query (RETURN 1) to verify the connection to the Neo4j container.1
  • Hour 9-10: Documentation and Finalization: Populate the master README.md file with precise setup and execution instructions. Create .env.example files for each service, documenting all required environment variables. Perform a final end-to-end test run of docker-compose up to confirm the Definition of Done.1

6.2 The Master README.md

The README.md file is the central, authoritative source of documentation for any developer, human or AI, working on the Arboracle platform. It is a living document that will evolve with the project.


Arboracle

Fusing practical arboriculture with community science and ecological AI.

Arboracle is a next-generation platform designed to empower individuals and communities to cultivate thriving ecosystems. It integrates robust tree and seed inventory management with a powerful, community-driven biodiversity database and a sophisticated ecological AI, creating a comprehensive tool for environmental stewardship.

Architectural Overview

The Arboracle platform is built on a modern, decoupled microservices architecture. This design ensures scalability, resilience, and maintainability. All client applications interact with the backend through a single API Gateway, which is responsible for authentication, routing, and security.

The backend consists of several independent services, each with a distinct responsibility:

  • User Service: Manages user profiles and platform-specific data.
  • Tree & Inventory Service: Handles all data related to physical trees and seed inventories.
  • iNaturalist Integration Service: Acts as a dedicated proxy for all communication with the external iNaturalist API.
  • EKG & AI Service: Hosts the Ecological Knowledge Graph (Neo4j) and powers the "Ask Bodhi" conversational AI.
  • Media Service: Manages the upload and storage of all user-generated media.

Data is persisted in a hybrid model: a central PostgreSQL database serves as the system of record for core relational data, while a Neo4j graph database powers the EKG. User authentication is handled by Firebase Authentication. The entire system is containerized with Docker for consistent development and deployment environments.

Prerequisites

Before you begin, ensure you have the following software installed on your local machine:

You will also need a Firebase project set up for handling user authentication.

Getting Started: Local Development Setup

Follow these steps to get the entire Arboracle platform running on your local machine.

1. Clone the Repository

Bash

git clone https://github.com/soilgrowerx/arboracle-platform.git
cd arboracle-platform

2. Install Dependencies
Use pnpm to install all dependencies for all services in the monorepo.

Bash

pnpm install

3. Configure Environment Variables
Each service in the services/ directory requires its own .env file for configuration. Template files (.env.example) are provided in each service directory. For each service (e.g., api-gateway, user-service, etc.):

Bash

cp services/<service-name>/.env.example services/<service-name>/.env

Now, open each new .env file and fill in the required values (e.g., database passwords, Firebase project ID, etc.). The default values in the docker-compose.yml file are configured to work with the example environment variables.

4. Launch the Platform
Use Docker Compose to build and start all the services, including the databases.

Bash

docker-compose up --build -d

This command will:

  • Build the Docker images for each custom service.
  • Start containers for all services defined in docker-compose.yml.
  • Run the services in detached mode (-d).

5. Verify Services are Running
You can check the status of all running containers:

Bash

docker-compose ps

To view the logs for a specific service:

Bash

docker-compose logs -f <service-name>

The API Gateway should now be accessible at http://localhost:8080.

API Documentation

To make authenticated requests, you must first obtain a JWT from your Firebase project. Include the obtained token in the Authorization header of your API requests: Authorization: Bearer <your-firebase-jwt>.

Key Data Models

  • PostgreSQL: The primary relational database holds core data for users, trees, and inventory. You can connect to the database using the pgadmin service defined in Docker Compose.
  • Neo4j (EKG): The Ecological Knowledge Graph stores taxonomic data, observations, and their complex interrelationships. You can access the Neo4j Browser UI at http://localhost:7474 to explore the graph visually.

Section 7: Phase II - Building the User-Facing Platform

With the backend architecture established by the Genesis Sprint, the development team can move forward with full context and confidence to build the user-facing application. This phase is about translating the robust backend services into a tangible, lovable, and mobile-ready user experience.

7.1 A Note on Repurposing Code and Development Tools

While I cannot access the specific files in the new private repository you've shared, the architectural plan laid out here is designed to be the definitive path forward. The most effective way to "repurpose" the excellent work from previous iterations is to treat it as a rich source of validated concepts, UI components, and data models that will inform the new, clean frontend build.

To avoid the "loop of confusion" the team previously faced, it is critical to build the new frontend on top of the stable, containerized backend created in the Genesis Sprint. This ensures every developer is working with the exact same services and APIs, eliminating environmental differences.

  • On Docker: You are correct that Docker is essential, but its primary role is to create consistent development and production environments for your backend services. It ensures that the PostgreSQL database, the Neo4j EKG, and all the custom API services run identically on every developer's machine and on the final production server. This is what solves the "it works on my machine" problem and prevents the confusion your team experienced.
  • On Mobile-Readiness (PWA First): To make the web-based app feel "like a native app," we will build it as a Progressive Web App (PWA). This is a modern web development strategy that allows a single web codebase to be "installed" on a user's phone, work offline, and send notifications. This is the most efficient way to achieve a mobile-ready experience without the cost and complexity of building and maintaining separate native iOS and Android apps.

7.2 The Minimum Lovable Product (MLP) Frontend Roadmap

This roadmap outlines a series of agile sprints focused on building the user-facing web application.

  • Sprint 1: Frontend Foundation & Connectivity (2 Weeks)
    • Focus: Establish the frontend project and connect it to the backend.
    • Tasks:
      1. Initialize a new Next.js/TypeScript project.
      2. Implement the project structure (folders for components, lib, utils, etc.) as defined in the blueprint.
      3. Configure Tailwind CSS for styling and create the initial biophilic color palette and typography.
      4. Set up Zustand for client-side state management.
      5. Build the core authentication flow: create login/signup pages that interface with the Firebase Authentication service and a client-side library to manage the JWT.
      6. Create an API client module (in src/lib/) that can make authenticated requests to the backend API Gateway.
  • Sprint 2: The "Digital Ecologist" Core Journey (3-4 Weeks)
    • Focus: Build the primary features for tree inventory and mapping.
    • Tasks:
      1. Tree & Inventory UI: Develop the UI for listing, viewing, creating, and editing trees. This includes building the forms and data tables that communicate with the Tree & Inventory Service.
      2. The Living Map: Implement the core mapping interface using MapLibre GL JS. Fetch and display tree locations from the Tree & Inventory Service as interactive points on the map.
      3. AI-Powered Identification UI: Create the user flow for uploading an image. The UI will send the image to the Media Service and trigger the AI analysis. It will then display the results (species, health score) returned from the backend.
  • Sprint 3: The "Oracle" Interface (2-3 Weeks)
    • Focus: Bring the "Ask Bodhi" conversational AI to life in the UI.
    • Tasks:
      1. Develop the chat interface component, including a message input field and a display area for the conversation history.
      2. Integrate the interface with the EKG & AI Service to send user queries and render the streamed responses from the LLM.
      3. Implement the UI for selecting different AI personalities (Bodhi, Quercus, etc.), which will pass a parameter to the backend to modify the agent's behavior.
  • Sprint 4: Community & Visualization (2-3 Weeks)
    • Focus: Build out the user profile and gamification elements.
    • Tasks:
      1. Develop the user profile page, displaying their information and "Soil Grower" classification.
      2. Implement the UI elements (badges, progress bars) that visualize the user's progress through the "Soil Grower" ranks.
      3. Create a simple sharing feature that generates a unique, public URL for a user's map or a specific observation.

Section 8: A Primer on Context Engineering for the Development Team

The following is the supplementary material referenced in the video. Building a truly intelligent agent like "Ask Bodhi" requires moving beyond simple "prompt engineering" to the more rigorous discipline of Context Engineering. This is the art and science of curating the LLM's entire working memory—the context window—with precisely the right information to solve a task. Most agent failures are not model failures; they are context failures. This primer will provide the development team with the foundational knowledge to build the AI service effectively.

8.1 What is Context?

Context is everything the model sees before it generates a response. It is a dynamic system, not a static string. For the "Ask Bodhi" agent, the context will be assembled on-the-fly for every user request and will include several components:

  • Instructions (System Prompt): The base instructions that define the agent's persona ("You are Bodhi, a wise ecological guide..."), its capabilities, constraints, and desired output format (e.g., markdown, JSON).
  • User Input: The user's most recent message or question.
  • Knowledge/Data (RAG): This is the core of Retrieval-Augmented Generation. It's the information we retrieve from our databases to give the agent the specific facts it needs. For Arboracle, this will primarily be the structured data retrieved from the Neo4j Ecological Knowledge Graph (EKG).
  • Conversational Memory: The history of the current interaction. This allows the agent to understand follow-up questions and maintain a coherent dialogue.
  • Long-Term Memory: Key facts about the user that persist across sessions, such as their location or primary goals, retrieved from the User Service.
  • Tools: Descriptions of external tools the agent can use, like a function to get real-time weather data or search the iNaturalist API directly.

8.2 Key Principles and Best Practices

To avoid building a "cheap demo" and instead create a "magical" agent, the team must treat context as the product.

  1. Be Explicit and Comprehensive: Do not assume the AI knows your preferences. The system prompt must be specific about the agent's persona, rules, and output format. Provide high-quality, few-shot examples of ideal question-and-answer pairs to guide its tone and structure.
  2. Architect for Retrieval (GraphRAG): The agent's primary job is not to answer but to first gather the information needed to answer. The EKG & AI Service must be designed to parse the user's intent, translate it into a precise Cypher query for the Neo4j EKG, and then use the factual results of that query to "augment" the context for the final LLM call. This is far more reliable than simple text-based retrieval.
  3. Manage the Context Window: LLM context windows are finite. Stuffing the entire chat history into the prompt is inefficient and costly. The team must implement a sophisticated memory system, such as the ConversationSummaryBufferMemory strategy, which keeps recent messages verbatim while summarizing older parts of the conversation.
  4. Structure for Success: The format of the information matters. A concise summary is better than a raw data dump. A clear tool schema is better than a vague instruction. Data retrieved from the EKG should be formatted cleanly (e.g., as JSON or a summarized list) before being inserted into the context.
  5. Use Agentic Workflows: For complex tasks, break the problem down into a sequence of smaller steps. Instead of one massive LLM call, use a workflow: one call to parse intent, a non-LLM step to query the database, and a final call to synthesize the results. This prevents "context overload" and makes the system more reliable and easier to debug.

By adopting these Context Engineering principles, the team will be equipped to build an AI that is not just a chatbot, but a truly knowledgeable, reliable, and indispensable "Oracle" for every user.

Works cited

  1. accessed December 31, 1969,
  2. The rise of "context engineering" - LangChain Blog, accessed July 10, 2025, https://blog.langchain.com/the-rise-of-context-engineering/
  3. 2. Introduction — Introduction to PostGIS, accessed July 10, 2025, https://postgis.net/workshops/postgis-intro/introduction.html
  4. Geospatial Tools Compared: When to Use GeoPandas, PostGIS, DuckDB, Apache Sedona, and Wherobots - Matt Forrest, accessed July 10, 2025, https://forrest.nyc/geospatial-tools-compared-when-to-use-geopandas-postgis-duckdb-apache-sedona-and-wherobots/
  5. How to Build a Knowledge Graph in 7 Steps - Neo4j, accessed July 10, 2025, https://neo4j.com/blog/knowledge-graph/how-to-build-knowledge-graph/
  6. Why should you care about PostGIS? — A gentle introduction to spatial databases - Medium, accessed July 10, 2025, https://medium.com/@tjukanov/why-should-you-care-about-postgis-a-gentle-introduction-to-spatial-databases-9eccd26bc42b
  7. Generative AI - Ground LLMs with Knowledge Graphs - Neo4j, accessed July 10, 2025, https://neo4j.com/generativeai/
  8. A Complete Guide to Retrieval-Augmented Generation - Domo, accessed July 10, 2025, https://www.domo.com/blog/a-complete-guide-to-retrieval-augmented-generation
  9. Retrieval-Augmented Generation (RAG): The Essential Guide | Nightfall AI Security 101, accessed July 10, 2025, https://www.nightfall.ai/ai-security-101/retrieval-augmented-generation-rag
  10. Constructing Knowledge Graphs From Unstructured Text Using LLMs, accessed July 10, 2025, https://neo4j.com/blog/developer/construct-knowledge-graphs-unstructured-text/
  11. Knowledge Graph Extraction and Challenges - Graph Database ..., accessed July 10, 2025, https://neo4j.com/blog/developer/knowledge-graph-extraction-challenges/
  12. KnowledgeGraph GPT - Converting unstructured text into a Knowledge graph, accessed July 10, 2025, https://community.openai.com/t/knowledgegraph-gpt-converting-unstructured-text-into-a-knowledge-graph/48941
  13. Enhancing the Accuracy of RAG Applications With Knowledge Graphs - Neo4j, accessed July 10, 2025, https://neo4j.com/blog/developer/enhance-rag-knowledge-graph/
  14. How to Build a Knowledge Graph: A Step-by-Step Guide - FalkorDB, accessed July 10, 2025, https://www.falkordb.com/blog/how-to-build-a-knowledge-graph/
  15. CesiumJS – Cesium, accessed July 10, 2025, https://cesium.com/platform/cesiumjs/
  16. 70 Geospatial Python Libraries - Medium, accessed July 10, 2025, https://medium.com/@ns_geoai/70-geospatial-python-libraries-54604d815a7b
  17. 30. Rasters — Introduction to PostGIS, accessed July 10, 2025, https://postgis.net/workshops/de/postgis-intro/rasters.html
  18. Context Engineering - What it is, and techniques to consider ..., accessed July 10, 2025, https://www.llamaindex.ai/blog/context-engineering-what-it-is-and-techniques-to-consider
  19. Context Engineering - LangChain Blog, accessed July 10, 2025, https://blog.langchain.com/context-engineering-for-agents/
  20. Understanding Context Engineering | by Tamanna | Jul, 2025 - Medium, accessed July 10, 2025, https://medium.com/@tam.tamanna18/understanding-context-engineering-c7bfeeb41889
  21. What is Context Engineering? The New Foundation for Reliable AI and RAG Systems, accessed July 10, 2025, https://datasciencedojo.com/blog/what-is-context-engineering/
  22. Context Engineering: A Guide With Examples - DataCamp, accessed July 10, 2025, https://www.datacamp.com/blog/context-engineering
  23. Best Practices for RAG Pipelines | Medium, accessed July 10, 2025, https://masteringllm.medium.com/best-practices-for-rag-pipeline-8c12a8096453
  24. Practical tips for retrieval-augmented generation (RAG) - The Stack Overflow Blog, accessed July 10, 2025, https://stackoverflow.blog/2024/08/15/practical-tips-for-retrieval-augmented-generation-rag/
  25. Conversational Memory for LLMs with Langchain | Pinecone, accessed July 10, 2025, https://www.pinecone.io/learn/series/langchain/langchain-conversational-memory/
  26. Conversational memory - Lotus Labs, accessed July 10, 2025, https://www.lotuslabs.ai/post/conversational-memory
  27. How To Add Conversational Memory To LLMs Using LangChain - supermemory™, accessed July 10, 2025, https://supermemory.ai/blog/how-to-add-conversational-memory-to-llms-using-langchain/
  28. GitHub - mem0ai/mem0: Memory for AI Agents; Announcing OpenMemory MCP, accessed July 10, 2025, https://github.com/mem0ai/mem0
  29. The Modern Geospatial Stack: From PostGIS to GeoAI | by Oleg | Jun, 2025 | Medium, accessed July 10, 2025, https://medium.com/@KilgortTrout/the-modern-geospatial-stack-from-postgis-to-geoai-fcea95b311ca
  30. Boosting Performance in PostGIS: Top Strategies for Optimizing Your Geographic Database | by Felipe Limeira | Medium, accessed July 10, 2025, https://medium.com/@limeira.felipe94/boosting-performance-in-postgis-top-strategies-for-optimizing-your-geographic-database-167ff203768f
  31. From PostgreSQL to the Cloud: Setting up a Spatial Data Infrastructure in BigQuery - CARTO, accessed July 10, 2025, https://carto.com/blog/from-postgresql-to-cloud-data-warehouse
  32. PostGIS Raster Performance, accessed July 10, 2025, https://postgis-users.postgis.refractions.narkive.com/SnpEekwD/postgis-raster-performance
  33. Poor performance with storing large rasters in PostGIS and visualising in QGIS [closed], accessed July 10, 2025, https://gis.stackexchange.com/questions/151632/poor-performance-with-storing-large-rasters-in-postgis-and-visualising-in-qgis
  34. Why Does Cloud-Native Geospatial Matter to GIS Professionals?, accessed July 10, 2025, https://cloudnativegeo.org/blog/2025/02/why-does-cloud-native-geospatial-matter-to-gis-professionals/
  35. Using Cloud Rasters with PostGIS | Crunchy Data Blog, accessed July 10, 2025, https://www.crunchydata.com/blog/using-cloud-rasters-with-postgis
  36. Access satellite imagery using Python - The Carpentries Incubator, accessed July 10, 2025, https://carpentries-incubator.github.io/geospatial-python/05-access-data.html
  37. Performance comparison: GDAL vs. GeoPandas & Rasterio | by Felipe Limeira - Medium, accessed July 10, 2025, https://medium.com/@limeira.felipe94/performance-comparison-gdal-vs-geopandas-rasterio-fcf3996d7085
  38. Demo: Fundamentals, GDAL, rasterio Discussion - Geospatial Data Analysis with Python, accessed July 10, 2025, https://uwgda-jupyterbook.readthedocs.io/en/2021/modules/05_Raster1_GDAL_rasterio_LS8/05_Raster1_GDAL_rasterio_Demo.html
  39. Switching from GDAL's Python bindings — rasterio 1.4.3 ..., accessed July 10, 2025, https://rasterio.readthedocs.io/en/stable/topics/switch.html
  40. satellite-image-deep-learning/techniques - GitHub, accessed July 10, 2025, https://github.com/satellite-image-deep-learning/techniques
  41. satellite-image-deep-learning/software: Software for working with satellite & aerial imagery ML datasets - GitHub, accessed July 10, 2025, https://github.com/satellite-image-deep-learning/software
  42. kepler.gl, accessed July 10, 2025, https://kepler.gl/
  43. Indigenous Data Sovereignty - Indigenous Research - Subject ..., accessed July 10, 2025, https://guides.library.ualberta.ca/indigenous-research/indigenous-data-sovereignty
  44. The First Nations Principles of OCAP® - The First Nations ..., accessed July 10, 2025, https://fnigc.ca/ocap-training/
  45. The First Nations Principles of OCAP - Waapihk Research, accessed July 10, 2025, https://waapihk.com/2023/02/14/the-first-nations-principles-of-ocap/
  46. Labels - Local Contexts, accessed July 10, 2025, https://localcontexts.org/labels/about-the-labels/
  47. Local Contexts Labels, accessed July 10, 2025, https://localcontexts.org/wp-content/uploads/2023/04/Local-Contexts-Labels.pdf
  48. TK Labels - Local Contexts, accessed July 10, 2025, https://localcontexts.org/labels/traditional-knowledge-labels/
  49. Working with Labels - Local Contexts, accessed July 10, 2025, https://localcontexts.org/support/working-with-labels/
  50. Local Contexts Notices and Labels - DataCite Support, accessed July 10, 2025, https://support.datacite.org/docs/local-contexts-notices-and-labels
  51. Traditional Knowledge Labels | Sq'éwlets - A Stó:lō-Coast Salish Community in the Fraser River Valley, accessed July 10, 2025, http://digitalsqewlets.ca/traditional-knowledge_connaissances_traditionnelles-eng.php
  52. UX design in online catalogs: Practical issues with implementing traditional knowledge (TK) labels - First Monday, accessed July 10, 2025, https://firstmonday.org/ojs/index.php/fm/article/download/10406/9579