If you want to run a sample app that demonstrates the functionality described
here, see the
ARCore Geospatial Quickstart for Android
for Java. The sample app in the Quickstart is written in Java. The code samples
in this document are for the same functionality written in C.
Development requirements
If you're new to developing with ARCore, see Getting started
for information about software and hardware requirements, prerequisities and
other information specific to the platforms you are using.
Be sure your development environment satisfies the ARCore SDK requirements, as
described in the Quickstart for Java.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-14 UTC."],[[["\u003cp\u003eThe Geospatial API enables developers to build AR apps that interact with the real world using VPS and terrain anchors.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation provides guides and resources for enabling the API, checking VPS availability, obtaining device pose, utilizing geospatial and terrain anchors, and understanding API usage quotas.\u003c/p\u003e\n"],["\u003cp\u003eA sample app and codelab are available for quickstart and exploration of the Geospatial API's features, primarily focusing on Android development with Java and C.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers new to ARCore are encouraged to review getting started resources to ensure their environment meets the necessary requirements for AR development using this API.\u003c/p\u003e\n"]]],["The content outlines using the Geospatial API in apps, detailing key actions: enabling the API, checking VPS availability, determining the device's Geospatial pose, and working with Geospatial and Terrain anchors. It also mentions API usage quotas. A Java sample app is available in the ARCore Geospatial Quickstart for Android, with C code examples for the same functions. Developers should also check the ARCore SDK requirements in the Quickstart.\n"],null,["# Geospatial developer guide for Android NDK (C)\n\nLearn how to use the [Geospatial API](/ar/develop/geospatial) in your own apps:\n\n- [Enable the Geospatial API](/ar/develop/c/geospatial/enable)\n- [Check VPS availability](/ar/develop/c/geospatial/check-vps-availability)\n- [Determine the device's Geospatial pose](/ar/develop/c/geospatial/obtain-device-pose)\n- [Geospatial anchors](/ar/develop/c/geospatial/anchors)\n- [Terrain anchors](/ar/develop/c/geospatial/anchors#terrain_anchors)\n- [API usage quota](/ar/develop/c/geospatial/api-usage-quota)\n\nSample app and codelab\n----------------------\n\nIf you want to run a sample app that demonstrates the functionality described\nhere, see the\n[ARCore Geospatial Quickstart for Android](/ar/develop/java/geospatial/quickstart)\nfor Java. The sample app in the Quickstart is written in Java. The code samples\nin this document are for the same functionality written in C.\n\nDevelopment requirements\n------------------------\n\nIf you're new to developing with ARCore, see [Getting started](/ar/develop/getting-started)\nfor information about software and hardware requirements, prerequisities and\nother information specific to the platforms you are using.\n\nBe sure your development environment satisfies the ARCore SDK requirements, as\ndescribed in the [Quickstart](/ar/develop/java/geospatial/quickstart) for Java."]]