Ask A Cartographer

How to remove duplicate labels in Tracking Analyst?

November 29 2009 | 2 comments
Categories: Labeling

I'm still having troubles with the Tracking Analyst duplicate labels. I have attached a screen shot of the attribute table so you can see what I'm working with. I also attached my previous question and your response below.

Thanks again!

--------------------------------------------------------------------------------
Date: Tue, 10 Nov 2009 17:30:31 -0800
From: mappingCenter_feedback@esri.com
Subject: ESRI Mapping Center: 'Ask a Cartographer' Question Answered - How to remove duplicate labels in Tracking Analyst

The answer to your question: How to remove duplicate labels in Tracking Analyst is below. We hope this helps you!
Your Question: How to remove duplicate labels in Tracking Analyst

I have a data set of 10,000 bird locations with ~10 points a day. When Labeling these in Tracking Analyst the duplicate point labels are messy. I would prefer only one date label to pop up for the 10 points per day. When labeling other shapefiles you have the option to remove duplicate labels. Is this possible in Tracking Analyst? I have attached an example.

Thanks.

Our Answer:

Tracking Analyst cannot label 1 point per day. It can show a reduced number of labels, but it is not based on the day. Tracking Analyst has the ability to label all features, or the most current feature in a "track" (see the attached screenshot showing one label on a Hurricane track covering 1 week). So in this case, the user can label only the current location of the bird, but we would have to do some funny things with the data in order to show exactly one label per day.

The quickest workaround we can think of to do exactly what you want is to "trick" Tracking Analyst into thinking that each day is a new "track" (as if it was a new bird every day). It would require some modification of the data, and you should be warned that other drawing features in the Tracking Analyst may have funny side effects if you start doing other things like adding track lines, etc. Here's the procedure:

Add two new fields to the data. One will contain the date, and the other will be something we call the "functional Track ID" (as opposed to the real Track ID).

Extract the date portion of the time-stamp. So if the time stamp of a feature is "6:35 AM 11/10/2009", then the date portion would be "11/10/2009".

The functional Track ID should be populated with the Date and the real Track ID, so if date is "11/10/2009" and the real Track ID is "12345, then the functional Track ID should be populated with "11/10/2009:12345".

Now in Tracking Analyst, go to the source tab, and change the "Track ID" to the name of your new functional Track ID. Go to the Labels tab, and label each track with the date field (not the time-stamp field).

Mapping Center Answer:

I don't see the type of attribute we suggested that you create in your attached screenshot.  Have you tried adding a "FunctionalTrackID" attribute yet and populating it with the compbination date and track ID (e.g., 11/30/2009:12345"?

I see the date attribute that you will need but I do not see an attribute that indicates which locations are the same.  You will need to have an attribute that indicates which of the features are at the same point in order to follow the guidelines we suggest above.

Another Solution posted by Mike Assenmacher on Dec 2 2009 5:26PM
Initially I added the functional track ID for 20 days of one bird and this worked. Unfortunately, this would be very time consuming for my large dataset. I discovered another solution. In the source tab I selected the Bird ID as the Track ID and now only the most recent date shows up each frame.
Thanks! posted by Aileen Buckley on Dec 3 2009 9:51AM
Thanks for sending us this info on another solution!

If you would like to post a comment, please login.

Contact Us | Legal | Privacy |