[Fwd: Re: [pstricks] pst-map2dII and Greece]

Herbert Voss LaTeX at zedat.fu-berlin.de
Wed Aug 10 15:44:35 CEST 2005


-------- Original Message --------
Subject: Re: [pstricks] pst-map2dII and Greece
Date: Wed, 10 Aug 2005 09:45:05 +0200
From: Martin Buchmann <Martin.Buchmann at uni-jena.de>
To: Herbert Voss <LaTeX at zedat.fu-berlin.de>
References: <42F87F08.2080305 at saphor.de> 
<42F8E3D7.4010207 at zedat.fu-berlin.de>

Hi,

because i was searching for a nice map of Greece i got curious when i
saw the example by Marc and i tried to compile and view his example. I
just installed pst-geo from CTAN after i read the chapter about pst-geo
in Herbert's book. I copied Marc's example, changed the path according
to my setting, double checked the path and compiled the file. Everything
looks fine but if i try to view the ps or convert it to pdf ghostscript
is complaining:

metallw08:~/Documents/TeX/pst-geo-test Martin$ ps2pdf pst-geo-test.ps
Error: /invalidfileaccess in --file--
Operand stack:

(/Users/Martin/Library/texmf/tex/generic/pstricks/pst-geo/dataII/europe-cil.dat) 

   (r)
Execution stack:
    %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--
   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop
1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop
.runexec2   --nostringval--   --nostringval--   --nostringval--   2
%stopped_push   --nostringval--   1   6   %oparray_pop   --nostringval--
Dictionary stack:
    --dict:1123/1686(ro)(G)--   --dict:0/20(G)--   --dict:73/200(L)--
--dict:101/300(L)--   --dict:38/200(L)--   --dict:119/200(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 46091
AFPL Ghostscript 8.51: Unrecoverable error, exit code 1

Of course, i have triple checked the path after seeing this message. The
file is there and i can open it with Emacs by copying the absolute path
from ghostscripts output. The file looks okay to me, it has 343225 lines
and 6.8 MB.

/europe-cil
[
[
%segment 1  rank 1  points 449
	44.622500 28.832778
	44.616667 28.819167
...
	65.479722 -20.636944
	65.482222 -20.631944
]
] def

Any ideas what went wrong for me?

Best regards
   Martin

\listfiles
\documentclass[a4paper]{article}
\usepackage{pst-map2dII}
\begin{document}
% Georgraphische Position von Athen nach
% http://gnswww.nga.mil/geonames/GNS/index.jsp:
% 37° 59' 00" N     023° 44' 00" E
\begin{pspicture}*(-5,-155)(16,-140.5)
\psset{path=/Users/Martin/Library/texmf/tex/generic/pstricks/pst-geo/dataII,
level=20, unit=40, type=8, latitude0=37.59, longitude0=23.44,
rivers=true, borders=false}
\WorldMapII[asia=true, europe=true, africa=true, maillage=true,
linewidth=0.75\pslinewidth, limiteL=190, borders=true, increment=2 ]
\end{pspicture}
\end{document}

-- 
Even though they raised the rate for first class mail in the United
States we really shouldn't complain -- it's still only two cents a
day.





More information about the PSTricks mailing list