Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
mike_w_mason  
#1 Posted : Monday, April 27, 2009 10:01:24 PM(UTC)
mike_w_mason

Rank: Newbie

Groups: Member
Joined: 4/27/2009(UTC)
Posts: 3

We need to overlay vector data onto a bitmap image (aerial photograph). I find that the coordinate system used by the VObjectsRubberband to differ from the bitmap image opened in the BitmapViewer. For example if I open a 1024x768 image, then add a point vobject at 512,384 the resultant point is offset from the centre of the image i.e the vobjectsrubber band coordinate space is larger than 1024x768.

How can I make the the coordinate spaces match?


Thanks

Mike

tcrosbie  
#2 Posted : Wednesday, April 29, 2009 4:31:33 PM(UTC)
tcrosbie

Rank: Advanced Member

Groups: Member
Joined: 6/22/2008(UTC)
Posts: 27

Does this article http://forums.aurigma.co...WTO-Rotate-VObjects.aspx shed any light for you?

It has both bitmap and vobject coordinates. I've found that there can be some odd differences, some things seem to be calculated at 72dpi, others at screen dpi. I think a lot of objects have a .ControlToWorkspace function, that handles most of conversion, (otherwise UnitConverter class can come in very handy).

HTH
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.