List of Contributions

Liz Walker

Contact Details

My Content

1 to 18 of 18 total
Posted By Liz Walker 08-02-2022 09:40
Found In Egroup: MapInfo Pro
\ view thread
Hi, The latest set of OS MasterMap data I have been asked to convert to MapInfo tab files contains the unicode character #x0302 in the textString attribute for many of the entries. This is causing the import command to fail.  Does the import command support unicode characters? Is there a flag/setting ...
Posted By Liz Walker 12-03-2021 06:05
Found In Egroup: Other Software and Data
\ view thread
Hi, under what circumstances would I be advised to run Table.Pack(PackType.PackGeometry)? I run Table.Pack(PackType.All) after deleting a number of objects already but was wondering if after updating the geometry of a number of point objects (about 100) the table would benefit from some sort of pack ...
Posted By Liz Walker 10-13-2021 07:16
Found In Egroup: Other Software and Data
\ view thread
Hi Dinesh, Thank you for the answer. I understand why the Tab file is so quick now. I would however have expected to see some performance benefit from using table.InsertFeatures(featureCollection) as opposed to when I iteratively loop through the feature and use table.InsertFeature(newFeature) ...
Posted By Liz Walker 10-11-2021 14:51
Found In Egroup: Other Software and Data
\ view thread
Using MapXtreme 9.2 in .NET I need to create a table and load 13000 features. Currently I create the features, adding them to a feature collection and then use table.BeginAccess(TableAccessMode.Write); table.InsertFeatures(newFeaturesCollection); table.EndAccess(); This is taking on average around ...
Posted By Liz Walker 08-27-2020 09:02
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hopefully this is more readable:- private void AddHandlerToSelection() ( var mySelection = MapInfo.Engine.Session.Current.Selections.DefaultSelection; mySelection.SelectionChangedEvent += mySelection_SelectionChangedEvent; ) private void mySelection_SelectionChangedEvent(object sender, Sel ...
Posted By Liz Walker 08-27-2020 08:59
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
If you know the selection that you want to add the handler to then something along the lines of this :- private void AddHandlerToSelection() ( var mySelection = MapInfo.Engine.Session.Current.Selections.DefaultSelection; mySelection.SelectionChangedEvent += mySelection_SelectionChangedEvent; ...
Posted By Liz Walker 08-25-2020 04:04
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hi Miroslav, Which SelectionChanged event are you talking about? Is this in MI Pro or MapXtreme? In mapXtreme the SelectionChangedEventArgs has a .Features property which gives you a result set you can loop through to get the information about each of the features.either added or removed (as indicated ...
Posted By Liz Walker 08-05-2020 07:01
Found In Egroup: Other Software and Data
\ view thread
Yes, it will because the catalogue on the thread is empty. so there are no tables available to insert it into. The catalogue with your tables in only exists on the ui thread (unless you add some explicitly to the catalogue on your background thread). Try executing Session.Current.Catalog.Count on ...
Posted By Liz Walker 08-05-2020 05:57
Found In Egroup: Other Software and Data
\ view thread
I have found a reference on support.pitneybowes.com to being able to specify  a timeout for a WMTS layer in an xml file: 'Timeout can be configured in the xml file via the Timeouts element'  Is this the xml file that accompanies the tab file for a WMTS layer? Does anyone have an example? I know ...
Posted By Liz Walker 08-05-2020 05:48
Found In Egroup: Other Software and Data
\ view thread
I don't see why not. I create features and programatically add them to tables all the time using the following sort of thing:- var newFeature = new Feature(table.TableInfo.Columns) ...assign values to feature, create geometry etc.... table.InsertFeature(newFeature) This works fine on Mapinfo ...
Posted By Liz Walker 08-04-2020 13:14
Found In Egroup: Other Software and Data
\ view thread
Hi Augustin I don't think you can use a thread as the map catalogue is unique to each thread. By default you will have your map and map catalogue on the main UI thread. If you then try and access the map catalogue from a background thread it is not the same catalogue as you have on the UI thread. ...
Posted By Liz Walker 05-29-2020 07:58
Found In Egroup: Other Software and Data
\ view thread
Hi,  Is it possible for MapXtreme to request map tiles on a background thread? We have a customer who needs to access a map server that is remote and periodically the requests are not as quick to be fulfilled as we would like and results in the whole application hanging as MapXtreme is waiting for ...
Posted By Liz Walker 01-28-2020 08:26
Found In Egroup: Other Software and Data
\ view thread
Sorry I missed a level out on my first explanation here is the c# code DPoint point1 = new DPoint(1, 100); DPoint point2 = new DPoint(2, 200); DPoint point3 = new DPoint(3, 300); var points = new List () (point1, point2, point3, point1); CoordSys coordsys = Session.Current.CoordSys ...
Posted By Liz Walker 01-27-2020 05:34
Found In Egroup: Other Software and Data
\ view thread
Hi Alejandro, Re Question 1: If you want to create a polygon then MultiPolygon is the geometry type to use rather than MuiltiCurve:- lo_MIDPoints(0) = New MapInfo.Geometry.DPoint(1, 100) lo_MIDPoints(1) = New MapInfo.Geometry.DPoint(2, 200) lo_MIDPoints(2) = New MapInfo.Geometry.DPoint(3, ...
Posted By Liz Walker 01-24-2020 04:34
Found In Egroup: Other Software and Data
\ view thread
Thanks Dinesh. ------------------------------ Liz Walker ------------------------------
Posted By Liz Walker 01-24-2020 04:20
Found In Egroup: Other Software and Data
\ view thread
Hi Alejandro, To extract the points you need to loop through each Curve within the  MultiCurve, then within each curve loop through each segment which is actually a line string which will give you  start and end points e.g. MultiCurve myMultiCurve foreach (var curve in myMultiCurve ...
Posted By Liz Walker 01-15-2020 12:30
Found In Egroup: Other Software and Data
\ view thread
How do I add a User-Agent header to a Tileserver request from mapXtreme? I have the tab & XML files which work when connecting to the tileserver from MapInfoPro as MapInfo adds the User-Agent header to the request. However no tiles are returned when the same tab/XML files are used from our app using ...
Posted By Liz Walker 06-24-2019 04:39
Found In Egroup: UK Users Group
\ view thread
Hi Martin You may want to look at the CHEMET data provided by the Met Office.The data they supply usually consists of a dispersion point and a several polygons generally detailing high and low risk areas and an associated time period the data is valid for. Have a look at this for an example CHEMET ...