Hi,

Thanks for the response.
I'm looking for something similiar to the ability that Excel 2000 has with the Data Map component (http://support.microsoft.com/?kbid=147637), which enables displaying data on geographic vector maps. I don't care what is the vector format, as long as it standard GIS industry format.

Can you point me to an example of how to use the Graphic2D with maps.

Thanks,
Avi.

From: bruno <[EMAIL PROTECTED]>
To: Avi Golan <[EMAIL PROTECTED]>,"'[email protected]'" <[email protected]>
Subject: Re: [iText-questions] Integrating maps with PDF
Date: Tue, 02 Aug 2005 13:33:32 +0200

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

Reply via email to