[pstricks] pst-map2d: questions

Herbert Voss Herbert.Voss at fu-berlin.de
Sun Jul 26 11:30:54 CEST 2009


Minsu schrieb:

> So, here are my questions:
> 1)  how to get more cities and rivers?

use \pnodeMap or \mapput (for data baseII)
There are no Korean cities in the data base


\documentclass{article}
\usepackage{pst-map2d}
%\psset{path=/home/minsu/pst-geo/korea}
\psset{path=/home/voss/Links/texmf-local/pst-geo/data/}

\begin{document}
\begin{center}
\psset{linewidth=1.25\pslinewidth}
\begin{pspicture}*(-4,-92)(8,-73)
\psset{unit=39}
\psset{type=8,latitude0=133,longitude0=125}
\WorldMap[maillage=true,linewidth=0.75\pslinewidth,%
          increment=5,limiteL=190,borders,rivers,city]
\pnodeMap(127,37.57){Seoul}\psdot(Seoul)
\uput[0](Seoul){\textcolor{red}{\textbf{Seoul}}}
\end{pspicture}
\end{center}

\end{document}


> 2)  is it possible to get the displayed meridians numbered (if yes,
> how) ?

no

> 3)  I'd like to have the 38th parallel north explicitely displayed in
> red. How can I do this?

change the color

for more details you can use the dataII-base, but it is very huge

\documentclass{article}
\usepackage{pst-map2dII}
%\psset{path=/home/minsu/pst-geo/korea}
\psset{path=/home/voss/Links/texmf-local/pst-geo/dataII/}

\begin{document}
\begin{center}
\psset{linewidth=1.25\pslinewidth}
\begin{pspicture}*(-4,-92)(8,-73)
\psset{unit=39}
\psset{type=8,latitude0=133,longitude0=125}
\WorldMapII[maillage=true,linewidth=0.75\pslinewidth,asia,%
          increment=50,limiteL=190,borders,rivers,city]
\color{red}
\mapput(127,37.57){Seoul}
\end{pspicture}
\end{center}

\end{document}


Herbert


More information about the PSTricks mailing list