Knowledge Base Search for: Recently modified first: 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 KB10652 - Set a transparency level for individual shapes. This is possible, but not very efficient. You must override OnPaintShape event and then: procedure TForm1.doPaintShape( const _sender : TObject ; const _shape : TGIS_Shape ) ; var hndl : Integer ; begin hndl := GIS.LockTransparent( 50 ) ; _shape.Draw ; GIS,UnlockTransparent( hndl ) ; end ; Modified: September 10, 2015 KB10648 - DK support for proprietary data formats. The DK API can be used to read/write various formats not supported directly in the DK: All shapes in a layer can be traversed using FindFirst()..FindNext() Any vertices from a shape can be accessed using GetPoint() A new shape can be added to a layer and then new vertices added to the shape using AddShape(0), AddPoint() The TatukGIS DK provides a unified API to GIS objects based on: Layers Each layer contains a Shape Each shape can be point, line, or polygonal Upon reading any vector data ... Modified: September 10, 2015 KB10646 - Labels and charts in image exported with DK ExportToImage are different size than viewed ... The last parameter of the ExportToImage function specifies the DPI setting (dots per square inch). The default DPI value in the DK is 300, but the computer screen may have a different DPI. To export image to appear the same as on the computer monitor, set the DPI parameter accordingly. Modified: September 10, 2015 KB10642 - Generate cendroid points layer from a polygon layer. The TatukGIS Editor's topology builder functionality can generate a new vector points layer from a polygon layer with each point reflecting the centroid position of the matching polygon. Each point shape will have the same attribute values as the matching polygon. With the polygon layer open and highlighted as the selected layer, select the Tools/Topology/Topology menu to open the Topology builder and corrector combo box . Then select Polygonal as the Topology type and select the Centroid ... Modified: September 10, 2015 KB10641 - Query for intersection between two streets on a vector street map layer. It is possible to query for two streets to easily see the place where the two selected streets intersect. (The only way to actually query for an intersection itself would be if there were a map layer containing point objects representing the locations of the street intersections.) The correct SQL Builder query string to use is: (name = 'xxx') or (name = 'yyy') You must use "or". "And" will not work because it is impossible to have two names for a single vector shape, i.e., street line. Modified: September 10, 2015 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 - 15 - 16 Q&A Frequently Asked Questions Knowledge Base Contact Support