jrosenthal / layers3pdf

Automatically exported from code.google.com/p/layers3pdf - part of the layers2/3pdf project by Moshe Haspel, Sam Krasnick and Josh Rosenthal
0 stars 0 forks source link

Error in Geospatial Coords #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It appears based on looking at the results of LPTS with variants on 20,20-
40,40 coords, that 0,0 for LPTS is actually the lower left.

(Test as follows... LPTS 0,0,1,1 - so, either: 
0,0 bottom left - GPTS 20,20,40,40, or: 
0,0 top left - GPTS 20,40,40,20

20,40,40,20 produces a clearly flawed pdf)

If one uses real data, from the portrait sample, given 0,0 bottom left, and 
then reads and plots the corner coordinates from the PDF, one finds that 
they are rotated approx 45 degrees clockwise from their correct position as 
shown in the picture attached.

Note also, that LPTS is definitely subject to rotation by 
landscape/portrait.  In portrait 0,0 appears to be bottom left, in 
landscape its top left.

Original issue reported on code.google.com by maric423@gmail.com on 10 Feb 2009 at 8:55

GoogleCodeExporter commented 9 years ago

Original comment by maric423@gmail.com on 10 Feb 2009 at 8:57

Attachments:

GoogleCodeExporter commented 9 years ago
More images of this, with the actual corner coordinates, and guidelines 
connecting 
everything to demonstrate further confusion.

Original comment by maric423@gmail.com on 10 Feb 2009 at 9:58

Attachments: