List of Contributions

Uffe Kousgaard

MapInfo Pro 17 Beta

Contact Details

My Content

1 to 20 of 50+ total
Posted By Uffe Kousgaard 05-08-2024 01:33
Found In Egroup: MapInfo Pro
\ view thread
Very nice, but you are missing an l in Wolverhampton ! ------------------------------ Uffe Kousgaard CEO ROUTEWARE Roskilde ------------------------------
Posted By Uffe Kousgaard 05-03-2024 05:14
Found In Egroup: MapInfo Pro
\ view thread
Yes, it also stops working correctly for me after record 13548. All blanks. ------------------------------ Uffe Kousgaard CEO ROUTEWARE Roskilde ------------------------------
Posted By Uffe Kousgaard 05-03-2024 00:55
Found In Egroup: MapInfo Pro
\ view thread
It works here, if I change the float to char, MapInfo decides for a char(19) and it keeps that field definition after opening the table. If it still fails for you, you can just close the file, edit the TAB file header and then open the TAB again. ------------------------------ Uffe Kousgaard CEO ...
Posted By Uffe Kousgaard 05-02-2024 01:32
Found In Egroup: MapInfo Pro
\ view thread
In MapInfo 2023 it automatically gets recognized as char and also gets opened that way. Maybe you are using an older version? ------------------------------ Uffe Kousgaard CEO ROUTEWARE Roskilde ------------------------------
Posted By Uffe Kousgaard 04-20-2024 02:30
Found In Egroup: MapInfo Pro
\ view thread
Full OSM data contains height information for a few buildings, but not so many. # of levels is more common and can be a good proxy for height. I think osmbuilding use it. Zoom very close and you can count the windows. Stay away from SHP files (too processed), only use the full OSM download from geofabrik. ...
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. ------------------------------ ...