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:

VegCore-VegBIEN.csv
324 324
continent,/location/locationplace/*_id/place/continent,
325 325
country,/location/locationplace/*_id/place/country,
326 326
county,/location/locationplace/*_id/place/county,
327
acceptedDecimalLatitude,"/location/locationplace/*_id/place/matched_place_id/place:[reference_id/reference/shortname=geoscrub,matched_place_id=0]/*_id/coordinates/_first/1/latitude_deg",
328
acceptedDecimalLongitude,"/location/locationplace/*_id/place/matched_place_id/place:[reference_id/reference/shortname=geoscrub,matched_place_id=0]/*_id/coordinates/_first/1/longitude_deg",
327
acceptedDecimalLatitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,reference_id/reference/shortname=geoscrub,matched_place_id=0]/*_id/coordinates/_first/1/latitude_deg",""".,"" sorts it with other coordinates mappings"
328
acceptedDecimalLongitude,"/location/locationplace/*_id/place/matched_place_id/place:[.,reference_id/reference/shortname=geoscrub,matched_place_id=0]/*_id/coordinates/_first/1/longitude_deg",""".,"" sorts it with other coordinates mappings"
329
decimalLatitude,"/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",""".,"" sorts it with other coordinates mappings"
330
decimalLongitude,"/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",""".,"" sorts it with other coordinates mappings"
329 331
acceptedCountry,"/location/locationplace/*_id/place/matched_place_id/place:[reference_id/reference/shortname=geoscrub,matched_place_id=0]/country/_first/1",
330 332
acceptedStateProvince,"/location/locationplace/*_id/place/matched_place_id/place:[reference_id/reference/shortname=geoscrub,matched_place_id=0]/stateprovince/_first/1",
331
decimalLatitude,"/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",
332
decimalLongitude,"/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",
333 333
country,/location/locationplace/*_id/place/matched_place_id/place:[reference_id/reference/shortname=geoscrub]/country/_first/2,
334 334
distanceToCountry_km,/location/locationplace/*_id/place/matched_place_id/place:[reference_id/reference/shortname=geoscrub]/distance_to_country_m/_km_to_m/value,
335 335
distanceToStateProvince_km,/location/locationplace/*_id/place/matched_place_id/place:[reference_id/reference/shortname=geoscrub]/distance_to_state_m/_km_to_m/value,

Also available in: Unified diff