TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a package that can be used to make political maps in LaTeX? Like a world map or a map of Europe?

share|improve this question
You want to draw a map? Or just include an image of one? If the latter, \includegraphics might be the appropriate thing to research – Seamus Mar 11 '11 at 11:57
You can find on the web, free world maps in .pdf or .eps. After you can use TikZ or Pstricks to modify or add informations. – Alain Matthes Mar 11 '11 at 12:18
@altermundus perhaps you could offer an answer to this question explaining how you might modify/overlay your own information to an existing pdf map? – Seamus Mar 11 '11 at 12:27
Wikipedia is a good resource for SVG maps. The link is to a list of maps of Europe, for example. – Seamus Mar 11 '11 at 12:29

The pst-geo bundle can handle the CIS world data. It needs the latex->dvips->ps2df sequence, because the data is read on PostScript level.


\psmeridien{2.32}   \psparallel{48.85}


enter image description here

share|improve this answer
This was what I was looking for.... thank you! – user4134 Apr 5 '11 at 20:39

The author of this code is Paul Gaborit (fctt)

  \foreach \x in {0,0.1,...,1.01}{
    \path (#1.south west) -- (#1.north west) coordinate[pos=\x] (x);
    (#1.south west |- x) ++(-.1,0)
    node[left]{\pgfmathprintnumber{\x}} --  (#1.south east |- x);
    \path (#1.south west) -- (#1.south east) coordinate[pos=\x] (x);
    (#1.south west -| x) ++(0,-.1)
    node[rotate=90,left]{\pgfmathprintnumber{\x}} --  (#1.north west -| x);
  \path (#1.south west) -- (#1.south east) coordinate[pos=#2] (x);
  \path (#1.south west) -- (#1.north west) coordinate[pos=#3] (y);
  \coordinate (#4) at (x |- y);
  \node[inner sep=0cm] (image) {\includegraphics[width=10cm]{eu}};
  \defpt{image}{0.75}{0}{trois quart bas}
  \fill[red] (milieu) circle[radius=2pt];
  \fill[red] (trois quart bas) circle[radius=2pt];

enter image description here

enter image description here

share|improve this answer
It seems to me like this code just includes an map with \includegraphics[width=10cm]{eu} and then draws a grid around it with no apparent purpose. – ipavlic Mar 11 '11 at 13:27
@ipavlic: The grid is used to add nodes on the map to modify the informations, then you can remove the map. First the user needs to find a map (.pdf or .eps) and then to modify the map, I see only one possiblity. – Alain Matthes Mar 11 '11 at 13:50
@ipavlic: one more remark: the grid is automatically adapted to the width of the map (or the picture). – Alain Matthes Mar 11 '11 at 13:58
I still don't see the use, sorry. It is just like having a physical graph paper for copying, only much more cumbersome. You still have to input all of your data by hand if you are planning to remove the map at some point. – ipavlic Mar 11 '11 at 15:10

Inkscape can convert a svg file (such a map, possibly modified) to LaTeX, by saving it with one particular option. (easy to find by scrolling the "save as" menu list) This approach uses postscript and requires pstricks to compile the file generated, preferably with the command line option: pdflatex -shell-escape.

There is also a python script svg2tikz, reportedly converting the svg file into TikZ code, but it appears to require more skills to use it.


See also:


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.