List of Contributions

James Nolet

MapInfo Pro 17 Beta

Contact Details

My Content

1 to 20 of 50+ total
Posted By James Nolet 05-15-2023 13:00
Found In Egroup: MapInfo Pro
\ view thread
Hi Sebastian, I have a couple of methods you might like to try. These are manual solutions but you could use the logic to develop a MapBasic program if needing to automate for large datasets or if you want to repeat the process on a number of datasets. I am not sure if the first method will always succeed ...
Posted By James Nolet 01-26-2023 06:07
Found In Egroup: MapInfo Pro
\ view thread
I might try to explain the triple quotes.  Your expression without using variables would be: Select * From table1 where field1 = "Area1" Into _YOURAREA When assigning the expression to a string, the string itself uses quote characters to encapsulate the string.  First, let's say "Area1" is assigned ...
Posted By James Nolet 01-25-2023 19:04
Found In Egroup: MapInfo Pro
\ view thread
Hi Ryan, In that case, check the contents of tName (e.g. via a Print statement).  Is it blank? In fact, if you assign the whole expression to a string variable: Dim sStr As String sStr = "Select * From " + tAreas + " where " + tName + " = """ + tYourArea + """ Into _YOURAREA" Then print it ...
Posted By James Nolet 01-25-2023 08:51
Found In Egroup: MapInfo Pro
\ view thread
Hi Ryan, I understand your frustration!  For Mapbasic-executed queries to be ignored when saving the workspace seems quite strange.  Furthermore, any subsequent queries or windows created from the original query are also ignored. Anyway, in your example query above, try the following: Run Command ...
Posted By James Nolet 10-17-2022 07:51
Found In Egroup: MapInfo Pro
\ view thread
Hi Alban, I'm not sure I understand, but can't you just draw straight lines connecting the points then create a 50m buffer around each one? ------------------------------ James Nolet Dooley Mitchell & Morrison Pty Ltd Mentone, VIC, Australia ------------------------------ ---------------- ...
Posted By James Nolet 09-30-2022 04:18
Found In Egroup: MapInfo Pro
\ view thread
Hi Fanny and Peter, If they are "empty", perhaps they can be selected by attribute? However, they look like text object to me.  In that case, they can be selected via the following SQL (using the MapBasic or SQL Window): Select * From Polygons Where str$(obj)="text" Into Selection Then ...
Posted By James Nolet 09-13-2022 03:25
Found In Egroup: MapInfo Pro
\ view thread
Hi Nick, Yes, Create Parallel comes with the MapCAD tool.  I forgot about that, as I always have it loaded and end up taking its functionality for granted. Checking MapBasic Help I can see that you can call the MapCAD functions.  For example, if you select a single line and execute the following ...
Posted By James Nolet 09-12-2022 19:57
Found In Egroup: MapInfo Pro
\ view thread
Hi Nick, Try Create Parallel from the Buffer drop-down in the Spatial menu.  It seems to do the trick.  You can create parallel lines on either side of your existing lines, close them off and even create them as regions. ------------------------------ James Nolet Dooley Mitchell & Morrison Pty ...
Posted By James Nolet 09-10-2022 00:25
Found In Egroup: Spectrum Spatial (SSA/LIM)
\ view thread
Hi Russell, Applinking can be set up in v2020.1.  We have had it going in earlier versions.  I don't know if an upgrade to the tool has occurred since 2020.1, but if so then I'm sure that can be sorted out with Precisely.  There are also alternatives to the Applinking tool (based on the same logic) ...
Posted By James Nolet 07-27-2022 02:10
Found In Egroup: Spectrum Spatial (SSA/LIM)
\ view thread
I might have had the wrong idea, but was thinking more on the lines of interacting with the SSA front end directly - that is, dynamic linking - via the Precisely Applinking tool or similar (which we at DMM managed to make use of in our GISLink product, hence why I was keen to espouse my knowledge of ...
Posted By James Nolet 07-15-2022 10:20
Found In Egroup: Spectrum Spatial (SSA/LIM)
\ view thread
I do Chris!  You can retrieve the IDs of the current selection within SSA, if that is what you are after.  What are you trying to achieve? ------------------------------ James Nolet Dooley Mitchell & Morrison Pty Ltd Mentone, VIC, Australia ------------------------------
Posted By James Nolet 06-13-2022 17:02
Found In Egroup: MapInfo Pro
\ view thread
Hi Jane, Does a file called "error_log.txt" exist?  If so, it might be that the mbx program doesn't have write access to this file.  Perhaps deleting it will help. ------------------------------ James Nolet Dooley Mitchell & Morrison Pty Ltd Mentone, VIC, Australia ------------------------ ...
Posted By James Nolet 04-26-2022 18:09
Found In Egroup: MapInfo Pro
\ view thread
Hi Nikolaj, After selecting the polygon you want to edit, did you try clicking on the "Onform" (Reshape) option?  This option appears in the "Nodes" drop-down ("Snap til knudepunkter" in Danish, it looks like) and must be turned on before you can use the add nodes functionality. ------------------------------ ...
Posted By James Nolet 03-14-2022 16:53
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hi Luke, The eval function is used to retrieve a value returned by a MapInfo command: sValue = eval("Query1.ColName") In addition, you do not need to open a browser or declare a MapBasic variable.  So your code would become: # Open Table File Open_tabInput = pro.Catalog.OpenTable(tabInput, ...
Posted By James Nolet 03-09-2022 20:16
Found In Egroup: Spectrum Spatial (SSA/LIM)
\ view thread
Hi David, That datum code was valid for MGA projections 15 or 20 years ago.  It is still likely to be recognised within MapInfo Pro but not in SSA. I'm glad to have helped. ------------------------------ James Nolet Dooley Mitchell & Morrison Pty Ltd Mentone, VIC, Australia ------------ ...
Posted By James Nolet 03-09-2022 18:41
Found In Egroup: Spectrum Spatial (SSA/LIM)
\ view thread
Thanks Matt - it's good to have my approach corroborated!  David might find that to change the coordinate system of the Native-MI table a Save-Copy-As in MapInfo will be necessary.  Or export to MIF/MID, change the coordinate system in NotePad and import back in. ------------------------------ James ...
Posted By James Nolet 03-09-2022 00:25
Found In Egroup: Spectrum Spatial (SSA/LIM)
\ view thread
Hi David, From what you say it appears you are carrying out the following steps in order: 1. Creating the table resource manually within Spatial Manager; then 2. Uploading the table settings via the Uploader tool in MapInfo. Is it at the time of Step 2 that the coordinate system is overwritten?  ...
Posted By James Nolet 12-30-2021 20:35
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
I'm happy to have been able to help.  Good luck with the rest of your script! ------------------------------ James Nolet Dooley Mitchell & Morrison Pty Ltd Mentone, VIC, Australia ------------------------------
Posted By James Nolet 12-30-2021 02:34
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hi Asko, I noticed you are not populating your array properly.  You need to adjust as follows: Dim nArrayIndex As Integer nArrayIndex = 0  ' Initialisation For i=1 to NumOfTables   j=TableInfo(i, TAB_INFO_TYPE)    If j=1 then     nArrayIndex = nArrayIndex + 1     Array1(nArrayIndex)=TableInfo(i, ...
Posted By James Nolet 12-01-2021 02:31
Found In Egroup: MapInfo Pro
\ view thread
No, I don't quite get it either, Peter.  Perhaps there are duplicate lines interfering with the labelling.  Taking a look at the data, if that could be made available, might help. ------------------------------ James Nolet Dooley Mitchell & Morrison Pty Ltd Mentone, VIC, Australia --------- ...