Avi Golan wrote:
Hi,
Is there a way to integrate geographic vector map inside a PDF document?
You could draw maps in PDF using iText.
What I need is a utility that can read a vector map file format,
What format? SVG, DXF,...?
For the moment iText isn't able to read these formats, but you could use
an existing parser that writes to a Java Graphics2D object. iText
understands Graphics2D methods and translates them to PDF operators and
operands. Or you could use iText methods to add these operators and
operands directly.
and I will be
able to assign to it some display values (e.g. set the color of each state
based on sales value).
iText can draw lines and shapes in any color you want to, but remark
that PDF isn't a programming language. I'm not sure what you expect. I
worked in G.I.S. over 7 years ago and in MapInfo we attributed colors to
ranges of values. If that's what you want, that's how you'll have to
program it in Java.
Currently I am writing a book on iText and I have some raw geographical
data of a fictional city. I still haven't decided how I am going to
store this data for the book (I am thinking of SVG; in that case, I'll
have to write a small SVG parser to have a self contained example).
br,
Bruno
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions