Mobile app version of vmapp.org
Login or Join
Lee3735518

: Convert PNG/JPEG/PDF map to SVG for laser cutting I am trying to convert a PDF map into SVG to then send it out to the laser cutter. I have been using the Image Trace tool with the "technical

@Lee3735518

Posted in: #AdobeIllustrator #ImageTrace #LaserCutting #Maps #Svg

I am trying to convert a PDF map into SVG to then send it out to the laser cutter.
I have been using the Image Trace tool with the "technical drawing" presets (and a bit of tweaking), which give more or less the result I want. None the less, there is a lot of cleaning required after this step: there are lines overlapping each other, breaks in the lines, etc. (see pictures below)
So I was wondering if there is another tool, or set of procedures than can cleanly convert a PDF or JPEG or other pixel based map into SVG.

The goal is to then automate these steps so that virtually any map can be processed.

Here are pictures of 1) the original file, 2) how it looks after Image Trace, 3) how it looks after manually cleaning it, and how it should be more or less for laser cutting:



EDIT: I think the key in this project is really to have good files to start with. The US Census site has a bunch of maps (including Congressional District) in various formats.
Mike Bostock provides a very useful tutorial for converting shapefiles (.shp) to SVG, and even more. Just Google "Command-Line Cartography".

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Lee3735518

3 Comments

Sorted by latest first Latest Oldest Best

 

@Caterina889

Did you grab a congressional district map just as an example, or will this project be using this type of map?

If you are making CD maps, then you should be able to find vector versions at a state or federal level -- don't use raster and convert with image trace! If vectors are unavailable you should certainly be able to find map shapefiles which can be converted to vector. Census.gov in the geography section has these for sure. They may be available on state government sites as well.

I'm not a map expert but check out quantumGIS (or search 'shapefiles to ai' or shapefiles to vector, there may be other tools for this).

10% popularity Vote Up Vote Down


 

@Si6392903

One option is to isolate each color and trace color shape, not the already drawn outline, because it will be broken.

Option two, buy an already vectorized map.

Not "every" map can be vectorized. depends on the quality of the source material.

A lot of work done on this kind of projects is done by hand. And that is option three, which is the most viable. It requires an initial effort but if you want top profit from it it can worth it.

Lasser cutting also needs some minimal dimensions, so a hand vectorized map will give you flexibility in making some shapes less detailed, for example, to make an more abscract map.

See if the user licence accept this kind of usage.

10% popularity Vote Up Vote Down


 

@Samaraweera207

Given the simplicity of the areas required for your map i would suggest drawing them in a vector based application such as Adobe Illustrator using the pen-tool.

Another but by no means efficient method would be to open the Image in photoshop and using the Hue/Saturation tool to greyscale the image, then use Image Levels to improve the contrast and the areas color. You could then use Image Trace in Illustrator.. but this method while appears like a quick fix from simple Google Search Results, won't give you great results.

Assuming your PDF isn't already vector shapes (in which case you can just open it in Illustrator) i would highly suggest just drawing these shapes.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme