Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to tell if an added feature in QGIS is in fact a newly digitized one or a pasted feature?

I think QGIS is treating both cases in the same way, emitting the same signal:

QgsVectorLayer::featureAdded(QgsFeatureId fid)

for a digitized feature as for a pasted one!

Maybe there's a way to tell the difference?

share|improve this question
did u tried comparing feature ids. digitize feature always gives last_fid+1. check what is the feature id from pasted ones. But since both are adding new features qgis or other gis packages may not be able to differentiate. You can paste them in a different layer or add a temporary attribute field and update it only for new/pasted features – rashad Feb 15 '13 at 6:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.