Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - GeoPDF
  FAQ FAQ  Forum Search   Register Register  Login Login

GeoPDF

 Post Reply Post Reply
Author
Message
mingoal View Drop Down
Beginner
Beginner


Joined: 24 Jan 10
Location: China
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote mingoal Quote  Post ReplyReply Direct Link To This Post Topic: GeoPDF
    Posted: 24 Jan 10 at 3:43AM
 I tried to use this lib to generate a GeoPDF, but i don't know how to call 'AddLGIDictToPage'. There is not too much infomation about this function also others. So I don't know how to pass the parameter. Hope there is an example or some hints for me.
 Thanks!
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 25 Jan 10 at 6:34AM
Hi!

I think your problem is the structure of the needed string...
The AddLGIDictToPage depends on the OGC 08-139r2 specifications.
You can read all about this specs here:
http://www.opengeospatial.org/standards/bp
...in this document:
"GeoPDF Encoding Best Practice Version 2.2"
http://portal.opengeospatial.org/files/?artifact_id=33332

Cheers and welcome here,
Ingo

Back to Top
mingoal View Drop Down
Beginner
Beginner


Joined: 24 Jan 10
Location: China
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote mingoal Quote  Post ReplyReply Direct Link To This Post Posted: 25 Jan 10 at 8:44AM
Hi Indo
 
Thanks for you reply, I really appreciate it. I have read the specifications, and I got someting. I'm going to pass a whole PDF-Dictionray-Formatted string to the function offered. Hope it works.
 
Best Regards!
Mingoal
Back to Top
jvonbokel View Drop Down
Beginner
Beginner


Joined: 16 Apr 10
Location: St Louis, MO
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote jvonbokel Quote  Post ReplyReply Direct Link To This Post Posted: 16 Apr 10 at 9:12PM
Did you have any success with that?  I'm trying to do the same, and I'm not even sure where to start.  I have an idea of the format just by opening a GeoPDF in a text editor, but I can't get even GetPageLGIDictContent or GetPageLGIDictCount to work, so I don't know how I'm going to use AddLGIDictToPage.
Back to Top
mingoal View Drop Down
Beginner
Beginner


Joined: 24 Jan 10
Location: China
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote mingoal Quote  Post ReplyReply Direct Link To This Post Posted: 17 Apr 10 at 3:10AM
Hi jvonbokel
  I succeed in outputing a GeoPDF, below are the formatted-LGIDictContent , what you need to do is  passing the whole text as a string to AddLGIDictToPage function.
  <<
 /Type /LGIDict
 /Version (2.1)
 /CTM
 [
  (3524.5004673001) (0.0000000000)
            (0.0000000000) (3524.5004673001)
            (-2493370.4940219196) (-1538087.6795059151)
 ]
 /Projection
 <<
  /Type /Projection
  /ProjectionType (AC)
  /StandardParallelOne (20.00000)
  /StandardParallelTwo (60.00000)
  /FalseNorthing (0.00000)
  /Datum (NAR)
  /OriginLatitude (40.00000)
  /CentralMeridian (-96.00000)  /FalseEasting (0.00000)
 >>
 /Display
 <<
  /Type /Projection
  /ProjectionType (AC)
  /StandardParallelOne (20.00000)
  /StandardParallelTwo (60.00000)
  /FalseNorthing (0.00000)
  /OriginLatitude (40.00000)
  /CentralMeridian (-96.00000)
  /Units (M)
  /FalseEasting (0.00000)
  /Datum (NAR)
 >>
 /Description (Southwestern United States)
 /Registration
 [[
  (53.5103998492) (124.5528002880)  
  (-2304773.0647479948) (-1099101.2766873206) 
  ]
  [
  (725.0183996828) (560.4984001800)  
   (61957.1944612906) (437389.1938494640)
 ]]
 /Neatline
 [
  (53.5103998492) (124.5528002880)
  (53.5103998492) (560.4984001800)
  (725.0183996828) (560.4984001800)
  (725.0183996828)(124.5528002880)
 ]
>>
 The LGIDict format is specified by <<GeoPDF Encoding Best Practice Version 2.2>> ,you can find it at http://www.opengeospatial.org/standards/bp.
  I also used  GetPageLGIDictContent and GetPageLGIDictCount, they all work correctly, maybe you pdf file is not a correct GeoPDF file.
  Hope this may help you.
  Mingoal
Back to Top
jvonbokel View Drop Down
Beginner
Beginner


Joined: 16 Apr 10
Location: St Louis, MO
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote jvonbokel Quote  Post ReplyReply Direct Link To This Post Posted: 29 Apr 10 at 4:13PM
Thanks, that's working beautifully.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store