List of Contributions

Uffe Kousgaard

MapInfo Pro 17 Beta

Contact Details

My Content

1 to 20 of 50+ total
Posted By Uffe Kousgaard 03-20-2024 02:26
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
As a small mapbasic application, it could look like this: dim s as string dim i as integer dim N as integer s = "alter table xxx (drop " N = tableinfo(xxx,TAB_INFO_NCOLS) for i = 163 to N s = s+columninfo(xxx,"COL"+str$(i),COL_INFO_NAME) if i=N then s = s+")" else s = s+"," end if next ...
Posted By Uffe Kousgaard 09-14-2023 03:27
Found In Egroup: MapInfo Pro
\ view thread
A couple of questions: 1) Does MIF now support M/Z values? 2) If the old TAB format has supported it for many years, how do you create such a table from scratch, pre-2023? I remember to have seen it mentioned in the MFAL library, but never looked into it. It has a type called CSYS_MZ_INFO. EFAL seems ...
Posted By Uffe Kousgaard 07-27-2023 13:58
Found In Egroup: MapInfo Pro
\ view thread
Yes, most likely. It can be either GDAL or EFAL which doesn't like it. A field called "Table", "Date" and similar could also give problems depending upon the software accessing the table. ------------------------------ Uffe Kousgaard ROUTEWARE Roskilde ------------------------------
Posted By Uffe Kousgaard 07-21-2023 06:12
Found In Egroup: MapInfo Pro
\ view thread
I all fairness: Someone else than me came up with this solution. Many years ago. ------------------------------ Uffe Kousgaard ROUTEWARE Roskilde ------------------------------
Posted By Uffe Kousgaard 07-21-2023 02:52
Found In Egroup: MapInfo Pro
\ view thread
You need a dummy field for joining, it can be just 0's in both tables. select ranges.MinValue, ranges.MaxValue, Count(*) from ranges, InputValues where ranges.dummy=InputValues.dummy and ranges.MinValue =InputValues.Value group by ranges.MinValue order by ranges.MinValue ---------- ...
Posted By Uffe Kousgaard 04-19-2023 04:49
Found In Egroup: MapInfo Pro
\ view thread
Then it may be Spatial tab > Regions > Voronoi you are after. The final output will follow the line between red/green and red/blue closely, but the outer perimeter is going to a rectangle. You could clip the 3 voronoi polygons by a single alpha shape, based upon all points. ------------------------------ ...
Posted By Uffe Kousgaard 04-18-2023 02:03
Found In Egroup: MapInfo Pro
\ view thread
All this is basically a center of mass calculation, which is done exactly as an average of coordinates, weighted by mass or number of employees as in this example. Using a grid is just a very complicated way of doing the same thing. The only advantage is with lat/long coordinates closer to the poles, ...
Posted By Uffe Kousgaard 04-18-2023 01:59
Found In Egroup: MapInfo Pro
\ view thread
Hi, Look at Spatial tab > Buffer > Convex hull. ------------------------------ Uffe Kousgaard ROUTEWARE Roskilde ------------------------------
Posted By Uffe Kousgaard 04-12-2023 02:19
Found In Egroup: MapInfo Pro
\ view thread
Hi, There is no official way to undelete records. If you are really in troubles and need to get a record back, there are actually three places that need to be edited: 1) In the DAT file there is this flag, which Peter mentions. DAT is in many ways the same as DBF, so you can see the format here: h ...
Posted By Uffe Kousgaard 03-30-2023 01:39
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
The issue is as a developer we should never rely on current directory, because it is a global thing in Windows and it may be changed by any other process at any point. But nevertheless we do it all the time, hoping it goes OK. Which it usually does. But here are two functions, which you can use, so ...
Posted By Uffe Kousgaard 03-29-2023 03:38
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
No, it was posted 12 hours after my reply. I actually checked :-) ------------------------------ Uffe Kousgaard ROUTEWARE Roskilde ------------------------------
Posted By Uffe Kousgaard 03-29-2023 01:44
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
I have already answered that question on MI-L. Wasn't the answer good enough? ------------------------------ Uffe Kousgaard ROUTEWARE Roskilde ------------------------------
Posted By Uffe Kousgaard 02-24-2023 01:37
Found In Egroup: MapInfo Pro
\ view thread
What is the build number of this "recent update" ? Can you include one line from this CSV file? In my mind a CSV should use commas as delimiters, no thousand separators and . as decimal comma. Always. Just like MID files. ------------------------------ Uffe Kousgaard ROUTEWARE ...
Posted By Uffe Kousgaard 02-17-2023 02:20
Found In Egroup: MapInfo Pro
\ view thread
Start by creating a new folder, since you can't compile within the program files folder. So, I have d:\xx\animator, d:\xx\inc and d:\xx\lib, which keep copies of the similar folders from samples. Now open mapbasic and compile lib\Resstrng.mb and animator\animator.mb. Finally open the project ...
Posted By Uffe Kousgaard 01-24-2023 04:06
Found In Egroup: MapInfo Pro
\ view thread
Somehow I read it as it was multiple MIF files you wanted to append. But if it is TAB files, it is even easier. It is the kind of stuff, where it is faster to write the code, than looking for someone else, who has already done it. And then it doesn't do exactly what you need. ------------------------------ ...
Posted By Uffe Kousgaard 01-24-2023 02:29
Found In Egroup: MapInfo Pro
\ view thread
If you don't manage to find such an existing and working append application, this is how it should look, if you care to do it on your own: Import "table1.MIF" set table table1 fastedit on Import "table2.MIF" Insert Into table1 Select * From table2 drop table table2 Import "table3.MIF" Insert ...
Posted By Uffe Kousgaard 01-14-2023 02:52
Found In Egroup: MapInfo Pro
\ view thread
The obvious solution is to move the file out of the dropbox folder, do the edits and then move it back again. I assume no one else is trying to edit it at the same time. ------------------------------ Uffe Kousgaard ROUTEWARE Roskilde ------------------------------ -------------------------- ...
Posted By Uffe Kousgaard 01-04-2023 02:16
Found In Egroup: MapInfo Pro
\ view thread
From the Home tab, click "Tool Extensions" and you will get a list of installed tools: The actual tools are not the same as in arcgis, but the concept is the same. ------------------------------ Uffe Kousgaard ROUTEWARE Roskilde ------------------------------ ------------------- ...
Posted By Uffe Kousgaard 01-02-2023 11:25
Found In Egroup: MapInfo Nordic & Baltic Users Group
\ view thread
Jeg kan ikke få det til at virke. Uanset om jeg skriver URL'en på den ene eller anden måde: https://api.dataforsyningen.dk/ddm?service=WMS&request=GetCapabilities https://api.dataforsyningen.dk/ddm? så forbliver OK-knappen på den dialog-boks blank. Jeg kan godt køre Test URL, men Get Description ...
Posted By Uffe Kousgaard 12-06-2022 08:21
Found In Egroup: MapInfo Pro
\ view thread
There are 12.5 downloads available here: https://support.precisely.com/product-downloads/for/mapinfo-professional/ ------------------------------ Uffe Kousgaard ROUTEWARE Roskilde ------------------------------ ------------------------------------------- Original Message: Sent: 12-05-2022 ...