Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.