DaedalMap
Docs / geometry tools

One geography workflow,
at every available depth.

The same geography tools work worldwide across a cataloged baseline of 252 geographic entities, reaching up to Admin 2. Where additional country releases are available, the same calls automatically return deeper administrative tiers or maintained reference families. Additional detail is currently available for Australia, Brazil, Canada, France, Germany, Mexico, United Kingdom, United States.

What the tools operate on

The administrative spine is a country's main nested geography. Geometry families hold other boundaries, such as cities, postal areas, watersheds, and marine regions. They may overlap the spine and one another. Crosswalks connect them.

loc_id is the shared identity model across these systems. This page explains how to resolve inputs, inspect ids, discover crosswalks, and retrieve shapes. Read the loc_id Guide for the identity model or the geometry glossary for exact definitions.

The coverage model

Tool availability is global; depth is local. The generated geometry_catalog.json declares the baseline, admitted country extensions, geometry banks, reference systems, published crosswalks, and external bridges. When a release is admitted and the catalog is rebuilt, the same tools discover and use the added detail automatically.

A country profile documents a maintained national release. It is not an allowlist for the tools. In-progress imports stay outside public capability claims until they are admitted.

Start here

Ask the catalog for the concise capability view before making assumptions about a country or administrative level.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_catalog",
    "arguments": {"catalog": "geometry", "detail": "lite"}
  }
}

Use get_tool_help with topic="geometry" for the family-level mental model, then request one exact visible tool's inputs, limits, and next steps.

The simple entry path

Most users do not need all 11 tools. Start with the question you already have, then use one small lookup:

  • I have coordinates: resolve_point
  • I have a ZIP, admin code, or place name: convert_reference; omit to_system for loc_id and use identify_reference_system first only when the input system is unknown
  • I have a loc_id: get_loc_id_info
  • I need its shape: get_geometry; use the default metadata response for availability and opt into polygon coordinates only when needed
  • I need to know what is available: get_catalog for family/country coverage, then get_pack for one family's systems, versions, and crosswalk artifacts

Prepare location fields

Start with the location fields you already have. Keep the original columns; a raw file does not need a loc_id before you try it. Coordinates can resolve to the administrative spine. Supported names, administrative codes, postal areas, and other reference systems resolve to their own published identities or crosswalk relationships. If a code has several possible meanings, confirm its system before converting it.

For example, a coordinate row can keep its measurements while gaining a place identity. This is an illustrative subset of the converted columns; the converter also reports the matched administrative level and rows that need review.

site_name,latitude,longitude,timestamp,temperature_c
Site A,48.8584,2.2945,2025-07-01,31.4
site_name,latitude,longitude,timestamp,temperature_c,loc_id
Site A,48.8584,2.2945,2025-07-01,31.4,FRA-11-75-1

Use the level that fits the observation, or roll up to a reported parent when the question belongs at county, state, province, or country scale. Try a small file to inspect matches before preparing a full table. For time fields, metrics, and source notes in a published release, see prepare a pack-ready table.

All published MCP contracts

This table is rendered from the same registry used by MCP tools/list, so removed aliases and hidden builder contracts cannot linger here.

