Project

General

Profile

« Previous | Next » 

Revision 6122

mappings/VegCore-VegBIEN.csv: matched place's coordinates: Fixed bug where coordinates mappings with and without matched_place_id=0 need to sort together in order to be merged, by prepending ".," to the place attrs list

View differences:

VegBIEN.csv
20 20
Long (-=W),"/location/locationplace/*_id/place/*_id/coordinates/longitude_deg/_nullIf:[null=0,type=float]/value/_replace:[""\?$""=]/value",
21 21
Country,/location/locationplace/*_id/place/country,
22 22
County,/location/locationplace/*_id/place/county,
23
Lat (-=S),"/location/locationplace/*_id/place/matched_place_id/place:[reference_id/reference/shortname=geoscrub]/*_id/coordinates/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value/_replace:[""\?$""=]/value",
24
Long (-=W),"/location/locationplace/*_id/place/matched_place_id/place:[reference_id/reference/shortname=geoscrub]/*_id/coordinates/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value/_replace:[""\?$""=]/value",
23
Lat (-=S),"/location/locationplace/*_id/place/matched_place_id/place:[.,reference_id/reference/shortname=geoscrub]/*_id/coordinates/_first/2/latitude_deg/_nullIf:[null=0,type=float]/value/_replace:[""\?$""=]/value",""".,"" sorts it with other coordinates mappings"
24
Long (-=W),"/location/locationplace/*_id/place/matched_place_id/place:[.,reference_id/reference/shortname=geoscrub]/*_id/coordinates/_first/2/longitude_deg/_nullIf:[null=0,type=float]/value/_replace:[""\?$""=]/value",""".,"" sorts it with other coordinates mappings"
25 25
Country,/location/locationplace/*_id/place/matched_place_id/place:[reference_id/reference/shortname=geoscrub]/country/_first/2,
26 26
State,/location/locationplace/*_id/place/matched_place_id/place:[reference_id/reference/shortname=geoscrub]/stateprovince/_first/2,
27 27
State,/location/locationplace/*_id/place/stateprovince,

Also available in: Unified diff