Developers & partners — Build on WaiMAP
Build on WaiMAP: Spatial APIs, Engineering Engines, Observation Services and Reports & Workflows — each marked Live or Planned; the MCP API (Business and above), wm-Digamma extensions (Team and above), the public Site Check, report verification lookup and layer catalogue, with sample requests and responses.
- On your computerIFC (up to about 200 MB), GeoTIFF / COG previews and point values, DXF drawings and many imports are read in your browser — the file never leaves your computer.
- On WaiMAP's calculation serverA temporary processing copy exists only while the job runs. It is deleted when the job ends (success or failure) or when you have downloaded the result — within minutes, 2 hours at most. Processed rasters come back to you as downloads.
- From your own server (URL)Give an https link (presigned S3 / R2 / Azure / GCS, WebDAV or plain https): WaiMAP reads the file from there — rasters by range requests, nothing kept. The link is not stored unless you ask WaiMAP to remember it in your project.
- What WaiMAP keepsYour project records: parameters, results and metadata (for example a patch's bounds, coordinate system, source, licence and checksum) — small data that belongs to your account.
- What WaiMAP does not keepYour source files. There is no file storage and no storage quota.
Build on WaiMAP
Four service families. Each item is marked Live (works today) or Planned (not available yet) — checked against the code.
Spatial APIs
- Live Shared layer catalogue (licence and attribution per layer)
- Live Public Site Check point values (atlas, no key)
- Live Team project geometry by share code (MCP
project_get) - Planned Keyed tile and area-statistics API
Engineering Engines
- Live MCP tools: W-ENG modules, PV yield (pvlib), wind AEP (PyWake), load flow (pandapower) — Business and above
- Planned Line mechanics, earthworks and layout engines through the API
Observation Services
- Live Observations in the app (areas, change detection, alerts) and extensions that read the open project
- Planned Observations API and sector report templates
Reports & Workflows
- Live Report verification lookup (public)
- Live wm-Digamma extensions — Team and above
- Live Standard file formats in and out
- Planned Report rendering and webhooks through the API
Documentation
| Section | Status | What it covers today |
|---|---|---|
| API catalogue | Live | The endpoints below with sample requests and responses (real endpoints only). |
| Authentication and API keys | Live | Self-service in the Developer console: free test keys for every member, live keys with an API plan or after your first approved Marketplace listing (Authorization: Bearer wmk_…, shown once, stored as a hash, revocable, up to 5 active). Organisation keys are still issued by the WaiMAP administrator. |
| Usage metering and quotas | Live Planned | Live: per-endpoint rate limits per connection, plan limits on projects and file sizes, AI usage billed from the paying account's WAI W$ balance. Planned: per-key usage dashboard and quotas. |
| Sandbox and sample data | Live Planned | Live: CAD / BIM samples, Observations samples and the project demonstrations (GeoJSON, CSV, PDF). Live: sandbox (test) keys — wmk_test…, 20 MCP calls a minute and 300 a day, map services on the free quota. Planned: a sandbox project. |
| Report and file outputs via API | Planned | Today reports (PDF, Word, Excel) and drawings (DXF, DWG, IFC) are produced in the app; MCP tools return JSON results. |
| Publishing sub-services | Live | Live: wm-Digamma extensions; developer mode (load your own extension in your browser for testing); publish extensions, GIS models, CAD block libraries, LISP routines and map styles from the Developer console; the public Marketplace shows ratings, reviews and install counts; members install in one click. |
| GIS plugins and automation | Live | Extensions can add geoprocessing tools to the GIS Toolbox (gis_tools), read and write workbench layers and run the 1,150+ built-in tools (85 WaiMAP + 1,065 GeoLibre / Whitebox); members chain tools in ModelBuilder and script them in JavaScript or Python in the browser. |
| Data privacy, project isolation and IP | Live | No OAuth access on behalf of members; an extension sees only what its manifest permissions allow in the open project of the user who runs it; an API key reads only team projects by their share code; partners keep their own IP and find their own customers. |
| Revenue share and terms | Live | Paid listings are sold through the WaiMAP checkout; you keep 80 % of each sale — and 100 % for 12 months from your first approval (Founding Developer Programme). Sales, balance and payouts in the Developer console; payouts monthly from USD 100. |
API catalogue — real endpoints
MCP API Live Business and above
POST api/mcp.php — JSON-RPC 2.0 (initialize, tools/list, tools/call).
POST api/mcp.php
Authorization: Bearer wmk_…
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"pv_yield","arguments":{"lat":36.63,"lng":33.40,"kwp":1000}}}
→ {"jsonrpc":"2.0","id":1,"result":{"content":[{"type":"text","text":"{ annual_kwh, specific_yield_kwh_kwp, performance_ratio, monthly_kwh[12], engine … }"}]}}Site Check Live public, rate-limited
GET api/sitecheck.php?lat=36.63&lng=33.40
→ {"ok":true,"configured":true,"lat":36.63,"lng":33.4,"values":{"gsa-pvout":{"value":…,"units":"kWh/kWp/yr"},"gwa-ws150":{…},"jrc-flood-rp100":{…},"ghsl-pop2025":{…},"ghsl-built2000":{…},"ghsl-built2025":{…}},"suitability":{"score":…,"weights":{…}},"growth":{…},"ai":false}Layer catalogue Live public list
GET api/layers.php?action=list→ {"ok":true,"layers":[{"id":"…","name":"…","category":"…","attribution":"…","licence":"…","minzoom":…,"maxzoom":…}]}Only layers cleared for commercial use are listed; each layer's licence and attribution apply.
Report verification Live public
GET api/verify.php?action=lookup&id=WMR-YYYY-NNNNNN-XX→ {"ok":true,"id":"WMR-…","status":"active","type":"…","issued":"YYYY-MM-DD","valid_until":"…","sha256":[{"format":"PDF","sha256":"…"}]}Unknown ids get one generic answer (no enumeration).
MCP tools (from the server)
weng_catalogList the W-ENG engineering modules (conductor selection, sag / clearance, cable sizing, pipe wall thickness) with their inputs.weng_runRun one W-ENG module, e.g. weng.pipe_wall {diameter_mm, maop_bar}, weng.conductor_select {power_mw, voltage_kv}, weng.sag_tension {conductor, spans_m, attachment_height_m, required_clearance_m}, weng.cable_sizing.pv_yieldHourly PV yield with pvlib (PVGIS TMY) on the WaiMAP compute worker: specific yield, PR, monthly kWh. Module azimuth defaults by hemisphere (equator-facing): 180 (south) for lat ≥ 0, 0 (north) for lat < 0; inputs_applied in the result shows what was used.wind_aepWind farm AEP with wake losses (PyWake). positions [[lat,lng]…], turbine {name, diameter_m, hub_m, power_curve [[m/s,kW]…] at 1.225 kg/m³}, sectors [[freq, A, k]…] (12) or timeseries {ws, wd}. Give density_kg_m3 or site_elev_m: the curve is shifted to the site air density (IEC 61400-12-1) before the run; the density used is returned.grid_loadflowGrid connection load flow and IEC 60909 short circuit (pandapower): plant_mw, line_km, hv_kv, mv_kv, grid_sc_mva. Zero-sequence line impedance calculated from geometry can differ from the measured value by tens of per cent (earth return): for earth-fault and distance-relay settings use the measured k0 (line_impedance_test). A model cut off from the grid gives far too low a fault current: rate breakers on the highest value given by the grid operator.waimap_commandsSearch WaiMAP commands that run in the key owner's open WaiMAP (AI agent link on): the 18 engineering engines (engine.<kind>.run), 1,065 GIS tools (gis.<tool>: hydrology, terrain, LiDAR, raster, vector, remote sensing), imagery (img.classify / img.change / img.ndvi), map view (view.goto). Returns ids, parameters and whether the link is live.waimap_runRun a WaiMAP command by id in the key owner's open WaiMAP tab (AI agent link on) and return its result. Raster inputs of GIS tools: "dem:view" = terrain of the current map view, "r:<id>" = an earlier result; use view.goto first to set the area. Long runs return a job_id for waimap_job.waimap_jobResult of a waimap_run job that was still running.route_corridorTerrain-aware route corridor for an overhead line, pipeline, cable or fibre between 2–8 points (WGS84 [lon,lat]): route length, highest ground, crossings, tower count and design checks (WaiMAP corridor engine — never over summits, never along valley floors). Summary only; the route, profile, towers and BoQ open in WaiMAP. Paid plans.site_hazardsGround and natural hazards at a point: soil (ISRIC SoilGrids 2.0: clay / sand / silt %, pH, organic carbon, bulk density, coarse fragments — 0–30 cm in soil.top30, 0.3–2 m foundation zone, USDA texture; nearest soil cell when the point is built-up) and a Vs30 site-class proxy from slope (Wald & Allen; TBDY 2018 / EC8 class), climate extremes (NASA POWER: max gust, max 1-day rain, snow, icing), earthquakes M≥5 within 150 km since 1900 (USGS), rain-based flood indicator. Pro plans.weather_forecastWeather forecast at a point for 1–9 days (MET Norway, CC BY 4.0): temperature, rain, wind and gusts.disaster_alertsCurrent disasters from GDACS (floods, cyclones, droughts, wildfires, volcanoes, earthquakes) with green / orange / red alert level, optionally inside a box [south, west, north, east].radar_scenesSentinel-1 radar scenes (Copernicus, via Microsoft Planetary Computer) over a box [south, west, north, east] between two dates — for flood mapping through clouds and at night (the flood map itself runs in WaiMAP). Personal plan and up.datacenter_energyData center energy on the site climate (WAI energy model, NASA POWER): annual PUE, facility energy, cooling hours (free / adiabatic / chiller), water use (WUE) and waste heat for an IT load in MW.environment_baselineBiodiversity baseline at a point: species records within r km (2–25) from GBIF — records and species per group, the most recorded species, IUCN categories, threatened species. Presence data, not surveys. Pro plans.verify_reportCheck a WaiMAP report serial (WMR-YYYY-NNNNNN-XX): whether it is a genuine, verifiable WaiMAP report and its public metadata.verify_hardtestCheck a WaiMAP Hard Test certificate (WHC-YYYY-NNNNNN-XX): stages, grade and independent verifier record.standards_lookupEngineering standards and regulations in the WaiMAP library by country code and / or words (e.g. country "TR", query "overhead line clearance").country_rulesRules first — call before calculations: the laws, regulator orders, grid code and standards that govern a site by country (ISO code, or lat/lng) and sector (solar, bess, wind, hydro, thermal, grid, datacentre, buildings, civil), in order of precedence (law > grid code > contract standards > national annexes > international). Checks the project inputs (installed kW per place, commissioning date, equipment Hz, building floor m², data-centre IT kW) against machine-readable limits and compares the standards named in the contract with the library. For data centres (it_kw) it also screens waste-heat reuse to district heating (MWh, households, ERF) against EED art. 26(6) and the German EnEfG, and lists technology suppliers (approved = WHT agreement, theoretical = public information).bess_forecastBESS Forecast for Türkiye (zone TR, EPİAŞ) and the EU bidding zones (ENTSO-E: RO, HU, BG, GR, DE, AT, ES, IT_N, IT_S, PL, …): day-ahead price forecast for the next 14 days (P10/P50/P90), optimal battery arbitrage revenue for the next 14 days and the next 12 months (P10/P50/P90, per MW), recorded revenue of the last 365 days, and the model accuracy measured in a rolling backtest against the naive benchmark. Public holidays, bayrams, half days and bridge days are separate day classes. Set ranking=true for all zones ranked by 12-month revenue.site_load_forecastDay-ahead consumption forecast of one site from its own meter data (csv text: timestamp and kW per line, 5–60-minute, at least 3 weeks), with the accuracy measured on the site history against same-hour-last-week and the rolling weekly average, national holidays and bayrams as their own day classes (cc), and an optional peak-shaving battery plan (battery_kw, battery_kwh). Meter data is processed and not stored.drawing_checkCheck an electrical single-line diagram someone else drew (data centre, plant, substation, building): give the values written on the drawing — design load and redundancy (N, N+1, 2N…), MV / LV voltage, per path the transformer / UPS / generator units and ratings, the cable schedule and the protection table, the equipment labels. Returns red / amber / green findings with their basis: firm capacity of every path against the load (spare units out), redundancy labels without a spare unit, breaker rated current and breaking capacity against the transformer secondary current and the IEC 60909 short-circuit level, cable ratings (IEC 60364-5-52, indicative), duplicate and misspelt tags, the Tier IV notes, and the equipment each path needs. Copy what the drawing says — do not correct the values. The page waimap.wht-ai.com/drawing-check/ reads a PDF or image with AI and takes the engineer-signed review request.storage_hybrid_selectorStorage and hybrid screening in one tool (mode): technology = which storage fits a power / duration / cycling duty and the site (Li-ion LFP, sodium-ion, zinc-bromine, vanadium flow, iron-air, pumped hydro, compressed air, liquid air, CO2 battery, gravity, hydrogen) with round trip, footprint, replacements, maturity, reference projects and a relative lifecycle cost index (LFP 4 h = 1.00, not a price); hydro_hybrid = battery for the fast frequency band of a hydro plant, black start, floating PV on the reservoir, pumped-storage retrofit; dc_backup = data-centre diesel vs battery + diesel vs battery + gas vs battery only for the outage hours and the AI load-swing buffer; mining = diesel / HFO displacement with PV + battery (needs lat); coupling = DC- vs AC-coupled PV + battery, clipped energy recovered; weak_grid = short-circuit ratio, grid-forming battery or synchronous condenser to reach the target SCR.plant_forecastPlant Forecast for tomorrow: hourly output of a solar, wind or hybrid plant at lat / lng (MW, P10–P90 band from the weather ensemble), the day-ahead price of its bidding zone (cleared price once the auction is published, before that the BESS Forecast P50) and the revenue; with a battery the optimal charge / discharge hours, clipped energy under an export limit, curtailment in negative-price hours. Screening model on public weather forecasts — the plant's own SCADA forecast is better for its operator.generation_forecastNational day-ahead solar and wind generation forecast for tomorrow (PL, TR, DE, RO, HU, GR, BG, ES): hourly MW with P10–P90, and the measured skill of the model over the last 21 days against "same as yesterday" and its P10–P90 coverage. Where it lowered the price error in the test, it also feeds tomorrow's price in bess_forecast. Without zone: the list of zones with their skill.grid_flow_replayGrid flow replay: a week of measured hourly cross-border physical flows of a bidding zone with each neighbour (ENTSO-E A11; + = import), the net import, and the day-ahead prices of the zone and its neighbours. Summary per border here; the animated map replay opens in WaiMAP. week = any date in the week (default the last full week).reference_drawingsWaiMAP reference drawing library: real power-plant CAD drawings (cleaned) — Kaplan turbine assembly, unit layout, spiral case, draft tube, guide vanes, embedded parts, hydro generator (assembly, rotor, stator), governor oil-pressure unit and hydraulics; thermal / combined cycle: steam turbine HP casing, generator foundation loads, gas turbine generator single-line diagram, HRSG arrangement, instrument location, ladders and P&IDs, auxiliary steam P&ID — each with its inspection and test points and the governing standards, and a link to the vector PDF. Filter with query (word in the title or group).solar_supergridSolar supergrid screening: longitude connects hours, latitude connects seasons. With sites (2–12, each name, lat, lng, mw, cc) it reads one NASA POWER hourly year for all of them and returns the combined profile against each site alone (hours with output, monthly max/min, storage hours to a flat block: day/night and seasonal) and HVDC vs HVAC 765 kV for each link to the hub. With km and mw only it compares HVDC and 765 kV AC for one corridor (losses, circuits, St. Clair limit, asynchronous systems, break-even distance).tower_geometryOverhead-line lattice tower pre-design by the EN 50341-1 clearance method: from voltage (66–765 kV), tower type (suspension, tension, angle, terminal) and configuration (horizontal, delta, double_vertical, danube) it returns height, base and top width, crossarm length, level and mid-span phase spacing, earthwire position by shielding angle, right-of-way width, attachment points and clearance checks. Optional: sag, string, ground_clearance, deviation_deg, swing_deg, shield_deg, bundle. The node / member geometry, 2D elevation and DXF / OBJ files are in WaiMAP.tower_spottingAutomatic overhead-line tower spotting along a route: route points [[lat, lng], …] (vertices become angle / tension towers), voltage, optional conductor (lynx, hawk, drake, rail, cardinal, pheasant), max_span, tension_ratio. Reads the terrain profile from the WaiMAP DEM, places suspension towers on the longest spans that keep the ground clearance at the hot condition with the smallest extension, keeps stream beds free of towers and turns valley towers with uplift into tension towers. Returns the tower schedule (type, chainage, position, height, span, sag, clearance) and quantities.project_getA WaiMAP team project by its share code: name, mode, drawings (GeoJSON incl. CAD elements), inputs, notes.datacenter_designData center design (V5.37-2): rack density / IT class (enterprise, cloud, AI training, AI rack-scale 120–155 kW, next-gen 500 kW–1 MW per rack), Uptime Tier I–IV redundancy per subsystem with equipment counts and unit loading, hour-by-hour PUE and water on the site climate, stick-built vs modular schedule, indicative parametric CAPEX with the cost split, project finance (debt by DSCR / gearing; revenue only from your inputs), PUE cost sensitivity. Data Renoversity mode: once-through river / sea cooling (rej=once, gravity intake + outfall turbine), behind-the-meter supply (btm=1: firm plant + PV + wind + BESS; grid_mode island or grid backup) with green hydrogen on the surplus (h2=1); V5.38-3: firm technologies (gas engines, SOFC, aeroderivative / heavy-duty gas turbines, combined cycle) with indicative lead time and time-to-power, biomethane / own H2 fuel, AI load-transient buffer and auto-compare (firm_type=auto), V5.38-5: campus financial feasibility (cash flow, IRR, NPV, payback, DSCR, LLCR, LCOE, LCOH, tornado, scenarios; revenue from time to compute); V5.38-4: surplus offtake over a private wire (sold MWh, revenue, effect on H2, curtailment and net energy cost), prefab AI pods with time to compute (power as the critical path, per firm-power option and phased ramp), retrofit of air-cooled halls, heat pump and thermal storage, waste-heat and grid-connection regulation screening (results only); mode=site_finder ranks locations in a bbox. Concept level.dc_brownfield_sitesData-centre energy hubs on existing power-plant sites: retired, retiring and coal-exit thermal plants in a European country ranked by grid connection (plant MW vs facility load, 220-400 kV within 5 km), latency to the nearest data-centre hub, time to power, gas supply and cooling water, with a first 24/7 hub sizing (gas engines N+1, PV, BESS, grid). Screening level.dc_distribution_test_planSystem-level FAT / SAT / integrated test plan for data-centre power: AC with UPS, transformer + rectifier to an 800 V DC bus, solid-state transformer, SST with battery on the DC bus — certificates, factory tests, site tests (protection coordination, minimum fault current, converter loss, control interaction, AI pulse load, restart, safe isolation and residual energy), periodic tests, hold points, documents. Same engine as WAI (id dc_distribution_test_plan).offgrid_hybridFuel saving for a site on diesel / HFO gensets (mine, island, industry): hourly 8760 model of the gensets at part load with PV and a battery — best PV MWp + battery MWh, fuel saved (t/yr, %), solar fraction, curtailment, CO2; economics when fuel price and CAPEX are given. Same engine as WAI (id offgrid_hybrid).main_project_infrastructureMain project (housing estate, district, 50–500 villas / apartments with social, sport and office buildings) from TYPE buildings placed on the site: totals per type (units, persons, GFA, coverage, FAR), site electrical peak with coincidence, substations (kiosk transformers) by capacity-constrained clustering, MV ring(s) with N-1 cable and voltage drop, LV service cable per building, FTTH fiber (splitters, feeder, loss budget), water supply (Hazen-Williams, fire flow, pressure, storage), gravity sewer (Manning, depths, manholes), storm drainage (rational method, detention), natural gas (PE 4 bar), street lighting, low-current / CCTV ducts, bill of quantities (type × count + networks, no prices) and the site programme. Screening level.building_lv_networkBuilding LV electrical network study (one building or a group): from the boards (your ids, parent, kind, kW, cable) or a short description (flats, floors, shops, lifts, EV points, PV kWp, BESS kW / kWh) → cables sized (IEC 60364-5-52), transformer chosen, load flow and IEC 60909 short circuit with pandapower, Power Grid Model cross-check, PV-export case and an 8 760-hour time series (Power Grid Model batch). Per board: demand, Ib, cable, Iz, breaker In / Icu, voltage drop from the origin vs the limit, Ik3 max, Ik1 min and TN disconnection, status. Annual: transformer peak and reverse-power hours, energy from / to the grid, losses, lowest voltage and when.energyplus_runRun an EnergyPlus 25.1 building energy simulation (U.S. DOE / NREL engine) on WaiMAP's calculation server: send an IDF (≤ 8 MB, HVACTemplate ideal loads allowed) and the site lat / lon; the weather file is built from NASA POWER hourly data for one real year. Returns monthly heating / cooling kWh, annual totals and kWh/m², peak loads, zones, warnings and severe messages, run seconds — unchanged from the engine. A run takes about 20–90 s (first call after idle adds a container start).bess_test_suiteDetailed BESS test procedures from the factory to operation: cell (OCV / ACIR grading, K-value self-discharge, capacity at reference conditions, manufacturing evidence), module (weld resistance and strength, insulation, coolant leak), rack (polarity, torque, pre-charge and contactors, BMS accuracy and protections, capacity and cell spread), BMS hardware-in-the-loop, PCS, enclosure (heat run, liquid cooling, IP, fire and gas), integrated FAT, communication and cybersecurity, SAT (capacity and RTE at the POI, PQ, response, SOC, thermography, reliability run) and the operation re-test matrix (1 month to 10 years) — each with purpose, steps, instruments, records, acceptance, sampling and hold / witness level. Same engine as WAI (id bess_test_suite).bess_spec_checkBESS datasheet / offer check on one comparable basis: energy flow of one full cycle (energy bought at the POI, losses in battery, PCS, transformer, auxiliaries, energy delivered), RTE at each measurement boundary (DC, PCS, POI, POI incl. auxiliaries; measured when meter readings are given), kWh vs kW (battery C-rate vs PCS, duration, low-temperature derating), cycle-life claim (equivalent full cycles, lifetime throughput to EOL, years for the project duty, the eight questions to ask the supplier), BMS balancing time, effect of one weak cell. Same engine as WAI (id bess_spec_check).bess_test_planBESS FAT / SAT / periodic test plan by country (RO / EU, TR, SA / GCC, US) and service (arbitrage, FCR, aFRR, C&I, backup): certificates and type tests, factory and site tests with acceptance criteria, hold points, documents, country requirements (verify flags) and, with a site, climate → auxiliary load, ageing and augmentation. Same engine as WAI (id bess_test_plan).bess_site_agingBattery storage at a site climate: HVAC / auxiliary consumption (MWh/yr, share of discharge), cell temperature, calendar + cycle ageing (LFP / NMC / LTO / NaS / Na-ion / Zn-Br), SOH by year, years to 80 / 70 %, augmentation table. NASA POWER climatology at the point or a country profile. Same engine as WAI (id bess_site_aging).single_line_diagramNetwork single-line diagram summary: the HV/MV network around a point (OpenStreetMap: lines, substations, voltages) or from your own model text (PowerFactory DGS, CGMES EQ, pandapower JSON) → topology: TM / DM substations, rings (open at normally open points / closed), feeders, ring ratio (% of MV km on ring backbones), and the point of connection for a project of project_mw MW (nearest suitable substation busbar or line, distance, route estimate). Summary only; the drawn SLD (overview, TM focus, feeder SLDs), map, plant-list merge and DGS / CGMES / pandapower export open in WaiMAP. OSM has no switch states (rings shown as possible rings).tender_comparisonInvestment decision / bid ceiling for candidate PV sites in a tender with a fixed tariff and a one-off contribution fee (€/MW, YEKA-type auctions): per site the specific yield (WaiMAP PV yield engine, pvlib on PVGIS TMY, or your figure), MWh per MWe, revenue, LCOE and project IRR with and without the fee, NPV at the WACC, the fee as years of revenue, the bid ceiling (largest fee with IRR = WACC) and the CAPEX ceiling, ranking and sensitivity (CAPEX ±10 %, yield ±5 %). Pre-tax, constant euros. Screening level.site_layoutSite boundary → plant layout in one step (solar PV, wind or battery storage). Give the site in one of three ways: polygon (drawn points [[lat, lng], …]), kml or geojson text (a parcel file), or lat + lng + area_ha for a quick what-if (a virtual square or circle of that size around the point). WaiMAP lays the plant inside the boundary with a setback: solar — fixed tables (E–W rows, 2P) or single-axis trackers (N–S rows, 1P) at the ground-coverage ratio, internal roads, modules, strings, MWp, MWac at the DC/AC ratio (optionally trimmed to an AC grid limit), power stations, land per MWp and the specific yield / annual energy from the PV yield engine (pvlib on PVGIS); wind — staggered turbines spaced in rotor diameters along / across the prevailing wind, setback = tip height, MW and MW/km²; BESS — 20 ft containers with fire spacing, MWh and MW. Headline numbers and a short bill of quantities; the drawn layout, cables, CAD and report open in WaiMAP. Screening layout, not a construction layout.electrification_planSettlement-first electrification plan ("electricity by city"): for a city, town or village (a place name, a point, a polygon or a list of settlements) WaiMAP estimates the population (given, or OSM buildings × household size × residential share), the demand (World Bank Multi-Tier Framework tier per household, schools, clinics, shops, places of worship, street lighting, productive use, growth over the horizon; peak and hourly profile), then the least-cost supply per settlement over the horizon: grid extension (MV spur to the nearest grid point, transformers, LV network, voltage drop and losses), mini-grid PV + battery (+ diesel backup, hourly dispatch on the PV yield at the site) or solar home systems; utility view (substation MVA, rooftop PV, peak-shaving battery) for towns; clusters on one mini-grid or one MV spur; forced-grid cost, CO2 avoided against diesel, phasing year 1 / 5 / 10. Costs are indicative defaults (EUR) — pass your own. Screening level.
Extension permissions
point.read · map.read · map.draw · project.read · cad.read · cad.write · ui.notify · gis.read · gis.write · gis.run — a call without the permission is refused. Manifest and SDK: see the extension guide shipped with WaiMAP (extensions/sdk/wmd.js, sample extensions/site-buffer/).
GIS plugins — add tools to the WaiMAP Toolbox Live
A plugin is a wm-Digamma extension (a web page you host) that declares gis_tools in its manifest. WaiMAP lists each tool in the GIS workbench Toolbox, builds the form from your parameters, sends the chosen layers to your page (sandboxed: no WaiMAP cookies, storage or DOM) and adds what you return as a new layer, styled, with a report. Your tools also work inside members' models and scripts.
manifest.json
{ "id": "my-hexbins", "name": "Hexbin summary", "version": "1.0.0",
"entry": "https://your-site/hexbins/index.html",
"permissions": ["gis.read", "gis.write"],
"gis_tools": [{ "id": "hexbins", "name": "Hexbin summary", "cat": "My company",
"desc": "Points → hexagons with count / sum / mean",
"params": [{ "k": "layer", "label": "Point layer", "type": "layer" },
{ "k": "size", "label": "Size m", "type": "num", "def": 250 },
{ "k": "field", "label": "Value", "type": "field", "of": "layer", "optional": true }] }] }index.html
<script src="https://waimap.wht-ai.com/extensions/sdk/wmd.js"></script>
<script>
WMD.onGisTool("hexbins", async ({ params, layers }) => {
const fc = myHexbins(layers.layer, params.size, params.field);
return { fc, name: "Hexbins", style: { kind: "graduated", field: "count" },
report: { title: "Hexbins", rows: [["Cells", fc.features.length]] } };
});
WMD.ready();
</script>- Parameter typeslayer · num · field (of a layer) · fields · text · select (opts) · bool
- Methods
gis.layers,gis.layer(gis.read) ·gis.addLayer(gis.write) ·gis.runany built-in tool (gis.run) — plus the map, point and CAD methods above - Limits50 000 features per layer sent to a plugin, 8 MB per returned layer; a plugin cannot call other plugins
- Try itSample plugin:
/extensions/gis-hexbins/. In WaiMAP: GIS workbench › Plugins › Developer mode → your manifest URL. When it works: Submit for review. - For membersToolbox (80+ tools: overlay, proximity, geometry, grids, selection, data management, conversion, spatial statistics, regression, interpolation), ModelBuilder (chains, batch, JSON export), Script (JavaScript with the
gisAPI, Python via Pyodide)
Sample plugins — installed in every WaiMAP, open source to copy
Six working plugins ship with WaiMAP and appear in GIS › Toolbox under “Extensions”. Each is three small files: manifest.json, index.html and a pure plugin.js (run(layers, params) → {fc, name, style, report}) you can test in Node and copy as a starting point.
- PV table layoutsite polygons → fixed-tilt tables, rows, MWp, ground cover — manifest · plugin.js · index.html
- Wind turbine spacing checknearest-neighbour distance in rotor diameters, too-close pairs — manifest · plugin.js · index.html
- Route lengths & cable quantitieslength per line and class, slack and spare, drum count — manifest · plugin.js · index.html
- Area by classm² / ha per polygon and totals by a field — manifest · plugin.js · index.html
- Reach ringsdistance rings around points — manifest · plugin.js · index.html
- Hexbin summarypoints → hexagons with count / sum / mean — manifest · plugin.js · index.html
Python client and examples
One file, standard library only: waimap.py. Examples: list tools · batch site screening from CSV · PV yield by site and tilt · main project infrastructure · same-year climate (partner). Full reference: API reference.
Marketplace & Founding Developer Programme Live
Developers and designers publish to the WaiMAP Marketplace: extensions (plugins, with GIS Toolbox tools), GIS models (ModelBuilder chains), CAD block libraries, AutoLISP routines and map styles. Each listing and each new version is reviewed; members see ratings, reviews and install counts and install in one click.
- 1 · KeysOpen the Developer console and create a free test key (MCP and map services, sandbox limits).
- 2 · BuildExtensions with the SDK above (load for development in GIS › Plugins); models, blocks, LISP and styles straight from the app.
- 3 · PublishSend it for review — free or paid (USD 1 – 500 per month or year). You get an e-mail when it is live.
- 4 · Earn0 % commission for 12 months from your first approval, then a 20 % commission. Live API key with your first approved listing. Payouts monthly from USD 100.
Open the Marketplace Developer console Developer Programme (PDF, 9 pages)
New for developers: the IFC4 writer behind Drawing to Revit & Tekla (WaiIFC — columns, beams, members, extrusions, standard profiles) and the steel engine (WaiSteel) can be used from your own extension.
Services available now
MCP API
Every member (test quota) · live limits with the API
POST api/mcp.php — JSON-RPC 2.0 (initialize, tools/list, tools/call). Sign in from your AI app with OAuth 2.1 (discovery: /.well-known/oauth-protected-resource) or send Authorization: Bearer wmk_… (developer key, shown once, stored as a hash). Tools listed below come from the server itself; waimap_commands / waimap_run reach the engines and W-GIS in your open WaiMAP tab (AI agent link). Skills: /skills.
wm-Digamma extensions
Team and above
A web page + a manifest {id, name, version, entry, permissions[], tools[], scope}. WaiMAP opens it in a sandboxed iframe (no access to cookies, storage or the page); every postMessage call is checked against the permissions in the manifest; declared tools become Brain tools while the extension is open. SDK: extensions/sdk/wmd.js.
Report verification lookup
Public
GET api/verify.php?action=lookup&id=WMR-YYYY-NNNNNN-XX → minimal public metadata of an issued report and, while verification is active, the SHA-256 of the verified files; the file check runs in the browser (/verify/{id}). Unknown ids get one generic answer (no enumeration).
Shared layer catalogue
Public list
GET api/layers.php?action=list → the map layers WaiMAP may show (id, name, category, attribution, licence, zoom range). Only layers cleared for commercial use are listed; each layer's licence and attribution apply to anything you build with it.
Example apps you can build
Drone defect report
Observe + WaiSpace + report verification
Upload drone photos and orthophotos to WaiSpace, mark defects at the site you watch in Observe, issue the inspection report and let the client check it on the verify page.
Pipeline monitoring
MCP (project_get, weng_run) + Observe
Read the pipeline route of a team project, re-check wall thickness for a new MAOP with W-ENG and watch the corridor for construction or hazard events.
Investor portfolio screening dashboard
MCP (pv_yield, wind_aep, grid_loadflow)
Run yield and grid checks for every site in a portfolio from your own dashboard and rank them with your own criteria.
Municipal zoning check
wm-Digamma extension (point.read, cad.read, map.draw)
An extension that tests a drawn parcel or building against local zoning rules and draws the setbacks on the map.
Field inspection app
wm-Digamma extension (project.read, cad.write, ui.notify)
A checklist that adds inspection points to the project drawing and reports progress to the team.
Examples show what the available services allow; they are not WaiMAP products.
How to start
- API keys today: subscribe to the Business plan (or Enterprise); the WaiMAP administrator issues your MCP key (Admin → wm-Digamma & API).
- Extensions today: Team plan or above; the administrator adds your manifest (https URL or JSON) for your company or for everyone.
- Self-service test / live keys: coming.
- Partner extensions in the WaiMAP catalogue: submit in the Partner Registry (/registry); 20 % of the extension revenue to WaiMAP.
Rules
- Licences of the map layers apply; a layer with commercial_ok:false is never served or listed.
- Partner work is kept separate from WaiMAP members' projects; partners find their own customers and receive client requests through the Partner Network (/partners).
- No access to members' data: an extension sees only what its manifest permissions allow in the open project of the user who runs it; an API key reads only team projects by their share code.
- AI usage through WaiMAP is billed from the WAI W$ balance of the account that pays.
Also available
- WaiMAP MCP — your AI shouldn't guess the engineering; now it can call the engineConnect Claude, ChatGPT, Copilot or Cursor to https://waimap.wht-ai.com/api/mcp.php and sign in with your WaiMAP account (OAuth; developer keys wmk_ also work). Test quota for every member, live limits on plans with the API. Ready-made skills for AI apps: https://waimap.wht-ai.com/skills. Results are headline summaries with an open_in_waimap link; the full study, BoQ, CAD/BIM files and verified reports stay in WaiMAP. Tools: W-ENG engineering modules (conductor selection, sag / clearance, cable sizing, pipe wall thickness), PV yield (pvlib), wind farm AEP with wakes (PyWake), grid load flow and short circuit (pandapower) on the compute server, and reading a team project by its share code.
- Validation registry (public)Every engine comparison as JSON: api/report.php?action=validation&format=json (also as PDF and on the validation page).
- Project and report linksTeam projects open by share code (?project=CODE); report pages can be shared as private links or published to the gallery after review.
- Standard file formatsData comes in and goes out in standard formats (Shapefile, GeoJSON, KML, DXF, GeoTIFF, LAS, Excel, CSV, PVsyst / SAM weather files), so other tools can read WaiMAP results without an API.
- API reference (OpenAPI 3.1)Every HTTP endpoint and the MCP server with parameters, plan requirement and a curl example: /api-reference (JSON: api/openapi.php).
- GIS web servicesPublic WFS and OGC API – Features layers (api/ogc.php) and ArcGIS REST layers (api/arcgis.php) load into the GIS workbench; results leave as Shapefile, GeoPackage, KML, Esri JSON or CSV / WKT in about 200 coordinate systems.
- Machine-readable summaryllms.txt: a plain-text summary of the platform for AI assistants and crawlers.
WaiMAP