Knowledge Base Search for: Recently modified first: KB10551 - Add high resolution map printing to a DK based application. For high resolution printing from vector map data, we recommend two options: Visit www.wptools.com to order the wPDF engine. This engine will allow you to produce PDF files natively from your DK-VCL or DK-ActiveX compiled application. (The DK.NET edition does not support the wPDF engine.) There are license options for desktop and server applications. Use PDF printer driver (for example from www.fineprint.com) . The price is less than with the first option, but the printer driver must be installed o ... Modified: November 01, 2015 KB10235 - Support for symbols for complex map presentation, such as a different symbol for each typ... TatukGIS products support a wide variety of symbol types: BMP, WMF, TrueType, SVG, and the U.S./NATO military standard CGM (download from: http://www.gwg.nga.mil/pfg_documents.php ). One could use, for example: ll.MarkerSymbol := SymbolList.Prepare('logo.bmp'); or ll.MarkerSymbol := SymbolList.Prepare('logo.cgm'); or ll.MarkerSymbol := SymbolList.Prepare('Arial:65:bold:italic'); where '65' means decimal code of a character. Modified: November 01, 2015 KB10457 - DK.ASPNET versus DK.VCL with IntraWeb for developing a web GIS application. The greatest performance advantage of a TatukGIS DK.ASPNET developed web GIS application is it is “stateless”, meaning data is not held between user requests. Although this precludes some advanced functional possibilities, the stateless nature of the DK.ASPNET offers a very high capacity for handling large numbers of simultaneous users – even 1,000’s - from a single server. From a development perspective, the DK.ASPNET packages the full DK API as a ready-to-go ASP.NET server that can be more convenien ... Modified: September 28, 2015 KB10823 - Software activation issues. If experiencing a problem activating a TatukGIS software product, ensure the following: Activation refusal The software is installed only on the number of computers allowed by the license. The software is the official TatukGIS version downloaded via your user account directly from the TatukGIS web site (so not copied from another computer, etc.) The proper activation serial number is used. The activation serial number for a given product version is sent to the registered licensed user by e-mail ... Modified: September 28, 2015 KB10764 - TatukGIS specific or internal data formats. The only TatukGIS specific data formats are the TatukGIS SQL Layer (native) for vector layer database storage and the TatukGIS PixelStore format for raster layer database storage. Use of these formats with TatukGIS software is optional. These two formats are supported only for the utility and convenience of TatukGIS customers. The TatukGIS support for all other vector, raster, and SQL layer data formats is "native", which means the software directly opens the file without any import procedure or conve ... Modified: September 28, 2015 KB10750 - Upon enabling R-Tree spatial indexing the SHP file layer becomes slower. If the SHP file was created with non-TatukGIS software, verify that the obligatory *.shx file exists. By definition, a complete SHP format map file is composed of a *.shp file containing the map geometry, a *.shx index file, and a *.dbf file containing the attribute information. While TatukGIS products may generally open a SHP layer even if the *.shx file with the index information is missing, this can cause a mess when the R-tree indexing is activated because R-tree uses information from the *.shx fil ... Modified: September 25, 2015 KB10751 - A project with layers stored on server opens fine on one computer but not when copied to ... Probably the file paths on the second computer are set up differently than on the first computer. For example, the folder on the server containing the map layer might be mapped as drive “G” on the first computer and mapped as drive “H” on the second computer. In this situation, there are two options to open the project on the second computer. 1. Open this file as a new layer and add to the project. As a new layer, however, any visual layer property settings will not transfer from the old layer to the ... Modified: September 25, 2015 KB10672 - Convert CAD polyline land parcel data into a topologically correct polygon layer. Sometimes land parcel maps and other data - typically data associated with AutoCAD (DWG file format) or other CAD software - is composed of vector lines instead of polygon shapes. In such data, the boundaries of each land parcel are formed by a series of lines that cross but do not intersect, providing only an appearance polygon geometry. The Editor can be used to transform, in a single operation, an entire map layer of such line data into a topologically correct polygon SHP file layer. If the resulti ... Modified: September 25, 2015 KB10410 - TGIS_LayerSqlAbstract class structure for handling SQL database vector layers. The TGIS_LayerSQLAbstract base class (for native TatukGIS SQL Layers) uses these tables: Master - named ttkGisLayerSQL in which information about any layer is stored in the database Geometry - layername_GEO in which geometry blob in native format and extent are stored Feature - layername_FEA in which attributes of the feature are stored. Index - layername_IDX in which RTree spatial index is stored (for Sqlite only) Log - named ttkGISLayerLOG and layername_LOG in which logged layer operations are ... Modified: September 25, 2015 KB10747 - Editor very slow generating a vector layer topology project. Check to see if anti-virus software is running in the background on the computer. The topology checking/building operation creates a number of special files to which data is repeatedly written during the course of the operation. If anti-virus software is checking each write-to-file operation, this can slow down the speed of the topology building operation by a factor of 10 times or more. Try temporarily disabling the anti-virus software while the Editor is building the topology. Modified: September 24, 2015 KB10733 - Symbol caching. Symbol are created only once upon the first use of: Shape.Params.Marker.Symbol := SymbolList.Prepare( xyz ) ; Next call to SymbolList.Prepare will be fetched from the cache. Modified: September 24, 2015 KB10743 - Feature for smoothing polylines and polygon boundaries. The DK TGIS_Shape.Smooth method, which is a Catmull-Rom splines smoothing algorithm, can be used to smooth vector lines or polygon boundaries by adding additional, well placed, vertices to the line or polygon feature. (The TatukGIS Editor also supports this feature.) The counterpart to TGIS_Shape.Smooth is the TGIS_Shape.Simplify property, a Douglas-Peucker vertice removal algorithm, which reduces the number of vertices in line or polygon shapes while striving to retain, within tolerance, the geometri ... Modified: September 24, 2015 KB10746 - Georeferenced image layer matches up differently by a fraction of a pixel. TatukGIS software interprets the location of the x,y coordinates for each pixel to be at the center of the pixel. Some software products interpret the location of the x,y coordinates to be at another place on the pixel, typically at one of the pixel corners. This can explain a slight (fraction of one pixel) shift in raster layer presentation between different GIS software products. Modified: September 24, 2015 KB10525 - Connecting DK to Oracle server using Microsoft ODBC/ADO drivers. The Microsoft Oracle driver does not support BLOB files with Oracle 8.x or higher. Use Oracle ADO driver. OLE DB and ODBC drivers are included in Oracle ODAC distribution or Oracle Client. Modified: September 24, 2015 KB10775 - Prevent overlapping labels. Force label presentation at the expense of overlaps. Default behavior in TatukGIS products ensures that labels, even from different layers, never overlap. The label overlap prevention feature can be turned off for a layer, to force presentation of all labels in that layer even when overlapping situations are unavoidable, provided that the label rotation feature is not in use. This is done by setting: Params.Labels.Allocator=False Modified: September 23, 2015 KB10724 - Add a custom text and graphic to map printouts and exported images. The easiest method is to create a custom layer and do such drawing on the OnPaintLayer event. VB.NET ActiveX code: Private WithEvents EventLayer As TatukGIS_DK.XGIS_LayerVectorProcedure Private Sub Form1_Load(ByVal eventSender As System.Object, _ ByVal eventArgs As System.EventArgs) Handles MyBase.Load Dim lv As TatukGIS_DK.XGIS_LayerVector GIS.Open( "myproject.ttkgp" lv = New TatukGIS_DK.XGIS_LayerVector lv.Name = "myInternalLayer" lv.Extent = GIS.Extent GIS.Add(lv) ... Modified: September 23, 2015 KB10727 - Connecting DK application to SQL layers on two different databases. The DK uses connection sharing to limit the number of active database connections. With an application involving separate databases, it is important to ensure the projects do not use the same connection string, like in this example: [TatukGIS Layer] Storage=Native LAYER=somename1 DIALECT=MSJET ADO=Provider=Microsoft.Jet.OLEDB.4.0;Data Source=somedata.mdb [TatukGIS Layer] Storage=Native LAYER=somename2 DIALECT=MSJET ADO=Provider=Microsoft.Jet.OLEDB.4.0;Data Source=somedata.mdb As you see, th ... Modified: September 23, 2015 KB10732 - Implement a previous extent feature in the DK. A feature to return to the previous extent can be implemented by tracking events: TGIS_GisViewer.OnVisibleExtentChange or TGIS_GisViewerWnd.OnAfterVisibleExtentChanged Modified: September 23, 2015 KB10281 - Encrypt or otherwise protect SHP files and raster image data distributed with a DK applic... The DK TGIS_LayerSHP.OnRead and TGIS_LayerSHP.OnWrite events enable light encryption of SHP files so the files will work only with a specific DK compiled application(s). The TGIS_LayerSHP.OnWrite event can be used to add encryption upon writing a SHP file. The result is only a DK application compiled with the same encryption feature can open the subject SHP file. Essentially method involves altering something with the SHP file to technically corrupt the file in a way so the SHP file will not open in an ... Modified: September 23, 2015 KB10396 - R-Tree indexes automatically rebuild each time DK application is restarted. The most common user scenario for this problem is the program terminates unexpectedly (for example has been terminated upon debugging). The solution is to ensure GIS.Close() is called before exiting from the application to save pending R-Tree changes. Modified: September 23, 2015 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 - 14 Tech Support Q&A Knowledge Base Common Questions