Knowledge Base Search for: Recently modified first: KB10865 - Open map data purchased on a CD in the TatukGIS Viewer? TatukGIS does not sell any map data products by CD, so your purchase must have been from some other company. (TatukGIS offers - either for free or for a price - only a very limited number of data sets by download from the TatukGIS web site.) Please direct support questions to the company from which you made the purchase. TatukGIS is unable help with data that we know nothing about. Furthermore, the TatukGIS Viewer is a free product that is provided without user support. The Viewer is sufficiently ... Modified: January 22, 2013 KB10889 - Converting coordinates between coordinate systems and "text" projections such as MGRS and... Example Projection of points from Word Mercator to the MGRS system is performed as follows: TGIS_CSCoordinateSystem cs_in = TGIS_CSFactory.ByEPSG( 3395); TGIS_CSProjGridAbstract prj_mgrs = (TGIS_CSProjGridAbstract)( TGIS_Utils.CSProjList.ByWKT( "MGRS" ) ) ; ptg_in.X = 2003750; // easting ptg_in.Y = 7135562; // northing ptg_radians = cs_in.ToWGS( ptg_in ) ; txt = prj_mgrs.ProjectedText( ptg_radians ) ; // reverting ptg_radians = prj_mgrs.UnprojectedTxt( txt ) ; ptg_out = ... Modified: December 14, 2012 KB10822 - How to migrate from the DK8 & DK9 to a newer Developer Kernel version. Guidance for migrating development (DK8, DK9) to the most recent version DK version is provided at the link: http://www.tatukgis.com/Landing/DK/MIGRATE/ TatukGIS may update the material at this link from time to time, as we learn from customers about any issues or problems being encountered as they move their development to the most recent DK product version. Modified: October 26, 2012 KB10885 - Move, copy, or rotate a vector shape with the TatukGIS Editor. The Editor MoveCopyShape script provides an elegant tool to move or copy the entirety or any portion of a line, polygon, or multi-line shape. Specific functionality: Move or copy shape geometry to a new location in the same map layer or different (new or already existing) layer. Move or copy only a portion of a shape’s geometry defined by the shape part and a range of vertices. Option to change the geometric type of the copied geometry, such as to copy the vertices from a polygon type sha ... Modified: October 17, 2012 KB10770 - Rotate or move a line or polygon shape using COGO. One way to rotate or move a vector line (such as a a property parcel boundary line) or polygon shape is using the Editor's COGO (Coordinate Geometry) editing feature. The COGO feature is intended primarily to plot land parcel boundaries from bearing/distance calls contained in land deed records, but it can also be used to edit existing line shapes such as described here. To move a line or polygon shape Select the shape using the Edit shape tool (available under the menu Shape/Edit shape ) an ... Modified: October 13, 2012 KB10443 - Handling road crossings at bridges and tunnels without turn possibilities. This situation can be handled by editing the vector file to remove the intersection node at a such crossing. Then the bridge or tunnel crossing will no longer be treated like an intersection, i.e., no turn at that place will be possible. If the road maps include centerline elevation data, TatukGIS products support use of the elevation data to identify road crossing situations (bridges, overpasses, etc.) that are without turn possibilities. Modified: September 10, 2012 KB10883 - Index setup for SQLite & Geocoding. Geocoding intensively uses the LIKE operator. For operation speed, it is highly recommended to create an index on all database fields used for searching. However, by default, SQLite does not use indexes for the LIKE operator if the index is created in a (default) case sensitive matter. Therefore, indexes created with COLLATE NOCASE are recommended. Sample syntax is: CREATE INDEX NAME ON "Street_for_geocoding_nad83_FEA" (NAME COLLATE NOCASE ); This hint about the importance of indexes is val ... Modified: July 10, 2012 KB10526 - Creating thematic layer to display different color based on attribute field values This code will add a rendering section to the layer to render shape using Color (or other properties like OutlineWidth ) based on query value Layer.ParamsList.Add Layer.Params.Query = "VELOCITY < 30" Layer.Params.Marker.Color = YELLOW Layer.ParamsList.Add Layer.Params.Query = "VELOCITY BETWEEN 30 and 70" Layer.Params.Marker.Color = GREEN Layer.ParamsList.Add Layer.Params.Query = "VELOCITY > 70" Layer.Params.Marker.Color = RED Modified: July 06, 2012 KB10882 - Editor compatibility with a terminal server environment. TatukGIS has successfully tested the Editor in a Microsoft terminal server environment. Customers have reported that the Editor also works just fine in a Citrix terminal server environment, though TatukGIS has not tested the Editor with Citrix server. A terminal server environment enables controlled (via the server) sharing of the Editor product between multiple users and requires the purchase of a concurrent user license(s) of the Editor product. Each concurrent user license allows a limit of one use ... Modified: June 29, 2012 KB10806 - DK-CF performance compared to a dedicated GPS street map navigation solution. These are such different products (different classes of products) that performance comparison is pointless. The TatukGIS DK Compact Framework (DK-CF) edition is a general purpose SDK (component) for the development of GIS applications for any device running the Windows Mobile/CE/PocketPC operating systems. A dedicated GPS street map navigation application need not be compliant with GIS standards nor run on the Windows Mobile/CE operating system, and can be optimized to perform one task (GPS based stre ... Modified: June 27, 2012 KB10880 - Single shape transparency The Developer Kernel supports transparency on per-layer basis. It is possible, however, though not very efficient, to force a transparency for a single shape. procedure TForm1 . PaintShape( const _sender : TObject; const _shape : TGIS_Shape ); var h : Integer ; begin h := GIS . LockTransparent( Random( 100 ) ) ; _shape . Draw ; GIS . UnlockTransparent( h ) ; end ; Modified: June 14, 2012 KB10879 - Hints for effective optimal routing. TGIS_ShortestPath is an effective way for finding the shortest path between any two points in a network. Achieving best performance, however, can require additional steps. Shape length calculations Diagnosis By default all length calculations are performed using TGIS_ShortestPath.RoadLength=GIS_LENGTH . Because the GIS_LENGTH virtual attribute is calculated dynamically using the TGIS_Shape.LengthCS method, it is not the fastest method (particularly if using the Transverse Mercator projec ... Modified: May 01, 2012 KB10707 - Explanation of the DK related non-compete license clause. TatukGIS develops and markets both the Developer Kernel (DK), a royalty-free SDK/component for use by GIS solution developers, and the desktop GIS Editor application for final users. The objective of the non-compete clause in the TatukGIS license agreement is to ensure that the TatukGIS technology/intellectual property provided in the DK product is not used (without fair compensation for TatukGIS) to develop an application which directly competes against the TatukGIS Editor product. TatukGIS believes th ... Modified: April 23, 2012 KB10872 - Using ViewFeatures on SQL layers. When using the layer.ViewFeatures property, a complicated sub-query can be sent to the database to narrow the dataset. By setting ViewFeatures to a non-empty string, the build in TableFeatures is disabled. Example: ll.ViewFeatures = "MyView" ll.ViewFeatures = "(select * from lwaters_FEA where lwaters_FEA.UID IN (SELECT UID from lwaters_FEA where name like 'a%') )" Note: Selection should return the shape UID number, like a standard TableFeatures returns. The result of the ViewFeatu ... Modified: October 05, 2011 KB10708 - Export an image of map view with legend panel and/or scale bar. An image of the map viewer window, the legend panel, and the scale bar panel can be exported independently using: GIS.PrintBMP, Legend.PrintBMP, and Scale.PrintBMP. For example, GIS.PrintBMP can be used to export the image of the map viewer window and Scale.PrintBMP to export an image of the scale bar panel. Then the two images can be merged into one. You can also use Print Templates to place all documents on the same page and print it, for example, to a PDF driver. The ExportToImage function gene ... Modified: August 30, 2011 KB10709 - Export multiple geometry types (points, lines, polygons) from multiple SHP layers to a si... Each SHP file, of course, is limited to data of a single geometry type (points, multi-points, lines, or polygons), whereas KML files can hold multiple geometry types together in the same file. Using the TatukGIS Editor product, the procedure to combine all the exported data into a single KML files is: Export the data from each SHP layer into a separate KML file. Use the Layer Merge feature to merge each of the KML layers, one-by-one, into a single KML file. The procedure is the same for ex ... Modified: August 24, 2011 KB10360 - Custom render icons/symbols to reflect qualitative information Value dependent rendering can be performed using a *.TTKGP file (TatukGIS project file) or *.INI files. For example: [TatukGIS Layer1] Path=mylayer.shp [TatukGIS Layer1 1] Render=severity<5 MarkerColor=GREEN [TatukGIS Layer1 2] Render=severity>=5 MarkerColor=RED In this example, incidents with a severity rating of 1 – 4.99 (on a fictional severity rating scale) will be rendered the color green and those with a severity rating of 5 or greater will be rendered the color red. The Tatuk ... Modified: August 24, 2011 KB10864 - Using the Editor with OpenStreetMap data. The Editor can 1) display OpenStreetMap (OSM) layers via web from the the OSM WMS (OGC Web Map Service) server as a map layer or 2) download to the computer OpenStreetMap vector map data for a specified map area. 1. The TatukGIS Editor supports the OGC WMS standard, which means that it can be used to open map layers from any properly functioning WMS server, including the WMS server on the www.OpenStreetMap.org web site. Use one of the following methods to access the OSM WMS server: Click o ... Modified: June 14, 2011 KB10276 - DK and routing for electrical utility and power outage Conditions DK TGIS_ShortestPath Question We are considering adapting the DK for our electrical utility and power outage management system for the purpose of a "switch planning solution", i.e., if I remove power from one node, which other nodes will go off as well; or if I restore power, which other nodes will go on. Grids must be organized on regional boundaries with GIS attributes. We want to create functionality such as: i) find a route from a node to one of a number of other nodes, while makin ... Modified: May 07, 2011 KB10863 - SlimDX related error message. Conditions DK.NET (DK10) Upon starting 3D mode Error message Mixed mode assembly is built against version 'v.2.0.5-727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information. Cause SlimDX responsible for 3D stuff is a mixed mode assembly. Therefore such assembly must match the framework version of the final executable you build. Resolution If you compiled your application with Framework 4, you must deploy SlimDX compiled for Framework 4, reg ... Modified: May 06, 2011 10 - 11 - 12 - 13 - 14 - 15 - 16 - 17 - 18 - 19 Tech Support Q&A Knowledge Base Common Questions