[pstricks] shapefiles

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue Dec 8 10:22:03 CET 2009


Am 08.12.2009 05:24, schrieb Wojtowicz, Ralph:
> The pst-geo package can create beautiful maps in LaTeX documents but appear to be limited by the fact that they can use only two data sources.  Does anyone have experience generating LaTeX graphics from ESRI shapefiles (http://en.wikipedia.org/wiki/Shapefile).  I have hacked together a few examples by using a Java tool to convert shapefile data to a PostScript array, similar to the CIA World Databank files used in pst-geo.  The openmap.jar library (http://openmap.bbn.com/) can be used to parse shapfiles.  I then include PostScript code in a pstverb command to read the array and generate plots.  Managing resolution and other features is done within the Java code.  I am looking for ideas for how to design a more general tool within LaTeX/PostScript.  Perhaps others on this list already have solutions.

please provide a full working example. Then we can see
what can be done or if you can use pst-solides3d, which
can write and read obj files

Herbert


More information about the PSTricks mailing list