List of Contributions

Romano Agostini

Contact Details

My Content

1 to 12 of 12 total
Posted By Romano Agostini 10-25-2023 07:59
Found In Egroup: MapInfo Pro
\ view thread
Hi, I'm trying to export a polygon object to a ESRI Shapefile, however when I do so I get the following Error: It exports fine when I use a GeoJSON, and I've restarted MapInfo to no result. Am I missing anything? ------------------------------ Romano Agostini Knowledge Community Shared Account ...
Posted By Romano Agostini 10-04-2023 07:34
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hi, I have a python addin called ModuleLoader.py that dynamically creates tabs, groups and controls according to a .json file read in at runtime. The scripts for these controls are either .MBX scripts or .py scripts, which are held in a custom class and assigned to the control with a call to the A ...
Posted By Romano Agostini 09-26-2023 09:24
Found In Egroup: MapInfo Pro
\ view thread
Hi Bob, I've been trying to install new packages via the above method but I get the following error: C:\Program Files\MapInfo21\Python37>pip install xlrd Fatal error in launcher: Unable to create process using '"D:\work\builds\8453219c5662fbb\3RDPARTY\Python37\python.exe" "C:\Program Files\MapIn ...
Posted By Romano Agostini 09-26-2023 08:53
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hi, Is there a way for me to pass data from a 2D python list directly into a MapInfo table? In the first case I can use Python to write to a .csv or .xlsx file and then get MapInfo to open it as a table, but I feel that passing the data directly into memory would be a much more elegant implementation. ...
Posted By Romano Agostini 09-26-2023 07:26
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hi, I'm writing a python addin to load in custom UI elements (tabs, groups, controls, etc) by interpreting a JSON file. Currently the way the addin links functionality to controls is by using the commonutils.do() method on a path specified in the JSON file. When the control is initialised a container ...
Posted By Romano Agostini 09-22-2023 08:54
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hiya, I've managed to figure out something that works, the issue seems to be that anonymous functions or their references are probably deleted at some point in the loading process. So the method needs to be stored in memory with a constant reference. I therefore created a small holder class to hold ...
Posted By Romano Agostini 09-21-2023 13:15
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hi, I am trying to write a Python addin that creates tabs and populates them with groups and controls based on the structure of a JSON file. Part of this is adding commands to the button which should be achieved by supplying the software with a command ID to an existing MapInfo function or a path to ...
Posted By Romano Agostini 09-21-2023 13:03
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hi Peter, Thank you! ------------------------------ Romano Agostini Knowledge Community Shared Account ------------------------------
Posted By Romano Agostini 09-20-2023 09:56
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hi, In a lot of the python samples provided with MapBasic there is a module called MapInfo referenced: This module seems to have a lot of the functions and objects used to interface with MapInfo from Python addins. Where can I find documentation on the functionality offered by this module or failing ...
Posted By Romano Agostini 09-20-2023 05:45
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hi, I'm trying to implement a custom MapBasic application written entirely in Python, I've created my MapBasic entry point into the Python code based off of the Python Ribbon example found in: \MapBasic\Samples\RIBBONINTERFACE\Python\py_ribbon_customization I had a few questions about the following ...