List of Contributions

Mr. Simon Emmanuel

Fall '17 Map Entry
MapInfo Pro 17 Beta

Contact Details

My Content

1 to 20 of 23 total
Posted By Simon Emmanuel 08-10-2019 17:59
Found In Egroup: MapInfo Pro
\ view thread
Hi Tyler, Use the INTERSECTS operator instead of Contains. Also, if you group just by the first tables ID, you'll only get the first intersecting result. Either, don't group or group by both tables ID columns. You can also use AreaOverlap() function in the Select clause to return the size of the ...
Posted By Simon Emmanuel 07-07-2019 20:13
Found In Egroup: MapInfo Pro
\ view thread
Hi Andrew, Yes I downloaded a completely different version. The one you listed above, the Source Code doesn't have the MB file, so difficult to know what is happening around that line. Peter might be best to diagnose this for you. Thanks ------------------------------ Simon Emmanuel ...
Posted By Simon Emmanuel 07-05-2019 00:47
Found In Egroup: MapInfo Pro
\ view thread
Hi Andrew, To get this working, have you tried re-creating the MBX and simply creating a new Buttonpad? It's just a guess from me, but it might be the create/alter menu statement that is causing the issue. I've tested this tool in MI Pro 15.0 and 17.0.2 and works fine. Just my 2 cents :) ...
Posted By Simon Emmanuel 07-03-2019 02:29
Found In Egroup: MapInfo Pro
\ view thread
Hi Sebastian, I tried to pull some code from existing applications I have, but in the end it was simpler to just write the code out as an example. So I've attached very basic code (NO DIALOGS) that will give you the results you need (with some tweaking on your end due to me not having any sample data ...
Posted By Simon Emmanuel 06-30-2019 04:04
Found In Egroup: MapInfo Pro
\ view thread
Hi Micthel, I believe ToolButton only works on map windows, as its meant to represent a Tool like Rectangle or Radius (correct if I'm wrong PB Experts). You could use a PushButton instead. After making a selection or activating a window, you can then press the button to return the Win Type. ...
Posted By Simon Emmanuel 06-26-2019 19:50
Found In Egroup: MapInfo Pro
\ view thread
Hi Mitchel, It would help to know what you are trying to achieve with your custom tool button. ------------------------------ Simon Emmanuel Spatial Solutions Manager Salmat Digital Prestons ------------------------------
Posted By Simon Emmanuel 06-18-2019 06:53
Found In Egroup: MapInfo Pro
\ view thread
Hi Ignacio, This is a few months after your post, and you're likely not to read this, but maybe it could help someone else if they come across this. You can achieve this through SQL using the AreaOverlap() function. This function not only returns objects that intersect one another, it also returns ...
Posted By Simon Emmanuel 06-18-2019 04:05
Found In Egroup: MapInfo Pro
\ view thread
Hi Sebastian Given your description you may not need mapbasic. You could first assign all polygons to their closest store using distance calculator. Then export data to excel and use an IF statement to select rows given the quantity for each store (I assume you can calculate the required quantities ...
Posted By Simon Emmanuel 06-15-2019 03:05
Found In Egroup: MapInfo Pro
\ view thread
With traditional expression you can use Left, Len and Instr functions... Left$(Type, instr(1,Type,"valve")*Len(Type)) If Valve isn't found returns 0 so no string is returned ------------------------------ Simon Emmanuel Spatial Solutions Manager Salmat Digital Prestons ---------------- ...
Posted By Simon Emmanuel 06-01-2018 04:16
Found In Egroup: MapInfo Pro
\ view thread
No problem Peter. Dont spend too much time on it .. Ive got a good idea of what I could do in my head .. as you said, just a matter of having some time to test it. Ill add the improvement request and hopefully get some votes on it!
Posted By Simon Emmanuel 06-01-2018 03:10
Found In Egroup: MapInfo Pro
\ view thread
Yeah sure does in my case!! I cant see why this couldnt be an improvement request though, something users could set in the Preferences.
Posted By Simon Emmanuel 06-01-2018 02:46
Found In Egroup: MapInfo Pro
\ view thread
Yes Legend gets inserted automatically when you insert a map .. which is fine. My issue is, even if you keep the same map window and then remove a Theme from that window, it removes the Legend Frame as well. I was initially thinking I could get the windowid for each map in the layout and update ...
Posted By Simon Emmanuel 05-31-2018 03:36
Found In Egroup: MapInfo Pro
\ view thread
Thanks for replying Peter. Yes, I have the same map in 5 different layouts. Getting the windowid is how I thought I would need to do this .. which will be quite a bit of code change....keeps me busy. So I understand that part. Another related question: Currently I set the Legend Frame in a certain ...
Posted By Simon Emmanuel 05-30-2018 00:53
Found In Library: Mapinfo Pro
Posted By Simon Emmanuel 05-30-2018 00:53
Found In Egroup: MapInfo Pro
\ view thread
Hi Group, A quick background first. I am currently using v15.0 32bit. I have a mapbasic application (MRT) that automates mapping. You set up a template workspace with map windows, legends, logos etc applied to the Layouts. When the Theme changes on the map, it automatically updates the Legend in each ...
Posted By Simon Emmanuel 12-19-2017 17:34
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hi Paul, Unfortunately its not that straight forward. I built this specifically for our business needs. There are certain settings files that need to be setup and I havent had the time to package it up for potential use outside of our business. We can talk about this more in the new year if you ...
Posted By Simon Emmanuel 10-04-2017 18:03
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Thanks Bob, that makes sense.
Posted By Simon Emmanuel 10-03-2017 20:35
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hi Bob, You noted that 64bit Pro uses min the same as hide. Is this suggesting that the Hide keyword should work in Pro v15.0 32 bit? I just tried Map From [table] Hide and it doesnt work. Thanks
Posted By Simon Emmanuel 09-28-2017 10:57
Found In Library: MapInfo Pro Developers User Group