[Mapit] How to produce correct tiles...
Starcevic Gordan
gordan.starcevic at datatrak.at
Thu Mar 7 23:58:22 CET 2002
Dear Sirs,
could you please tell me why I can not produce correct tiles.
I installed demo version of Mapit on WindowsNT Ver.4.0 and it works fine.
Using Imagemagick(Ver. "ImageMagick-win2k.zip"), I converted one jpg file to
eps file (using the command convert europe.jpg europe.eps).
Using python, epscut file and eps file I got following error:
_________________________________________________________________________
C:\Programme\Mapit\src\tools>python epscut europe.eps
gs -sDEVICE=ppmraw -r72 -dNOPAUSE -dSAFER -q -sOutputFile=C:\TEMP\~154-1
-g400x
382 -c "0.995025 0.994792 scale 0.000000 0.000000 translate /oldshowpage
/showpa
ge load def /showpage {} def" -feurope.eps -c oldshowpage quit
writing europe\2\1x1.png
Traceback (innermost last):
File "epscut", line 284, in ?
main()
File "epscut", line 280, in main
make_tile_hierarchy(epsfile, basedir, factors, regions, overview_size)
File "epscut", line 252, in make_tile_hierarchy
factors[i], region, reference_size)
File "epscut", line 189, in render_tiles
alpha=alpha, indexed = 1)
File "epscut", line 122, in render_tile
image.save(outputfile)
File ".\Image.py", line 686, in save
KeyError: .png
C:\Programme\Mapit\src\tools>
_________________________________________________________________________
I am also using program ghostscript (Ver. gs704w32.exe). After installing I
got two files gswin32.exe and gswin32c.exe. Because epscut looks for gs
program that I don't have on my computer, I renamed gswin32c.exe (command
line version) to gs.exe.
Could you please tell me:
- what is wrong here?
- how to automatically (not to write coordinates for each tile
manually)produce tiles from one eps file that stems from one bigger image
map that has coordinates in WGS84?
- Where to specify coordinate system?
- Is it possible to insert the coordinates in the program only once and if
it is, where?
Thank you in advance for your (if possible, more detailed) answer.
Gordan Starcevic
More information about the Mapit
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)