Skip to content
transform

Convert Merchich to WGS 84

Convert coordinates from Merchich (EPSG:4261) to WGS 84 (EPSG:4326) — official EPSG transformation parameters, accuracy and area of use, with a free in-browser converter.

Direct link to this transformation: epsgtransform.com/transform/epsg-4261-to-epsg-4326

About converting Merchich to WGS 84

Merchich (EPSG:4261) is Morocco's classical datum on the Clarke 1880 (IGN) ellipsoid, with its origin at the Merchich observatory near Casablanca. Moroccan mapping is typically published in the Lambert conformal zones based on it — Maroc Nord and Maroc Sud (EPSG:26191, 26192).

The published EPSG transformation to WGS 84 is a geocentric translation accurate to several metres. For most map-integration purposes that is sufficient; geodetic work in Morocco now uses ITRF-based reference frames.

If your source data is in Lambert Maroc coordinates, unproject from the correct zone first — Nord and Sud overlap in places, and mixing them produces kilometre-scale errors.

Why people convert EPSG:4261 to EPSG:4326

  • Publishing Moroccan Lambert-zone data on global basemaps
  • Georeferencing Moroccan topographic and cadastral sheets
  • Migrating utilities data from Merchich to GPS workflows
  • Harmonising cross-border datasets in the Maghreb

Try it: Casablanca, Morocco

Input (EPSG:4261): -7.5898, 33.5731

Official EPSG transformation from Merchich to WGS 84

The EPSG Geodetic Parameter Dataset defines 1 transformation between Merchich (EPSG:4261) and WGS 84 (EPSG:4326). Its parameters, accuracy and area of use are listed below.

Merchich to WGS 84 (1)

EPSG:1166±7 m
Method:
Geocentric translations (geog2D domain)
Area of use:
Morocco - onshore
Scope:
Military survey.
ParameterValueUnit
X-axis translation(tx)31metre
Y-axis translation(ty)146metre
Z-axis translation(tz)47metre

Derived at 9 stations. Accuracy 5m, 3m and 3m in X, Y and Z axes.

Convert EPSG:4261 to EPSG:4326 in code

The same transformation with common GIS tools and libraries:

from pyproj import Transformer

transformer = Transformer.from_crs("EPSG:4261", "EPSG:4326", always_xy=True)
x, y = transformer.transform(-73.9857, 40.7484)
print(x, y)

Source: EPSG:4261Merchich

geographic system using latitude and longitude on an ellipsoid · Area of use: Africa - Morocco and Western Sahara - onshore

+proj=longlat +ellps=clrk80ign +no_defs +type=crs
More about EPSG:4261

Target: EPSG:4326WGS 84

geographic system using latitude and longitude on an ellipsoid · Area of use: World (by country)

+proj=longlat +datum=WGS84 +no_defs +type=crs
More about EPSG:4326

Frequently asked questions

How accurate is Merchich to WGS 84?
The published geocentric translation is good to roughly ±7 m. That suits mapping; survey-grade work should use Morocco's modern ITRF-based frame.
Which Lambert zone is my Moroccan data in?
Maroc Nord (EPSG:26191) covers the populated north including Casablanca and Rabat; Maroc Sud (EPSG:26192) covers the south. The wrong zone shows up as a systematic northing offset after conversion.
How accurate is converting Merchich to WGS 84?
The most accurate official EPSG transformation between these systems is accurate to about ±7 m within its stated area of use. Browser-based converters approximate datum shifts with Helmert parameters; for surveying-grade work apply the official transformation in a desktop GIS.
Does my data leave the browser when I use this converter?
No. All coordinate transformations are computed locally in your browser using proj4js. The coordinates you enter are never transmitted to any server.
Need the reverse? Convert EPSG:4326 to EPSG:4261