Diesen Artikel gibt es noch nicht auf Deutsch — Sie lesen ihn auf Englisch.

A Layered PSD Was Promised, a Flat File Arrived: An Order Story

2026-11-236 min read
PSDPhotoshoplayers

This is a walk through one real review. There is no author name here, only what went wrong, whose mistake it was, and what is inside a PSD file now. If you take a map into Photoshop to recolour the water, hide labels or put your own lettering between layers, this story is about you.

What was ordered

In October 2026 a client paid for a map of a city of about 120 km² in the PSD format. It was a deliberate choice: the format page promised real Photoshop layers, not a single picture. Layers are what make a map usable as a design file: you can change the colour of the parks, remove some of the labels, or slide your own texture under the buildings.

What went wrong

The file opened, but the Photoshop layers panel showed a single row: the whole map merged into one image. A file like that can only be handled as a photograph. The client left a low rating, and the client was right.

Whose mistake it was, and what it was

The mistake was ours. The PSD builder works in two passes. First it draws every thematic group of layers separately and assembles them into a layered file, map.psd. Then it attaches georeferencing: a map.pdw world file with the pixel size and the sheet corner, and a map.prj file with the coordinate system, so the map can be placed correctly in a GIS.

The second step had a bug in the code: it failed on every layered order that carried georeferencing. The program took that failure for a failure of the whole layered build and switched to its fallback, a flat file meant for the case when layers cannot be built at all. The fallback wrote under the same name, map.psd. By then the finished layered file was already on disk, and the flat copy overwrote it. The buyer paid for layers and received one.

This had been happening since late September 2026, until the complaint exposed it. The build log confirmed the cause: first a line about the finished layered file, a few seconds later a line about a flat file at the same path.

What we fixed

  • Georeferencing was moved out of the layered build. If it fails, the failure goes to the log, and the client gets the layered file as it is: without the world file, but with every layer.
  • The flat fallback never runs once the layered file is written. If the layers are on disk, nothing overwrites them.
  • The bug in the georeferencing step itself was fixed, so the layered file again arrives together with map.pdw and map.prj.
  • Tests pin the behaviour: a georeferencing failure after the layered build calls the flat path zero times, and the bytes of the layered file stay intact.

We rebuilt the affected orders, and every new PSD file holds six layers. The client received the new file, our apology and a credit to the account. The general rule of the site applies here too: exporting the same frame again, in the same or another format, is free (a smaller or shifted frame is a new purchase).

What it looks like now

So that the client's city is not shown, we rebuilt an order of the same size on another city, Ljubljana, with a frame of about 12 by 10 km and the same default settings.

The osm2cdr.com map wizard: Ljubljana, the "Format" step with PSD selected

The wizard delivered an archive with three files: map.psd, map.pdw and map.prj. The PSD itself is 6000 by 4863 pixels with exactly six pixel layers, from bottom to top:

  1. Water: rivers, lakes, ponds.
  2. Green areas: parks, woods, lawns, land use.
  3. Buildings: buildings and structures.
  4. Roads: streets, footpaths, cycle paths, railways, car parks.
  5. Infrastructure & POI: boundaries, power lines, fences and place icons such as cafés, shops, schools and stops.
  6. Labels: street and place names on a layer of their own, so they can be hidden or recoloured without touching the map.

When contour lines are part of the order, a Relief layer is added, and a sheet with a backdrop gets a Backdrop layer. Every layer keeps its transparency, so layers can be reordered, hidden and blended like any other Photoshop layers.

The layers of the PSD file from this order, rendered with the psd-tools library (not a Photoshop screenshot): top layer first, a thumbnail of each layer on a transparency checkerboard on the left, the merged image of the same piece of central Ljubljana on the right

The merged PSD image at full resolution: central Ljubljana, a piece of about 2.3 by 2.3 km, rendered with psd-tools from the order file

How to check your own file

Open the PSD in Photoshop and look at the Layers panel: a city map should show six rows with the names above. If you see one row called "Background" or "Layer 0", it is a flat file. Write to us and we will rebuild it. Programs that do not read PSD layers will show the file as one picture; that is a property of the program, not of the file.

Why the fallback exists at all

A flat file is not a mistake in itself. Some orders cannot be split into layers, for example when the renderer cannot draw a group on its own. In that case one merged image is better than no file. The bug was not that a fallback existed but that it was allowed to write over a finished layered file. That door is now closed: the fallback only runs when no layered file was written.

Questions people ask

Why are the layer names in English? Every version of Photoshop and every other editor reads them the same way, and it does not change what the layers contain.

Can I get a layer for every small thing, schools apart from cafés? In a PSD the layers are grouped by theme so the file stays easy to work with. If you need a finer split, take a vector format such as SVG or PDF, where you get as many layers as the order has.

Does the PSD keep its position on the globe? Yes. The map.pdw and map.prj files next to it tell a GIS where the image lies and in which coordinate system, so the picture lands in place on top of other data.

For the details of the format see the PSD format: structure and layers, for working with the map in Photoshop see an OSM map in Photoshop, and for design ideas see a Photoshop map as a poster.

Make the same map Order a custom map

← All articles