xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
Tool Skill
Macrostrat logo

Lat Lng To Tile

lat-lng-to-tile

Convert latitude/longitude coordinates to map tile coordinates (x, y) for a given zoom level. Uses the same web mercator projection as MapKit.

$0.01/call
Flat rate
Macrostrat
Raw SKILL.mdTool Page

When to Use

Use this tool when you need to convert latitude/longitude coordinates to map tile coordinates (x, y) for a given zoom level. uses the same web mercator projection as mapkit.. This is part of the Macrostrat provider on xpay✦.

MCP Connection

Connect to xpay✦ to access this tool (and 7+ others):

{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}

For Claude Code:

claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"

How to Execute

Use the xpay✦ meta-tools to run this tool:

  1. xpay_details — Get full input schema: xpay_details("macrostrat/lat-lng-to-tile")
  2. xpay_run — Execute: xpay_run("macrostrat/lat-lng-to-tile", { ...inputs })

Input Parameters

ParameterTypeRequiredDescription
lngnumberYesLongitude in decimal degrees (-180 to 180)
latnumberYesLatitude in decimal degrees (-90 to 90)
zoomintegerYesZoom level (0-18)

Pricing

  • Cost: $0.01/call
  • Balance check: Use xpay_balance to check remaining credits
  • Get your API key at xpay.tools — $5 free credits included

Related Skills

  • Macrostrat (all tools) — 8 tools
  • Find Columns — $0.01/call
  • Find Units — $0.01/call
  • Defs — $0.01/call
  • Defs Autocomplete — $0.01/call
  • Mineral Info — $0.01/call

Links

  • Tool page: https://xpay.tools/macrostrat/lat-lng-to-tile/
  • Provider: https://xpay.tools/macrostrat/
  • All tools: https://xpay.tools/explore
How to Execute
// 1. Get full schema
xpay_details("macrostrat/lat-lng-to-tile")
// 2. Execute
xpay_run("macrostrat/lat-lng-to-tile", { ...inputs })
Input Parameters
ParameterTypeRequiredDescription

lng

number
Yes

Longitude in decimal degrees (-180 to 180)

lat

number
Yes

Latitude in decimal degrees (-90 to 90)

zoom

integer
Yes

Zoom level (0-18)

Related Tools from Macrostrat
Find Columns — $0.01Find Units — $0.01Defs — $0.01Defs Autocomplete — $0.01Mineral Info — $0.01Timescale — $0.01Map Tiles — $0.01
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/macrostrat/lat-lng-to-tile/SKILL.md
CLI
npx @xpaysh/cli install macrostrat/lat-lng-to-tile
Manual
curl -o SKILL.md https://xpay.tools/skills/macrostrat/lat-lng-to-tile/SKILL.md
Pricing

Cost

$0.01/call

Model

Flat rate

Provider

Macrostrat

xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service