Knowledge Base Search for: Recently modified first: KB10801 - Locate source code samples provided with DK trial version. Link to the TatukGIS Developer Kernel should be installed on a Desktop. Links to Samples, Help, etc. can be found under this link. Read the start-up guidance provided in the read-me file included in the DK download package. Modified: December 09, 2015 KB10460 - Supported map layer formats on Oracle database. A number of vector and raster database layer formats can run on the Oracle database engine. A list of all TatukGIS supported SQL database layer formats with compatible database engines is presented in KB10639 . Guidance on setting up a TatukGIS PixelStore image layer on an Oracle database is provided in KB10649 . Guidance on connecting to an Oracle Spatial or Oracle GeoRaster layer on Oracle database is provided in KB10779 . . Modified: December 08, 2015 KB10818 - Customize Editor user interface language translations or add a new language option. Steps to edit the user interface (menu names, messages, and strings) language translations for an already supported language: Use the menu item Tools \ Languages to select a language from the list of supported languages. This will convert the menus, messages, and strings of the program user interface to the selected language. Click on the menu Tools \ Languages \ Edit language to open the Language Editor dialog box. Edit the translations as required. Click on the Save button on the Langu ... Modified: December 08, 2015 KB10914 - Support for DXF named layers. Upon reading/writing a DXF file, the DK interprets the DXF file as a single DK layer. DXF, however, has a assignment between shape and the DXF named layer. Such DXF named layer is interpreted by the DK using an attribute field called DXF_LAYER which, for example, can be used for attribute based rendering. If this attribute field does not exist when layers are exported to DXF, the field will be created and assigned to a DK layer.Name . If you want to perform any custom export: Create a DXF_LAYER ... Modified: December 08, 2015 KB10817 - Open a WMS layer in a TatukGIS product. To open a WMS just provide the URL, like: GIS.Open( ‘http://onearth.jpl.nasa.gov/wms.cgi’ ) or ll := GisCreateLayer ‘OneEarth’, ‘http://onearth.jpl.nasa.gov/wms.cgi’ ) ; if Assigned( ll ) then GIS.Add( ll ) It is also possible to force a particular parameter by embedding one of the WMS request parameters. The following example forces an image format of a particular layer: GIS.Open( ‘http://onearth.jpl.nasa.gov/wms.cgiFORMAT=image/jpeg&LAYERS=global_mosaic’) With the Editor (or ... Modified: December 08, 2015 KB10182 - Intelligent label positioning for vector lines and irregularly shaped polygons. TatukGIS products contain sophisticated label placement features that balance the trade-off between the benefits and processing costs of intelligent label positioning. (Achieving the optimal label placement in every situation would consume too much processing power, resulting in reduced in speed.) Labels for line features are positioned in the best-fitting location within any given map view and labels for irregularly shaped polygons are positioned in very good locations most of the time, with a guarant ... Modified: December 08, 2015 KB10803 - Color a shapefile layer using attribute values with a layer event (Visual Basic) Add a field called COLOUR to the layer: layer.AddField("COLOUR", TGIS_FieldType.gisFieldTypeString, 255, 0) Set the color field to the shape: Dim sColor As String sColor = System.Drawing.ColorTranslator.ToHtml(myPolygon.Colour) ShapePolygon.SetField("COLOUR", sColor) 'shape polygon is of TGIS_Shape type When using a ttkgp file, add a delegate to the PaintShape event: AddHandler m_objLayerBoundaryPolygon.PaintShape, AddressOf MyShapePaintEvent In the PaintShapeEvent, get color fr ... Modified: December 08, 2015 KB10809 - Render street intersections (at the line edges) for nice visual presentation. Nice visual presentation can be achieved by drawing the street map line layer twice, i.e., have the same layer two times in the project, one layer on top of the other. First draw the full width lines representing each road or street in the lower layer. Then render the same lines more narrowly in a different color in the upper layer, so that each narrow-rendered line partially hides the wider version of the same street line in the layer below. When the two layers are presented together, the result is th ... Modified: December 08, 2015 KB10250 - Convert layer from line topology to polygon topology. The TatukGIS Editor supports functionality to convert a layer from line to polygon topology, or from polygon to line topology. This functionality can also systematically remove topology errors (missing line intersection nodes, overlapping polygons, etc.) from line and polygon layers. Refer to the Editor's Topology Builder feature and select the option to build polygonal topology from a polyline layer. DK topology functionality can be used to implement such functionality (as well as, for example, con ... Modified: December 08, 2015 KB10913 - Compilation issues with C++Builder. If you experience compilation issues or A/V errors when starting a DK application compiled under C++Builder, please ensure that runtime packages = false in project options. The TatukGIS Developer Kernel uses VCL generic methods and classes which generally may not resolve properly upon linking with .BPL libraries. This is especially true for C++Builder RTL libraries. Use of a 3rd party or user compiled .BPL can be possible, but compatibility cannot be guaranteed. Modified: December 03, 2015 KB10601 - Display coordinate locations in database on a projected base map. For guidance on rendering coordinate referenced data from a database to a map, refer to the DK Join and Chart source code sample found in DK sample set 2. If the coordinates stored in the database are not in the same coordinate system as the base map, just reproject the coordinates, on-the-fly, to the coordinate system of the base map layer. For guidance, refer to the DK Reproject source code sample found in DK sample set #3. For more on TatukGIS support for coordinate systems and reprojection between ... Modified: November 03, 2015 KB10163 - Define a U.S. State Plane coordinate system for layer reprojection. All U.S. State Plane coordinate systems are predefined in TatukGIS software products. Therefore, it is just a matter of selecting the State Plane from the drop down list. TatukGIS products support thousands of coordinate systems in this way. The TatukGIS support for coordinate systems, conversion of map layers between coordinate systems, default behavior, etc., is provided in KB10895 . A demonstration is provided in one or more of the Editor video tutorials. Though normally not necessary, is also po ... Modified: November 03, 2015 KB10158 - Mosaic a series of scanned maps into a single mosaic georeferenced to a coordinate system. The TatukGIS Editor can rectify and georeferece raster (aerial images, scanned maps, grid files, etc.) and vector (old vector maps, CAD drawings, etc.) layers to any one of thousands of predefined map coordinate systems. Multiple raster images can be mosaicked into a single image layer. For really huge image mosaics, export to a TatukGIS Pixelstore SQL database layer is an option. For guidance on performing vector and raster layer rectification, refer to the Editor Layer/Rectify menu and to the Lay ... Modified: November 03, 2015 KB10820 - Converting coordinates between two coordinate systems. A point can be converted between any two supported (and compatible) coordinate systems. The easiest way is to use EPSG codes (see also KB10821 ). Example Projection of points from WGS84 to the Irish National Map Grid coordinate system is performed as follows: TGIS_CSCoordinateSystem cs_in = TGIS_CSFactory.ByEPSG( 4326 ); TGIS_CSCoordinateSystem cs_out = TGIS_CSFactory.ByEPSG( 29901 ); ptg_in.X = -2 ; // longitude ptg_in.Y = 60 ; // latitude ptg_out = cs_in.ToCS( cs_out, ptg_in ) ; ... Modified: November 03, 2015 KB10792 - Visibility (disappearance) of street name labels at various zoom levels. The follow-the-line label positioning feature dynamically rotates and intelligently positions labels for best fit to a line feature at any given scale (zoom level) or map presentation. The default behavior attempts to render a label if the line (such as forming a street segment between intersections with other streets) appearance at a given scale (zoom level) is at least as long as the label. Furthermore, even if the line is technically longer than the label, the label appearance (or non appearance) c ... Modified: November 03, 2015 KB10881 - Use of the Editor for multi-user GIS solutions. Use of the TatukGIS Editor (or free Viewer) for a multiple user solution is possible when the data storage is in SQL map layers on a database server. Supported database engines and compatible SQL layer formats are presented in Knowledge Base item KB10639 . Multi-user viewing, querying, report generation, etc. from a common database is easy. The tricky part of a multi-user environment is creating and editing data. What if two or more users edit the same record (vector shape) in a map layer? Should rul ... Modified: November 03, 2015 KB10339 - Mosaic generated from source images of different resolution levels. If source images of different resolution levels opened together in a project are exported to generate an image mosaic: The TatukGIS Editor exports by default to the resolution level of the highest resolution source image. The software checks each source image file to determine this. Source data from any images of lower resolution is converted (resampled) to the resolution of the mosaicked output. The Editor image export behavior can be customized using the image export settings. The TatukGIS Develop ... Modified: November 03, 2015 KB10716 - How can I improve the speed of the Editor/Viewer with my data? 1. With vector layers, ensure that a reasonable 'Smart Size' setting is selected. A suggested default Smart Size is one pixel (1px). Use of this feature can dramatically enhance the speed of opening large vector files and the speed when panning at relatively zoomed out view levels. Smart Size is a visual layer property setting. For more on the Smart Size feature, refer to KB10711 . 2. With vector layers, ensure that the R-tree spatial indexing feature is enabled. Although use of this feature will mak ... Modified: November 03, 2015 KB10442 - Turn restrictions in DK routing operations. The DK supports blocking specific turns in situations involving one-way or traffic-forbidden streets. So a left or right turn into the wrong direction on a one-way street can be restricted in the route calculation. These restrictions must be coded to the attributes of the line vectors (links) representing the street segments. Beyond situations involving one-way streets, the DK does not support the assignment of turn restrictions and turn "costs" to the actual intersection nodes. Because the DK is grou ... Modified: November 03, 2015 KB10583 - Animated rendering colors, sizes, etc. of 100,000+ objects updated each second. TatukGIS uses what we call an 'In-memory' layer (TGIS_LayerVector) to perform the animation. Lines, points, and polygon shapes may be created on this layer using your own logic or data can be imported from existing sources using the built-in DK ImportLayer method. Every shape in an in-memory layer is editable. The DK writes data to an in-memory very, very quickly. Follow this procedure: Screen caching turned on The layer(s) containing the in-memory temporary animated representation must be the top ... Modified: November 03, 2015 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 - 13 Tech Support Q&A Knowledge Base Common Questions