Knowledge Base Search for: Recently modified first: KB10483 - Localize (by language) DK dialogs and messages. The DK is language friendly! Be familiar with two functions: GisLocalizedStringsFromString This allows the developer to localize the dialogs from the provided string. So you can embed the localized string into your DK application. GisLocalizedStringsFromFile This simply loads the localization from the file of the structure: [ENGLISH]GIS_RS_NOT_IMPLEMENTED=Feature not implemented GIS_RS_BTN_OK=OK GIS_RS_BTN_APPLY=Apply GIS_RS_BTN_CANCEL=Cancel GIS_RS_BTN_RESET=&Reset GIS_RS_BTN_SELECT=&Se ... Modified: September 21, 2015 KB10414 - Display multiple unique symbols on same layer, such as for GPS tracking. There are three ways to do this: 1) Use the layer property settings (ini files). The point representing each vehicle or other object on the map should have an attribute field with a unique value. Then use the visual layer property settings to associate a unique symbol to point feature(s) with the matching attribute value. The set-up is saved to the TatukGIS project file. (For more on the visual layer property settings and rendering symbols in particular, refer to the relevent TatukGIS Editor/Viewer he ... Modified: September 21, 2015 KB10669 - GIS_Area and GIS_Length vector layer attributes updated dynamically. The GIS_Area and GIS_Length attributes are special because i) they are not editable and ii) the values are recalculated and updated dynamically as the shape geometry is edited. GIS_Area attribute contains dynamically updated area values for each polygon shape in a polygon layer. GIS_Length attribute contains dynamically updated length values for each line shape in a polyline layer. The values of these attributes are in the measurement units of the layer. As with other attributes, the GIS_Area and GIS ... Modified: September 21, 2015 KB10685 - DK.NET application runs slower than expected. .NET is generally slower than native WIN32/64 applications. However: Verify the .PDB file has been deleted. While presence of the .PDB file allows debugging, its presence, even when the application is running outside the IDE, will slow down execution by a factor of 2 to 3 times. Read Knowledge Base item KB10670 . Modified: September 19, 2015 KB10680 - Multi-colored WMF, CGM, and SVG symbols. TatukGIS products support WMF, CGM, and SVG symbols. Each of these symbol types supports multi-color combinations. WMF symbols support any color combination and TatukGIS software simply renders WMF symbols as they are. CGM and SVG colors can be controlled via the TatukGIS software: Marker CGM and SVG symbols can be two colors, i.e., bi-colored. Set Marker.Color and Marker.OutlineColor to modify the colors. Color of CGM/SVG symbols used for polygon outlines always match Outline.Color. Color of CG ... Modified: September 18, 2015 KB10340 - Image resampling during rectification and/or mosiacking. The default Editor image rectification and/or mosiacking process involves no pixel resampling. Pixel positions are rearranged during the rectification process but not resized. This best preserves the integrity of the source data in the exported image. An exception is if source images of different resolution levels are used together in a project to generate an output mosaic. In this situation, the Editor by default exports to the resolution level of the highest resolution source image. Source data from ... Modified: September 18, 2015 KB10637 - Export resolution using DK GIS.ExportToImage function. The default DK GIS.ExportToImage settings export to 1,000 x 1,000 pixels, regardless of the export image format. This can involve, therefore, pixel resampling and quality loss if the source imagery is of a higher resolution. So best is to set in the DK the export resolution, i.e., the number of exported pixels. For no reduction in image quality, specify in the DK to generate the export image at the same resolution as the source image layer. This involves determining the number of pixels in the source ... Modified: September 18, 2015 KB10492 - Hide a layer from the legend using the DK. Use layer.HideFromLegend=True; Modified: September 18, 2015 KB10401 - Using ADO via Variants with DK _Recordset ADOJoin. ll.JoinADO := IUnknown(variantRecordset) as _Recordset ; Modified: September 18, 2015 KB10684 - Viewer/Editor default viewer status for supported file types. The option to name an application as the default viewer on a computer for supported file types is a convenience feature of the Windows operating system. This enables the user to just click on a file in the directory to open the file in the default viewer, without need to first open the viewer application and load the file to the viewer. For files for which the TatukGIS Viewer or Editor is associated as the default viewer, the TatukGIS logo appears by the file name. Appearance of the TatukGIS logo does ... Modified: September 18, 2015 KB10686 - Microsoft warning that TatukGIS Editor or Viewer is attempting to access the internet or ... TatukGIS final user products contain two features which could trigger this warning. These are the automatic Check-for-Updates and the Bug Reporting features described below. Both features are for legitimate communication with TatukGIS and are standard features used by many software products, including Microsoft products. Check for Update feature: The TatukGIS Editor and free Viewer products include a feature to automatically check via the internet with the TatukGIS web site for the availability of ... Modified: September 17, 2015 KB10687 - Determine if simple line ShapeArc (one part, two points) lies on perimeter of a ShapePoly... Use the DK function TGIS_Shape.Relate to determine if a geometric relation between a shape and line is True. Refer to the DK Relation source code sample, found in DK sample set #4, for guidance. TGIS_Shape.Relate uses the DE9IM array to define the relation. A detailed description of the TatukGIS support of the DE9IM model is presented in the DK Guide. Modified: September 17, 2015 KB10435 - Thematic map presentation without using a project file. Rendering styles can be applied via the DK configuration files, so without a project file. For example: Line.color = RED or the styles can be applied programmatically in the code, for example: Layer.Params.Line.Color:=clRed Modified: September 17, 2015 KB10688 - Slow Mini Map speed in a DK application. The most likely problem is the Mini Map layer is very large. Presenting a huge map file in the Mini Map window can make the application run slow. Because the Mini-Map window is small and not used to preset zoomed-in views, it makes no sense to present in this window a very detailed (large) map file. So better is to use a relatively small file for the MiniMap. An easy solution is export a small raster file (adjust the compression and resolution to make the raster file relatively small) to use as the Mi ... Modified: September 17, 2015 KB10689 - Join DK to an SQL database file. The procedure to join to an SQL database file to render the map based on data in the database is demonstrated by the DK JoinandChart source code sample found in DK sample set #2 and the Join&Render source code sample found in DK sample set #4. These DK samples are also demonstrated (on the TatukGIS web site) as on-line web GIS mapping using the DK for ASP.NET product edition. Modified: September 17, 2015 KB10563 - Turn transparency ON/OFF for bitmaps used as a layer.marker.symbol. The transparency of bitmaps in the DK is by default turned ON. To turn transparency OFF, use: shp.Params.MarkerSymbol := SynbolList.Prepare( 'mysymbol.bmp?FALSE' ); Or, in the ini/ttkgp, use: Marker.Symbol=mysymbol.bmp?FALSE Modified: September 17, 2015 KB10691 - PDF file generation from semi-transparent layers is slow. Generation of PDF files from semi-transparent layers is inherently very slow, due to the nature of the PDF file format. This is outside of the control of TatukGIS. Modified: September 17, 2015 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 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 Q&A Frequently Asked Questions Knowledge Base Contact Support