|
Hi, Try without the bounds clause: mitab_c_create( "C:\DERM\QIF2MapInfo\QIF2MapInfo_CS\Resources\TestData\Output\TAB\aurukun_i_BasePly.TAB" , "tab" , "CoordSys Earth Projection 1, 33" , -9, -30, 156, 137); You can not see the coordsys in the TAB file. It is hidden inside the MAP file in a different binary format. The transform in MIF is way to tell the import function in MapInfo to manipulate the coodinates during import. I guess the TAB2TAB application supports it, if you translate from MIF to TAB. Regards Uffe Kousgaard keith_corlett wrote: I know this is a very old thread, but the content is relevant to my question, so please forgive this small necromancy.I create a dataset passing the CoordSys string (with Bounds), and the bounds: mitab_c_create( "C:\DERM\QIF2MapInfo\QIF2MapInfo_CS\Resources\TestData\Output\TAB\aurukun_i_BasePly.TAB" , "tab" , "CoordSys Earth Projection 1, 33 Bounds (137.0,-9.0) (156.0,-30.0)" , -9, -30, 156, 137); That is GDA94, which is GRS80 for Queensland, Australia... or at least that what's I hope it says. Sigh. but the resulting TAB is devoid of CoordSys statement, and the precision of my lat/lon's (must be +/- 0.6mm at worste) has gone to hell in a hand-basket... so I guess mitab is using MapInfo's default "whole planet" coordinate system. !table !version 450 !charset Neutral Definition Table Type NATIVE Charset "Neutral" Fields 34 ... I'm actually developing in C#, using an "improved" version of MiApi.cs's P/Invoke extern delarations. Please, can anybody spot my mistake? Or maybe one of my assumptions is wrong... like the CoordSys is reported in the TAB-file, isn't it? Also: Is there an mitab equivalent of the MIF "Transform" statement? We use it in our existing MIF's and (though I don't really understand what it does, even after several readings of that section of the MIF-spec (I'm a hacker, not a carto or surveyor)), I am loath to lose any existing functionality. Thank you in advance for any guidance. I do appreciate it. Cheers. Keith. --- In [email protected], bvt@... wrote: __._,_.___
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- [mitab] Re: MITAB.dll keith_corlett
- Re: [mitab] Re: MITAB.dll Uffe Kousgaard
- [mitab] Re: MITAB.dll keith_corlett
