Use GeoLens from ArcGIS Pro
Esta página aún no está disponible en tu idioma.
ArcGIS Pro reads GeoLens through its built-in OGC API, XYZ tile, STAC and 3D Tiles support. Nothing needs installing. The public-data steps were last tested on 2026-11-11 with ArcGIS Pro 3.7 and GeoLens 1.31.0.
Public datasets work over OGC API Features, XYZ tiles, STAC and 3D Tiles. From GeoLens
1.28.0, private vector datasets work over OGC API Features with an API key as
the saved login, and private rasters work as tiles. Replace https://geolens.example.com with your GeoLens instance’s URL in
every example.
Public vector datasets: OGC API Features
Section titled “Public vector datasets: OGC API Features”-
In Pro, open Insert > Connections > Server > New OGC API Server.
-
Set the URL to your instance’s API root:
https://geolens.example.com/apiThe dialog opens on Server Authentication with empty fields. Leave them empty for public data.
-
In the Catalog pane, expand Servers, the new connection, then Features. Each dataset is listed as its title followed by its id in parentheses. Right-click one and choose Add To Current Map.
-
Pro shows an Add OGC API Layer(s) dialog. Choose OK to load every feature, or tick Use Spatial Extent first to load only the features in the current view.
Pro pages through every feature, so a large dataset takes a few requests to
finish drawing. With Use Spatial Extent it sends the view as a bbox
and GeoLens returns only what falls inside. Raster datasets do not appear
under Features. Points
uploaded from a file show as Multipoint, because GeoLens stores uploaded
geometries as multi-part types.
Private vector datasets
Section titled “Private vector datasets”From GeoLens 1.28.0, Pro opens private datasets through its Server Authentication login, with an API key as the password.
-
Open Insert > Connections > Server > New OGC API Server.
-
Set the URL to the desktop entry point:
https://geolens.example.com/api/desktop -
When Pro asks for a login, enter any username and an API key as the password, and save the login. A read-only key is enough.
-
Add datasets from Features as for a public connection.
/api/desktop answers 401 with a Basic challenge until a working key
arrives, then redirects to the OGC API landing page at /api/. The key
authenticates GET, HEAD and OPTIONS requests only, so the connection can
read but never write. GeoLens never accepts an account password this way. See
HTTP Basic form.
Earlier releases can’t add a private vector dataset to Pro: the add fails with
“Failed to add data”. Use QGIS there, which sends an
X-Api-Key header on every request.
Rasters as XYZ tile layers
Section titled “Rasters as XYZ tile layers”-
On the dataset page, open Connect and choose Copy XYZ Tile URL. See Tile endpoints.
-
Replace
{z}/{x}/{y}with{level}/{col}/{row}. The copied URL ends in?api_key={your_key}: for a private raster, replace{your_key}with a read-only key; for a public one, delete the whole?api_key={your_key}.https://geolens.example.com/raster-tiles/<dataset-id>/tiles/{level}/{col}/{row}.png?api_key=<read-only key> -
In Pro, on the Map tab, choose Add Data From Path, paste the URL and leave Service type on Automatic.
Pro adds a “Tiled service layer”. It renders in place and zooms normally. The
key goes out with every tile request and survives closing and reopening the
project. Keep the URL the Connect menu copies rather than the versioned
template from the collection’s tiles link: a saved layer would keep that
version forever. After a raster is replaced, the copied URL can show the old
tiles of a public raster for up to an hour. See API Authentication for how to create a key.
A signed URL from GET /api/tiles/token/{dataset_id}/ also works, with the
same {level}/{col}/{row} substitution, until it expires within 16 minutes. After that Pro
shows stale cached tiles and reports no error. Signed URLs suit a quick look,
not a saved project.
Rasters as analysis-ready layers: STAC
Section titled “Rasters as analysis-ready layers: STAC”A STAC connection gives you the cloud-optimized GeoTIFF itself as a raster layer, not a rendered tile pyramid.
-
Open Insert > Connections > STAC Connection > New STAC Connection.
-
Set the URL to:
https://geolens.example.com/api/stac -
In the Catalog pane, expand STACs and double-click the connection to open Explore STAC. Pro lists the collections by id, not by title.
-
Tick a collection and, with the icon at the right of its row, pick the
dataasset type, which is the COG. -
Choose View Results, then use Add to Current Map on an item.
Pro reads the COG directly with HTTP range requests and adds it inside a group layer named “STACResultsGroupLayer”. A large COG on remote storage can take about a minute to appear. Items cataloged from a remote COG, and mosaics, show a blank card in the results because they have no thumbnail asset.
Only public items work today. A custom X-Api-Key header lets the search list
private items, but Pro fetches the item and its COG without the header, so
adding a private item fails.
3D Tiles in a local scene
Section titled “3D Tiles in a local scene”-
On the dataset page, open the Access tab and copy the tileset URL. See Opening a dataset in a client.
https://geolens.example.com/api/datasets/<dataset-id>/tiles3d/tileset.json -
In Pro, open or insert a local scene. On the Map tab, choose Add Data From Path and paste the URL.
-
Pro sets Service type to 3D Tiles Service. Keep the suggested Layer Type, or choose 3D Object for buildings, and choose Add.
Pro adds the layer and zooms to it. If the scene is empty at that first view, zoom in. Pro requests a tile’s children only once the tile’s geometric error is large enough on screen, so a tileset whose root has no content and a small geometric error draws nothing from far away. Only a public dataset was tested.
Vector tiles
Section titled “Vector tiles”Pro does not support GeoLens vector tiles. Pro needs a VectorTileServer, and
GeoLens serves a bare {z}/{x}/{y}.pbf template and a MapLibre style.json
per map. Given the .pbf template in Add Data From Path, Pro adds an
empty “Tiled service layer” and reports no error. It refuses the style.json
URL with “Invalid Path”. Use OGC API Features for vector data in Pro.
Next steps
Section titled “Next steps”- OGC API, STAC and tiles: endpoint details for Features, STAC and tiles.
- Publishing from desktop GIS: the contract for sending data back to GeoLens.
- Authentication: create the API key Pro uses as a saved login.