--
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To post to this group, send email to mapi...@googlegroups.com.
To unsubscribe from this group, send email to mapinfo-l+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mapinfo-l?hl=en.
| From: | Peter Horsbøll Møller <mapi...@horsboll-moller.dk> |
| To: | mapi...@googlegroups.com |
| Date: | 12/02/2009 01:08 PM |
| Subject: | Re: [MI-L] Copy / pasting polygons - Mapinfo seems to create (tiny) errors |
| Sent by: | p.horsbo...@gmail.com |
--
You received this message because you are subscribed to
the Google Groups "MapInfo-L" group.
To post to this group, send email to mapi...@googlegroups.com.
To unsubscribe from this group, send email to mapinfo-l+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/mapinfo-l?hl=en.
. To unsubscribe from this group, send email to mapinfo-l+...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/mapinfo-l?hl=en.
I'm guessing the problem comes from using the Windows Clipboard to do the copying.
Some experiments to perform:
Print TableInfo (<srctab>, 29)
Print TableInfo (<desttab>, 29)
Print MapperInfo (FrontWindow(), 17)
Where <srctab> and <desttab> are the names of your source and destination tables. This will print the actual coordinate system clauses of the two tables and the Map window to the Message window, including any bounds clauses.
You can use 25, 26, 27, and 28 as the second parameter to TableInfo to get the actual limits of the two tables' coordinate systems.
If the tables' coordinate systems and bounds are identical, the problem absolutely has to arise from MapInfo's interaction with the Clipboard.
Experiment 2 should present a solution. 3 and 4 will just help give us information as to what's Really Going On.
Insert into <desttab> (obj) select obj from selection
in the MapBasic window.
If experiment #2 prevents the misalignments from creeping in, then use it for all object copying.
HTH
Spencer
I take this back. Rob's problem has to be bounds-related. I used the Clipboard to copy data from a table with a nice tight bounds clause and paste into another table saved from a selection from that table (meaning it had exactly the same coordinate system) and the pasted objects' alignments were PERFECT.
However, pasting the same objects into the Cosmetic layer produced misalignments. You should expect this, because a Map window's coordinate system is always unbounded.
So:
- Do experiment 1 as described below.
- make sure the tables use EXACTLY the same projection parameters and bounds, and match the customer's specified projection and coordinate precision.
- make sure you're not using the cosmetic layer
- Other data conversion processes (e.g. converting to shapefile) may introduce their own misalignments.
PS
If the customer is specifying exacting tolerances like this, they need to have a good handle on their own coordinate system standards. That is, they must set a specific projection with a specific precision and the precision has to be reasonable for the projection and study area. If they and the agencies they want to be compatible with don't have compatible standards, there's no way of avoiding misalignments. It's like demanding that 2+2=5.
Spencer