ThinkGeo.com    |     Documentation    |     Premium Support

Annotation Layer Support?

Hi,


I was wondering if there was support for adding an annotation layer by converting the associated .tat and .txt files?  If so how do you go about doing such conversion?


thanks,


Andy



Andy, 
  
 Welcome to our Map Suite’s world.  
  
 I think your idea is great and we always want user can do some creative things. 
  
 If I understand, you want to draw the text from file on the specific location of the map. I am not very familiar with .tat file, and about .txt file, is the format follow the standard rule or not? 
  
 I think if you provide more information about files and detail requirement, I can make a sample to you or give you more information to guide you how to implement AnnotationLayer. 
  
 Thanks, 
 James 


Hi James, 
  
 Yep you are understanding correctly, basically some of our users want to be able to place text labels around parcels for measurements and such. 
  
  I was not very familiar with the .tat file either myself but from what i have read it is a ‘Geographic Text Attribute Table’ and I belive it is used for converting coverage annotation to geodatabase format.  The actual text lables are stored as strings in the .txt file along with attributes such as symbol number, location, positioning and size specification.  Where as the .tat file stores attributes and can relate the same annotation to more than one geographic feature. 
  
 Regarding the format of the .txt file, I am not familiar with the standard rule format, If  you could provide a little more detail as to what that format is, that would be helpful.  But I will look into the formatting of the .txt file. 
  
 Thank you for your help, 
  
 Andy

 


Hi Andy,
 
Thanks for you more information about .tat and .txt files, I find some information about them and do some research, it seems they’re the kinds of format provided by ESRI and work as annotation.
1.      In cartography, text or graphics on a map that provide information for the map reader. Annotation may identify or describe a specific map entity, provide general information about an area on the map, or supply information about the map itself.

 



        
  1. In ArcGIS, text or graphics that can be individually selected, positioned, and modified. Annotation may be manually entered or generated from labels. Annotation can be stored as features in a geodatabase or as map annotation in a data frame.


 
Technically, we can support these kinds of data source if we have their data format specification just like we support shape files, we have the document defines the shapefiles spatial data format, organization of main files, record contents, organization of index file, organization of dbase file, so we can provide API in our MapSuiteCore to support shape files. And we can easy support any custom format by extending MapSuite, we have online video with sample code to teach the user how to integrate custom data formats, you can find it at gis.thinkgeo.com/Products/GI...fault.aspx
Actually, many users want to support their own data before you request here, so you can search some keywords for it in Discussion Forum, such as “custom data”, “custom format” etc. I think you can find more information about what you want.
 
But so far, we can not get data format specification of annotation files, to be honest I am not sure if we can support annotation or not eventually. If you have the document about that, please send to us it will be very helpful.
 
About you last paragraph, I am sorry that I mislead you, I just want to know if the data format of the .txt file follow some specific rule or not, now I think we both know it’s not the ordinary txt file, it follow some rule maybe create by ESRI which I want to get.
 
Please let me know if you have more comments.
 
Thanks
 
James