Support #6580
Join attributes by location -for importing shapefiles
100%
Associated revisions
Refs #6580: add OriginRawPoint model, add mechanism to find raw points in a shape, fill the OriginRawPoint table when importing shapefiles
Refs #6580: shapefile import: fixes, set surveyor and equipment if they are unique, use geoalchemy2.shape.from_shape instead of tweak
Refs #6580: shapefile import: add accuracy from surveyor/equipment mapping, add geometry_type and indexes to AccuracyEquimentSurveyorMapping
History
#1 Updated by Pavneet Kaur over 7 years ago
Similar tool - qgis function vector> datamanagement> join attribute by location
#2 Updated by Philippe May over 7 years ago
Another related feature: store the raw survey points matching the feature, identified in the same process
#3 Updated by Philippe May over 7 years ago
More details: from the points found for each shape, gisaf would copy the following attributes:
- surveyor id (what if not the same for all points found?)
- equipment id (what if not the same for all points found?)
- status (what if not the same for all points found?)
- date (most recent of all the points found)
Accuracy: as discussed earlier, the accuracy of line work also depends on the persons who do the work (eg, it can be very noticeable for curves). I think that this cannot be automated.
#4 Updated by Philippe May over 7 years ago
- Assignee changed from Philippe May to Giulio Di Anastasio
The implementation uses a function to compute the distance between features and a configurable epsilon value (1 cm by default).
I have added a new table (origin_raw_point) that is filled with the raw survey points found in proximity of the shape.
The date of the feature is set to the latest date of the points.
The equipment and surveyor is set when all the raw points have the same information.
Messages are displayed about the numbers of points found, in the admin when importing the shapefile.
2 fundamental issues remain:
- accuracy depends on human factor (line work), so it's not set: i think it's quite meaningless to add this information now, given all the assumptions that it implies. Please create another ticket if required
- some shapes are created without raw points (eg., many of the "roofs" of the MM, which are visibly duplicated from an initial shape).
Giulio, back to you for review and testing (i'll put it in production tomorrow).
#5 Updated by Philippe May over 7 years ago
Added accuracy if the surveyor and equipment is same for all raw points.
Also, added in the surveyor/equipment to accuracy mapping table a choice between Point and Line Work.
#6 Updated by Philippe May over 7 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
#7 Updated by Philippe May about 7 years ago
- Status changed from Resolved to Closed