Knowledge Base Search for: Recently modified first: KB10618 - Ease of porting a GIS application between DK editions. Each DK product edition reflects essentially the same API, framework, and technology. Any differences are only as required by the different technologies. The high degree of similarity enables porting GIS applications between development technologies (Delphi, FireMonkey, C++Builder, Visual Basic, VB.NET, C#, pure .NET, WPF, ASP.NET, Compact Framework, Java) and different operating systems (Windows, Apple iOS and OSX, Android). The following example provides a comparison of the code (in C# and Delphi) u ... Modified: September 16, 2015 KB10683 - Show a pop-up menu in .NET code using the XDK. Use: menuPopUp.Show(ActiveForm, _pos) Without this, the menu will be visible but menu event will not be fired. The ContextMenu property is not visible because .NET ActiveX interoperable layer does not provide this. Modified: September 16, 2015 KB10682 - Topologically split lines in SHP layer at place of each intersection. Refer to the DK TGIS_Topology.SplitByArc functionality as demonstrated in the DK SplitByArc source code sample found in DK sample set #5. The DK function TGIS_Topology.ArcSplitOnCross can be used to split each line (arc) in a layer at each point of intersection with any other line. This can be used, for example, to prepare street/road map layers for routing operations by splitting road/street line vectors into street segments with intersection nodes. Modified: September 16, 2015 KB10679 - Get shape WKT geometry in a given projection. Implement this function: function MyExportToWKT( const _shp : TGIS_Shape ) : String ; var tmp : TGIS_Shape ; i,j : Integer ; begin tmp := _shp.CreateCopy ; try tmp.Lock( gisLockInternal ); try tmp.Reset ; for j := 0 to _shp.GetNumParts - 1 do begin tmp.AddPart ; for i:= 0 to _shp.GetPartSize( j ) - 1 do begin tmp.AddPoint( _shp.GetPoint( j, i ) ) ; end ; end ; finally tmp.Unlock; end ; Result := t ... Modified: September 16, 2015 KB10667 - MDA / LoadLock message when debugging XDK application inside Visual Studio. Nothing is wrong. This message is just .NET specific. Read more about Managed Debugging Assistants at: http://msdn2.microsoft.com/en-us/library/d21c150d.aspx. In this material you can find instructions how to disable MDA. One very simple, but somewhat aggressive, way to disable MDA is to tweak the registry by: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework] "MDA"="0" You can restore the MDA setting by: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework] "MDA"="1" Modified: September 16, 2015 KB10394 - Set transparent pixel color value(s) in an image layer. Pixels of a specific color or zone (range) of colors in an image layer can be rendered transparent. The result is all pixels matching the color or color zone definition will not be visible. The color true black, for example, can be defined with the code '000000'. A color zone can be defined by a starting and ending color value. For example, a range of colors near to true black might be defined with '000000 - 050505'. Multiple pixel color zones in an image can be defined. The procedure is use Notepad t ... Modified: September 15, 2015 KB10664 - Snapping feature to snap placements to the exact locations of shape vertices in another l... The TatukGIS Editor supports snapping to the exact locations of nearby vertices in another layer during the process of vector editing. Do the following: Enable editing mode (the edit tool selected and the layer to be edited highlighted in the Legend panel). Select the snap-to layer from the dropdown list located just to the right of the edit tool icon. All open vector layers will appear in that drop down list. Make the vertices in the snap-to layer visible by ensuring the Show Snapping Points fea ... Modified: September 15, 2015 KB10663 - Create or edit holes in polygon shapes. Holes inside an already existing polygon shape may be created by adding a polygon forming the hole as a part of the original polygon shape. The procedure using the TatukGIS Editor is: Select in editing mode (edit tool selected and layer to be edited highlighted in the Legend panel) the polygon to which the hole is to be added. Select the Shape / Add Part menu. Use one of the editing modes to draw the polygon to represent the hole as a part of the original polygon. Complete the new part by clic ... Modified: September 15, 2015 KB10362 - Display information held in an attribute field as a text label. Any information contained in a attribute field associated with a vector object (a shape) can be made to display as a text label. The information will display as a text label in the appropriate position relative to the associated vector - point, line, or polygon. There are two ways to do this: 1) Create, using notepad for example, an *.ini or a project file (such as _mysfile.shp.ini), as follows: [TatukGIS Layer] Label.Field=TAB_LABEL or 2) Programmatically, as follows: Params.Labels.Field := 'lab ... Modified: September 15, 2015 KB10673 - Connect to Oracle database using MSDAORA (Microsoft OLE DB Provider for Oracle). Use OraOLEDB (Oracle Provider for OLE DB) driver instead. The Microsoft provider does not support BLOB (binary object). The same is true for Microsoft vs. Oracle ODBC providers. Modified: September 15, 2015 KB10665 - 'Type mismatch' error when setting a Line.Symbol to ‘Nothing’ using XDK with VB.NET. This situation requires the use of direct casting. Possibility #1: DirectCast(ll.Params, TatukGIS_DK.IXGIS_ParamsSectionVector).Line.Symbol = Nothing Possibility #2: Dim params as TatukGIS_DK.IXGIS_ParamsSectionVector Params = ll.Params params.Line.Symbol = Nothing Modified: September 15, 2015 KB10909 - Picture symbology is slow when many icons are presented at once. Picture symbology is a processor intensive task. This is especially true for alpha channel PNG. To enhance the speed, we recommend using images as small as possible. For example, if you plan to never render symbols larger than 64 pixels, use images of a corresponding size. Using much larger images will slow down rendering significantly. Rendering a 64x64 image requires processing (with Alpha channel) only 16KB whereas rendering a 512x512 image requires processing 1MB, making the processing even 64 tim ... Modified: September 11, 2015 KB10368 - Split a polygon with a line. The DK supports such topological editing. Refer to the DK TGIS_Topology.SplitByArc functionality. The line splitting procedure is demonstrated in the DK SplitByArc source code sample found in DK sample set #5. Modified: September 11, 2015 KB10510 - DK support for WYSIWYG printing of the displayed map. This is supported. For guidance, refer to the PrintPreview source code sample in DK Sample Set#4. Modified: September 11, 2015 KB10565 - Problem printing transparent bitmap symbols on some printers. Not all printers support transparent bitmap printing. The workaround is use vector WMF, CGM, or Truetype symbols instead. This will result in very slow printing, but it will provide smooth scaling. Modified: September 11, 2015 KB10545 - OnPrintPage control does not work properly when debugging XDK print preview features in V... This is a known bug in Visual Basic 6 – events for modal forms are not fired. The display works correctly the first time only because the forms are prepared before being displayed as modal. This problem does not occur in VB.NET. For more information about this VB6 specific problem, refer to Microsoft support documentation. Modified: September 11, 2015 KB10595 - Misspellings and common abbreviation mistakes with geocoded street address querying. The default DK geocoded address standardization (parsing) functionality does not resolve the error when a user enters an incorrect (misspelled) street name or a non-matching abbreviation. But the DK developer can enhance the default functionality by: 1) Defining a dictionary of common abbreviations with synonym lists for use in the query. This can allow a query to work, for example, regardless of whether the user enters: ‘street’, ‘st’, or ‘str’ ‘court’ or ‘ct’ ‘South’, ‘So’, or ‘S’ 2) Incorpora ... Modified: September 11, 2015 KB10658 - Run Editor, Viewer, or DK developed custom application on MacIntosh VirtualPC. The steps are: Start the Virtual PC session as normal. In the Mac Finder, navigate to the 'Documents' folder in your 'Home' folder. Open the 'Virtual PC Scripts' folder. Open the 'Toggle Compatibility Mode' script by double clicking it. The script opens in Script Editor. Click the 'Run' button at the top of the script window. Click 'OK' to the informational dialog that appears. Click 'Enable' in the next dialog box. Return to the PC session, which is now running in compatibility mode, and run ... Modified: September 10, 2015 KB10657 - Interrupt map drawing process when opening huge dataset. Just press the ESC button (using the TatukGIS Editor or free Viewer). Modified: September 10, 2015 KB10656 - Naming guidelines for SQL vector and PixelStore layer files. Because layer names are stored inside the SQL database, use names that are compatible with the database. We suggest using names without spaces and that contain only ASCII characters. This will result in the SQL vector or PixelStore layer being independent of the operating system and database language driver. Remember that for nice presentation, the name can be stored as a layer.Caption property. Modified: September 10, 2015 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 Tech Support Q&A Knowledge Base Common Questions