List of Contributions

Ben Kleywegt

Contact Details

My Content

1 to 13 of 13 total
Posted By Ben Kleywegt 04-26-2021 21:40
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Thanks for your advice guys, that's great. Unfortunately, the project just got cancelled by the client but now I know for next time and maybe this helps someone else :( ------------------------------ Ben Kleywegt Insight GIS ------------------------------
Posted By Ben Kleywegt 04-26-2021 02:18
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Thanks Peter. Yes, you are right.  If I only run a print statement every update it does appear to 'free up' MapInfo so that I can use the UI. ------------------------------ Ben Kleywegt Insight GIS ------------------------------
Posted By Ben Kleywegt 04-22-2021 21:14
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hi Peter, This is what I currently do in .NET for each update: mapInfoApplication.RunMapBasicCommand(String.Format("PRINT \"INSERT INTO tabGPSTracker(Latitude, Longitude, DateCreated, Obj) VALUES((0), (1), CurDateTime(), CreatePoint((1),(0)))\"", coord.Latitude, coord.Longitude)); mapInfoAp ...
Posted By Ben Kleywegt 04-22-2021 02:05
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hello again group, I can now run MapBasic commands from a background thread in .NET without MapInfo crashing which is great.  However, I have come across another problem. I have a  MapBasic extension integrated with .NET that constantly updates a MapInfo map (I am aiming for a 100 millisecond update ...
Posted By Ben Kleywegt 04-08-2021 21:14
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Thanks Anshul, that works great. Cheers Ben ------------------------------ Ben Kleywegt Insight GIS ------------------------------
Posted By Ben Kleywegt 04-01-2021 01:20
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hello, I have been developing with MapBasic and .NET for a little while now and have frequently come across the issue that interfacing between MapInfo and .NET through a different thread than the main thread will cause MapInfo to crash. For example, .NET events will run their event handlers on ...
Posted By Ben Kleywegt 11-09-2020 00:40
Found In Egroup: Spectrum Spatial (SSA/LIM)
\ view thread
I am developing an extension for SSA and am wondering is there a way to have a vector layer legend collapsed by default? Here is some sample code:   // Create payload for the vector layer on map with legend             const vectorLayerData = (                 friendlyName ...
Posted By Ben Kleywegt 05-05-2020 19:47
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Thanks for sharing Bill. ------------------------------ Ben Kleywegt INSIGHT GIS ------------------------------
Posted By Ben Kleywegt 05-05-2020 19:46
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Thanks Shweta. ------------------------------ Ben Kleywegt INSIGHT GIS ------------------------------
Posted By Ben Kleywegt 05-04-2020 21:03
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hello, Just wondering if it is possible to customize the user interface of a MapInfo extension e.g. move a command icon from the legacy tab to the map mini toolbar, not through code, but within MapInfo via the Customize Ribbon dialog? If anyone has a code sample of adding a command to the map mini ...
Posted By Ben Kleywegt 09-23-2019 20:22
Found In Egroup: MapInfo Pro
\ view thread
Thanks for your replies Eric, they were very informative. The WFS server maintainer has promised to look into the issue so I am hoping they will eventually fix it on their side. ------------------------------ Ben Kleywegt INSIGHT GIS ------------------------------
Posted By Ben Kleywegt 09-22-2019 22:52
Found In Egroup: MapInfo Pro
\ view thread
We contacted the WFS server maintainer, who told us the coordinate order changed between ArcGIS server versions. Based on that, we changed the 'Version Negotiation' option in the WFS server details in MapInfo to 'Prefer Version 1.0'.  This fixed the problem for now. Cheers! ------------------------------ ...
Posted By Ben Kleywegt 09-20-2019 01:43
Found In Egroup: MapInfo Pro
\ view thread
Hello, I have been looking at using a WFS layer in MapInfo 17 from the following URL:  http://services.thelist.tas.gov.au/arcgis/rest/services/Public/OpenDataWFS/MapServer It appears that the coordinates are reversed in these layers.  After Googling a bit I came across the following article: ...