Ask A Cartographer

Stray Line Segments: remove from view?

October 15 2010 | 3 comments
Categories: ArcGIS 10, Map Data

I have a gorgeous data driven map which employs a buffer, a clip, and a page definition query (thank you!). I have achieved the effect I want, but have stray segments (see attached) which I would like to remove. I'm not sure how to approach this; any ideas? Thank you!

Mapping Center Answer:

Unfortunately, the buffer and clip to shape workflow you are using doesn't provide a solution for eliminating the small road segments that don’t connect to the road network. This is possible if you use a page definition query. See the help topic for Using Page Definition Queries.

The page definition query allows you to set a definition query specifically for the current page. In this way you can control exactly what features show up on each page. To do this requires a little work though. You need to select the roads that you want for each page and code them with an attribute with the page name. You may want to make a copy of the roads for this because it requires adding an attribute and splitting them at the page boundaries. Once you have a copy you can use your index layer to split the roads and then select the roads that are contained in each index layer and calculate a page name attribute.

Will that work? posted by Marianne Farretta on Mar 16 2011 11:35AM
The Page Definition Query method you describe above doesn't allow one piece of geometry to exist in two pages, and therefore won't alleviate the "stray segment" question. Is there a way you see around this? Thank you!
Split and copy posted by Charlie Frye on Mar 16 2011 1:23PM
That's why I recommended making a copy of the data, because you do have to split features along boundaries.
RE: split and copy posted by Marianne Farretta on Mar 16 2011 3:41PM
Right-I made a copy of the data. I split where I wanted the splits. But say your boundaries are contiguous--like counties. And each page is a county map with a data driven page which allows the geometry to extend maybe half an inch outside the county boundary. That half an inch will then exist in two maps: both the county on the current data driven page, and the county on the adjacent data driven page. So that snippet of geometry will have a positive match to two separate data driven pages. If I haven't articulated this successfully, I can submit a pic. Thank you for your attention!

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

Contact Us | Legal | Privacy |