Remi-C / interactive_map_tracking

A QGIS 2.6 plugin to track camera of user , AND/OR to autocommit/refresh edit on PostGIS vector layer
http://remi-c.github.io/interactive_map_tracking/
GNU General Public License v3.0
8 stars 4 forks source link

Avoid saving a track (TrackingPosition) when we modify a layer (AutoSaveRefresh) #25

Closed yoyonel closed 9 years ago

yoyonel commented 9 years ago

The problem comes from our current approach to refresh the map (epsilon zoom on MapCanvas) that provoke a canvaxextentChanged and launch the tracking. To avoid this, i add a filter on the actual extent (to save) and the last committed. If layers are different (with a proper epsilon value), we continue the tracking process else we cancel the tracking.

Remi-C commented 9 years ago

@yoyonel DO you mean that every time we edit a feature in a layer, it adds a camera_position to the tracking layer?