TMaps - Mapping API Tunisia
đŸŒŸ Agriculture & Land Mapping Use case · AgroMap TN

Map Your Agricultural Plots with TMaps API

Plot geolocation, inspection tours and land data on an accurate map.

Endpoints used

GET /maps/static GET /geocoding/reverse POST /routing/optimized
Mapped plots
6

Cap Bon region — demo

Inspection tour
45 min

optimized vs 2h manually

GPS coverage
100%

even in rural areas

Interactive Demo

Click markers to view details · Map powered by TMaps

AgroMap TN

AgroMap TN supports agricultural operators and land agencies in the Cap Bon region. Using the TMaps API, inspectors plan field tours, accurately locate plots and share geolocated reports with authorities.

Code Example
// GĂ©olocalisation de parcelles — API TMaps
// GĂ©ocodage inverse : coordonnĂ©es → adresse cadastrale
const plot = await fetch(
  'https://api.tmaps.tn/geocoding/reverse' +
  '?lat=36.4511&lng=10.7375' +
  '&api_key=YOUR_KEY'
);
const { address, commune, delegation } = await plot.json();
// → address: "Route Agricole Km 5, Nabeul"

// Carte statique de la parcelle
const map = await fetch(
  'https://api.tmaps.tn/maps/static' +
  '?center=36.4511,10.7375&zoom=16' +
  '&size=800x600&api_key=YOUR_KEY'
);

How It Works

1

📐 Plot delimitation

GPS coordinates of each plot's corners are recorded and visualized as polygons on the TMaps map.

GET /maps/tiles/{z}/{x}/{y}
2

🚜 Tour optimization

The Routing API optimizes the order of plot visits to minimize inspectors' travel time in the field.

POST /routing/optimized
3

📋 Geolocated reports

Each inspection report is linked to the exact GPS coordinates of the plot via TMaps reverse geocoding.

GET /geocoding/reverse

Ready to integrate TMaps into your project?

Start free with 50,000 requests offered every month. No credit card required.

Read the documentation →