Map to Vector: Turning an Old Map Scan into an SVG
5 min read
To turn a map image into a vector, convert the scan or screenshot to SVG. Every line and letter on it comes back as a filled shape, so the map prints sharp at poster size and its colours can be changed in a vector editor.

We tried it on the kind of map people reach for first, an old one out of copyright. Ours is lower Manhattan from D. T. Valentine's 1860 map of New York: black engraving on paper gone cream, ward boundaries painted yellow by hand, fire districts ruled in red. We wanted two prints from it, one that still looks like 1860 and a gold-on-navy poster for a modern room.
Cutting a neighbourhood out of the sheet
The scan of the whole sheet is 3500 by 4415 pixels, about 15 megapixels. No plan converts more than 5 at full size, and a bigger picture is shrunk in the browser before it uploads. On a map the shrinking lands on the lettering. Street names on this sheet are about ten pixels tall, and on a 5-megapixel copy they would be under six, with the lowercase letters three pixels high.
So we cut lower Manhattan out at the scan's own resolution, 1680 by 1190 pixels, and every result below comes from that piece. It also fits Drawing, the setting behind the poster further down, which stops at roughly 2.5 megapixels.
What Regular image kept
We uploaded the piece with the settings untouched. With Image type left on Regular image, the SVG holds everything the scan shows: 19,457 shapes in 1,851 flat colours and 237 gradients, 9.1 MB.
The paper is one rectangle at the back, with a soft cream gradient across it. Over it the hand colour keeps the uneven wash of the brush, and the engraved hatching on the water comes back line by line. Street names are outlines of letters: sharp in a print of any size, but you cannot retype them or search for one.
For the framed print we needed nothing else. At poster size it reads like the sheet, down to the red fire district line running over the letters of Nassau Street, as it does on the paper.
Ninety crumbs of yellow
For the poster we first tried to restyle this same file. The plan was the usual one for maps: click a yellow boundary, run Select Same Fill (Select › Same › Fill Color in Illustrator, Edit › Select Same › Fill Color in Inkscape) and give everything it finds a new colour.
It found 90 shapes, and they were crumbs. The commonest yellow in the file belongs to small specks along the lines; the lines themselves are in other yellows. The brush never laid the same yellow twice, so the boundaries came back in 97 solid yellows and 42 yellow gradients. Even with all 97 picked, the stretches filled with a gradient, along Broadway for one, stayed yellow. Setting Gradients to Stepped turned those gradients into flat pieces and left the count of yellows at 97.
A map drawn in software behaves differently. A park map we converted earlier came back with about twenty fills, one per colour the cartographer chose, and there one selection takes a whole river.
Black ink, then gold on navy
The poster needed a file with few colours, so we converted the piece again with Image type on Drawing, which Lite and every plan above it offer. The map came back in black on white: 11,562 shapes in eight colours, 4.7 MB.
The colour is gone, and the yellow and the red went in different ways. The yellow wash disappeared and left the dotted engraved line it was painted over. The red was dark enough to count as ink. The fire district line became a thick black bar that now covers the name of Nassau Street, and the big red district numbers became solid black blots.
Recolouring this file took two selections. Select Same Fill on the black, make it gold; on the white, make it navy. A few thin grey edges along the lines stay grey and barely show on the dark ground. The red numbers are gold blots now, and we kept them. The black-and-white file from before the swap is the one a laser engraver or a one-colour screen print would take.
The same streets through a threshold
Most tools make a black-and-white version of a scan with a threshold: every pixel darker than a set grey turns black, the rest white. potrace does exactly this, as does Trace Bitmap in Inkscape when set to brightness. Our potrace run used the middle setting, 128 out of 255.
Much of this engraving is fine grey line on cream paper, paler than that cut. The block edges along Greenwich and Trinity Streets broke into dashes, the names on them lost letters, and the hatching on the water turned into dotted lines. Drawing kept the block edges whole and the names readable.
Your own map
If what you need is the streets of a city as they are today, for a minimal poster or a map cut into wood, look at OpenStreetMap first: it holds them as vector data already, every street named. Converting is for when the picture itself is what you want, an old sheet, a park map with its own symbols, a map someone drew by hand.
To see your own map converted before paying, use the demo on the home page: no account, and you get the result to look at as an image. Files need a subscription. Lite takes maps up to 3 megapixels with both Image types; Pro and above take 5 and also export EPS and PDF. A finished SVG waits in the workspace queue and on your dashboard for 24 hours by default. Uploads can be PNG, JPEG, WebP or BMP, 50 MB at most.
Some of the work stays manual. Names are drawings of letters, so a name you change is set again in a font. Colour printed over the engraving turns black in Drawing, as the district numbers did here, so zoom in on the numbers and coloured lines before you send it off.
Related guides
- How to Vectorize a Blueprint or Technical Drawing — A 1921 house plan on yellowed tracing paper converted to SVG: with the paper or as black ink, what a threshold loses, hatching, and scale in CAD.
- How to Turn a Sketch or Drawing into a Vector — A pencil character sheet converted to SVG three ways: as pencil, inked in black, and as bare line art on colour. Plus what a potrace threshold drops.
- JPG or PNG to SVG for Laser Cutting: One Panel, Start to Finish — A deer panel from PNG to cut file, a house panel in layers of colour, and a line drawing that needs Centerline: what the laser reads in each file.