On 26/09/2010 4:16, zxgfox110 wrote: > > I Opened The geipdf file by text,and find nothing but the following XML: > > <</Contents 11 0 R/CropBox[0.0 0.0 122.88 122.88]/Group 38 0 R/Group1 39 0 > R/LGIDict[<</CTM[(41.6666666667)(0)(0)(41.6666666667)(192752)(3768671)]/Description(UTM > Zone 17, Northern > Hemisphere)/Display<</CentralMeridian(-81)/Datum(NAS)/Description(UTM Zone > 17, Northern > Hemisphere)/FalseEasting(500000)/FalseNorthing(0)/OriginLatitude(0)/ProjectionType(TC)/ScaleFactor(0.9996)/Type/Projection>>/LGIT:Info > 50 0 > R/Neatline[(0)(0)(0)(122.88)(122.88)(122.88)(122.88)(0)]/Projection<</CentralMeridian(-81)/Datum(NAS)/Description(UTM > Zone 17, Northern > Hemisphere)/FalseEasting(500000)/FalseNorthing(0)/OriginLati
That's NOT XML. Those are key-value pairs in a dictionary. What is between << and >> is a dictionary object. <</Key/Value>> A word preceeded by / is a name object. A construct with [ and ] is an array object. Whatever is between ( and ) is a PDF String. > So,We can get the Projection.You said can read geopdf by lowest iText > APIs,could you describe them in detail Yes, this is all described in great detail in chapter 13 of http://itextpdf.com/book/ Note that the book is protected by Copyright, so I can't post that chapter on a mailing list. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
