Tag Info

New answers tagged

1

I have just had a similar problem and used this work around. Open the layer properties and select Definition query and use the expression below. KM NOT LIKE '%.%' This will remove all rows with a . in the field. As long as the kilometer points aren't whole numbers like 1.0 or 2.0 etc. this should work.


0

Simply get the activeview envelope and CenterAt() the point shape you want var point = (IPoint)myItem.Shape; var envelope = theActiveView.Extent; envelope.CenterAt(point); theActiveView.Extent = envelope; theActiveView.Refresh(); That's it !


0

This is a workaround and not going to be as helpful, but you can temporarily sort within your attribute table (double click on the column heading) and manually drag-select the null values. I've worked with ArcGIS for 10+ years and she is a temperamental beast and crashes all the time. Following comments above you'll need to doublecheck the ArcGIS version and ...


0

If those are the only three possible values, you could try selecting with the query [FIELD] NOT IN (0,1). I don't know why it's crashing though, instead of just returning no results. You may want to add the version of ArcGIS you're using to your question, and as Vince said, the source data type.


1

Assuming you will follow a manual verification process, I can suggest you somewhat quick and dirty solution: First by using Feature Vertices To Points tool (Data Management Tools\Features\Feature Vertices To Points) with BOTH_ENDS option, generate start and end points of each line segment (be aware that each segment will be your unit of analysis); Second, ...


0

What you will need to do is outlined as below. Make sure your lines are connected at end vertices only (if they are not, use the Split Line At Vertices (Data Management) tool). Iterate your line features and create a list of pairs of lines which share end/start vertex. Use ObjectID as an unique line feature ID. You should have [(45,50),(50,52),(52,67)] by ...


1

I assume that it goes wrong when your model becomes white?! After you've used Dissolve, won't the output be a feature class and thereby not a layer. In modelbuilder Select Layer By Attribute only works with layers. Put in a Make Feature Layer tool after the Dissolve to start a new selection.


0

You cannot do a 'switch select' with a Search, what you need to use is Select which you can then negate/switch with ISelectionSet.Combine then convert to a cursor using ISelectionSet.Search (cursor must exist first): // your queries as a SelectionSet ISelectionSet pSatisfiesQuery = pFeatureClass.Select(pQueryFilter, ...



Top 50 recent answers are included