Knowledge Base Search for: Recently modified first: KB10668 - Store/read the configuration for in-memory (non-persistent) layer. The configuration for an in-memory layer must be added. (This cannot be handled in the project file because the project file contains no knowledge how to recreate a non-persistent layer.) For example: procedure TfrmMain.createLayerAndSaveConfig; var ll : TGIS_LayerVector ; begin ll := TGIS_LayerVector.Create ; ll.StoreParamsInProject := False ; // DK8 only ll.ConfigName := 'mylayer.ini' ; ll.Params.Area.Color := clRed; ll.WriteConfig ; // copy layer parmeters to configuration fi ... Modified: January 04, 2016 KB10903 - Using Microsoft Access .accdb databases. MS Access .accdb database can be used with TatukGIS products, provided that: Access must be installed. Code should be 32-bit (Microsoft Office installation is 32-bit by default). Because TatukGIS software does not create the .accdb file, this file must be created as well as a .ttkls file. [TatukGIS Layer] Storage=Native LAYER=lwaters DIALECT=MSJET ADO=Provider=Microsoft.ACE.OLEDB.12.0;Data Source=gistest.accdb Modified: January 04, 2016 KB10566 - MSJET/Access 2 GB size limitation for PixelStore files. The MSJET/Access database engine is size limited to 2 gigabytes of data. Microsoft Access may not provide a specific message stating that the 2 GB limit is breached, which can be confusing. As a rule, if the process of generating a PixelStore database i) stops without a clear reason why and ii) the amount of data already written exceeds 1 GB, the MSJET size limitation is likely the problem. For larger image layers, PixelStore can be configured to just about any SQL database engine, such as SQLite (rec ... Modified: January 04, 2016 KB10793 - MSJET database and 64-bit platform. Microsoft does not offer MSJET (MDB) for the 64-bit platform. This can be a problem with DK development of 64-bit applications, or when porting 32-bit applications to 64 bits. For local database storage TatukGIS recommends the free cross-platform SQLite database engine, which supports x32 and x64. In addition to support for 64 bits, SQL layer performance on SQLite is very fast. Modified: January 04, 2016 KB10265 - Support for PNG format 'lostless' compression. TatukGIS products (DK and Editor) support reading and writing the PNG image format (the free Viewer supports just reading), which can be very useful for lostless compression of imagery containing a limited number of colors (such as scanned maps). The term 'lostless' means the compression is without any degradation of image quality (so unlike JPEG compression). Because, like JPEG, the PNG format is size limited, PNG lostless compression with very large image layers can be achieved by using a TatukGIS P ... Modified: December 30, 2015 KB10202 - Export vector data using spatial extent, attribute query, shape type. Data exported from a vector map layer can be defined using an attribute query, spatial extent, shape type (points, lines, polygons), or some combination of these. The DK ExportLayer method can filter an export by spatial extent and non-spatial atribute query. The GIS Editor product, provides settings to customize an export based on spatial extent, attribute query, and/or shape type in the the Layer Export dialog box found under menu Layer / Export. Modified: December 29, 2015 KB10191 - Handling of vector data attributes. Vector (shapefile) attributes are always handled in the native format (every TatukGIS supported data format format is handled as a native format), but attributes can also be stored in any SQL database via a join based on a unique record identifier. Modified: December 29, 2015 KB10323 - Simultaneously run two instances of viewer control (GIS ViewerWnd) in a DK application. The DK TwoWindows source code sample in DK sample set #1 and the DK MiniMap source code sample in DK sample set #5 demonstrate something similar. Modified: December 29, 2015 KB10387 - Create a circle or arcing line segment with the DK. Pursuant to GIS vector rules (and unlike with CAD programs), all shape vectors must be composed of points, with straight line segments connecting the points. Therefore, it is possible to create good looking circles and arcs with the DK, but not with geometric perfection. Two methods: Use the DK TGIS_Shape.StrokeArc property to create near perfect circles and arcs with the use of angle parameters in radians. Use the DK TGIS_Topology class function TGIS_Topology.MakeBuffer to draw a near circle p ... Modified: December 29, 2015 KB10275 - Georeference (not rectify) a TIFF file. A TIFF or other image can be mostly easily georeferenced (registered) to to a coordinate system using the TatukGIS Editor. Open the subject TIFF (*.TIF) file and apply three GCP points to rotate and scale the image to a known coordinate system and then save the image which will generate, to the same file folder, an associated TFW (*.TFW) file (a plain text file commonly known as a world file) containing the coordinate system information. Refer to the Editor rectification features for more information ... Modified: December 29, 2015 KB10784 - DK exception "Cannot open shapefile.shp.rtree. Cannot access file because it is being use... This exception can occur if a layer is open more than once, even within same application. This exception is handled gracefully and can be ignored. Modified: December 29, 2015 KB10772 - Geocode an address a specific distance from the street for improved location accuracy. This is possible by using the Offset property to control the distance of the geocoded street address point from the street line. The Offset property also controls the distance of the first and last address on a street segment from the beginning/end of the street. The Offset distance is defined in Map Units. Modified: December 29, 2015 KB10749 - Import data from a text (*.txt) file into a SHP layer with attributes. The DK can be used to import data from a *.txt database file (or from an Excel spreadsheet) directly or, perhaps more easily, by taking advantage of the DK support for the Comma Separated Values (CSV) file format. (Importing data from an Excel spreadsheet using the TatukGIS Editor is explained in KB10902.) CSV support . The DK can directly open, import from, export to, and save editing changes to, a Comma Separated Values (*. CSV) file. This includes both the points geometry and attribute informati ... Modified: December 29, 2015 KB10734 - Programmatically move or delete a point (vertex) forming a shape. A shape cannot be edited directly. The points forming the shape must first be copied to some array or temporary shape (such as GopyGeometry) that is editable. Alternatively, the DK GIS.Editor class can be used with the DeletePoint, AddPoint, MovePoint and InsertPoint interfaces. The Editor class uses an internal array for this. For example (parts are numbered from 0): TatukGIS_DK.IXGIS_Utils GisUtils = new TatukGIS_DK.XGIS_UtilsClass(); private void button1_Click(object sender, System.EventA ... Modified: December 29, 2015 KB10571 - On-line vector geometry and attribute editing via a web browser. A DK.ASPNET developed web GIS application can support smooth on-line editing of attributes and vector geometry via any leading web browser (Internet Explorer, Safari, Firefox, Chrome, Opera) and platform (iOS iPhone and iPad, Mac OS, Android phone and tablets, Windows Mobile devices, etc.) via support for HTML5 technology. The DK.ASPNET edition also supports a JavaScript API for advanced client side customization. Data storage in a SQL database layer is recommended to accommodate multi-user on-line e ... Modified: December 29, 2015 KB10256 - Query priority when layer and external database have same attribute field names. When applying a query in the external database, use "SELECT field AS newname ..." to change the name. Otherwise, the field name in the layer always has priority. Modified: December 29, 2015 KB10660 - Writing data to OpenGIS SQL database layer uses Well Known Binary (WKB) format. Default DK and Editor support for the OpenGIS (OGC) Simple Features Specification for SQL storage type is OpenGISBlob, which reflects the WKB (Well Known Binary) format. A DK developer can change the storage type to OpenGISNormalized, which is similar to WKT (Well Known Text), but with the x and y coordinate values organized as separate database columns. Modified: December 29, 2015 KB10258 - ADO join check list. Check list for proper ADO joining: Joining a shape file to an external database requires a one-to-one relation. Identifiers in a coverage must be unique, integer, and never empty. It is recommended that a coverage be sorted by an identifier (ADOPrimary field) and the same order applied in the external database (ADOSecondary field). This speeds up a join operation dramatically. If a query is based on an identifier (ADOSecondary) in the external database that is not unique, only the first matchin ... Modified: December 29, 2015 KB10319 - Labeling with a mouse click with the DK. This can be done just adding a point to the layer with an attached Label.Value . Modified: December 29, 2015 KB10475 - Access Font object in XDK Visual C++ (VC++) application. Font object is based on a standard IFont Interface, so: IFontPtr fnt ; fnt = Lables->Font ; fnt->put_Bold( TRUE ) ; Modified: December 29, 2015 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 Q&A Frequently Asked Questions Knowledge Base Contact Support