ToolRequired inputWhat it does
get_tool_helpNo required inputDescribe one tool visible on this facade, including its exact contract, or return a bounded workflow overview for one supported topic.
get_catalogcatalogChoose data or geometry to list published pack IDs or family and scope IDs. The response includes a complete catalog download URL. Use get_pack for data or get_geography for geometry.
get_packpack_idInspect one exact data pack ID for its metrics, time coverage, and query metadata before get_data.
get_geographyNo required inputInspect one published geometry family across scopes or one scope across families. Returns coverage and known editions from catalog metadata only. Optional year selects the latest admitted edition no later than that year when the selected catalog has an edition index; an unavailable index is reported explicitly.
resolve_pointNo required inputResolve WGS84 coordinates in exactly one selected scope and family. GLOBAL administrative finds Admin0; an ISO3 administrative scope finds its shallow country bank. MARINE requires one specific jurisdiction family (for example exclusive_economic_zone or high_seas), or water_body with water_kind=named or zone. The broad marine_jurisdiction category has no point route. No call crosses scopes or opens another family's bank. Discover families with get_catalog(catalog='geometry').
resolve_bboxcornersCompare one non-wrapping rectangular WGS84 viewport with the published Global administrative spine through Admin 2. Supply its four corners. Returns the best equal-area overlap plus nearby matches at each level and their shares of the viewport and loc_id. Large views may require zooming in. This tool reads no country deep bank.
resolve_deep_bboxcorners, shallow_loc_idSecond-pass rectangle overlap within one returned shallow administrative loc_id. Routes to that country's one Admin 1-owned exact partition and compares its Admin 1-6 spine. Supply the original four WGS84 corners; broad views may require zooming in.
resolve_deep_pointshallow_loc_idSecond-pass containment only after resolve_point. Supply the original WGS84 coordinate or a bounded point array, one shared shallow_loc_id returned by resolve_point, and one canonical family from get_catalog(catalog='geometry'). family defaults to administrative; shape-backed families use direct bbox-to-exact-shape lookup without crosswalks. Single and bulk requests share this scoped contract.
get_loc_id_infoNo required inputLook up one known loc_id or a small batch in the selected reference graph. Return its identity and directly recorded loc_id connections, with family, direction, and relationship evidence. Each ID returns at most 50 connections and an explicit has_more flag. This tool does not expand descendants, infer containment, read shapes, search catalogs, or consult external adapters. No payment required.
identify_dataset_geographycolumnsFast structural column selector: pass bounded named columns to find recognized geography headers or latitude/longitude pairs. It does not infer a country, level, or identifier system, open country indexes, or validate values. If more than one column is plausible, select one; then call identify_reference_system with the selected identifier column and one country_scope. No payment required.
identify_reference_systemcountry_scopeIdentify one selected identifier column within one required ISO3 country, GLOBAL, or MARINE scope. Pass bounded strings preserving leading zeros. It checks maintained identifier evidence, not dataset columns or polygons. Ambiguous systems stay unselected until expected.system is supplied. Use identify_dataset_geography first when the column is unknown. No payment required.
convert_referenceNo required inputConvert within one declared scope per call: iso3 is required and names one ISO3 country, GLOBAL, or MARINE. A batch uses one from_system, to_system, and crosswalk_id, with at most 25000 requested result rows. Convert X -> loc_id -> Y; omit to_system to enter the loc_id universe. For admin or city names use from_system admin_boundary with a country_hint inside the declared country. A published direct crosswalk uses one selected artifact; if the system pair has multiple artifacts, supply crosswalk_id from the typed ambiguity error. An exact miss ends on that artifact. Use get_geography when family or scope coverage is unknown. The tools/list access metadata states authored free, account, and paid item allowances; active operator policy may waive payment.
compare_geographiesNo required inputCompare two known loc_ids using selected reference-graph identity and direct relationship evidence. Verified Admin ancestry can prove containment; a typed graph edge can prove only the relation it declares. An explicit negative edge returns no_overlap; a missing edge returns unknown. This tool never reads polygons or computes shape intersections. Use an external identifier bridge before this call when the input is not a loc_id. No payment required.
get_shapeNo required inputShape lookup for exact existing loc_ids only. The default returns shape availability, centroid, and bounding box; include_polygon=true adds GeoJSON coordinates. Obtain any descendant IDs before this call. Historical geometry is returned first and successors are never substituted automatically. Year selection is not yet supported.

Common first-user journeys

Coordinates to place

Call resolve_point with WGS84 latitude and longitude. It returns the deepest currently served match and a compact administrative chain. Pass returned ids to get_loc_id_info for details or to get_geometry for shapes.

{
  "name": "resolve_point",
  "arguments": {"lat": -23.5505, "lon": -46.6333}
}

Known code or name to loc_id

Use get_catalog and get_pack to discover published systems and crosswalks. Use identify_reference_system first when a column's identifier system is unknown, then use convert_reference; omit to_system when loc_id is the desired output.

Hierarchy and bulk geometry

Use get_loc_id_info for identity, strict hierarchy, lifecycle, and known references. The same call accepts loc_ids for a bounded batch. Use get_geometry with loc_ids for a bounded shape batch, organized by country, level, and Admin1 owner when possible. Use the supported scope input on get_geometry when the request begins with an administrative parent and level.

Larger files and custom outputs

Today, coordinate and reference calls can process bounded inline batches. Keep requests scoped by country and split deep administrative work by Admin1 owner. The public Try Your Data page resolves a small coordinate sample to CSV or identifies supported reference-code columns for explicit confirmation.

Estimate, create, and status contracts are retained internally for the future builder product, but they are not advertised or callable through the public MCP roster until durable job and artifact delivery is ready.

Run geometry tools locally

For conversion work on your own machine, browse the published programs and check each program's supported inputs and setup notes. The source setup guide covers the manual engine path. Start with the browser sample above if you need to inspect a small file before choosing a local workflow.

loc_id, geometry families, and crosswalks

loc_id is DaedalMap's geographic identity model. Compatible records can join directly through the administrative spine. Postal, tribal, weather, watershed, and other systems keep their own identities as geometry families; crosswalks connect them where published.

Catalog crosswalks say what each relationship means and where it came from. Some include measured overlap. External bridges are reserved for outside id systems. Neither is guessed from a center point. Fetch a shape separately with get_geometry only when it is needed.

Endpoints

POST https://app.daedalmap.com/mcp
POST https://app.daedalmap.com/mcp/geography