Project

General

Profile

« Previous | Next » 

Revision 1351

xpath_func.py: _forEach: Made syntax more natural-looking by using values instead of names for string args and attrs instead of branches for array args

View differences:

VegX-VegBIEN.plots.csv
3 3
//geospatial/verbatimElevation,//location/elevation/_alt/1,
4 4
//geospatial/CoordinateUncertaintyInMeters,//locationdetermination/coordsaccuracy,
5 5
//geospatial/FootprintWKT,//locationdetermination/footprintgeometry_dwc,
6
//plot/simpleUserdefined[name=majorGeo]/value,"//locationdetermination/namedplace_id/_simplifyPath/path/_forEach:[./{county,stateProvince,country},""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename",
7
//plot/country,"//locationdetermination/namedplace_id/_simplifyPath/path/_forEach:[./{county,stateProvince},""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",
8
//plot/state,"//locationdetermination/namedplace_id/_simplifyPath/path/_forEach:[./{county},""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",
9
//plot/county,//locationdetermination/namedplace_id/_simplifyPath/path/namedplace[rank=county]/placename,
6
//plot/county,"//locationdetermination/namedplace_id/_simplifyPath/path/_forEach:[do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=county]/placename",
7
//plot/simpleUserdefined[name=majorGeo]/value,"//locationdetermination/namedplace_id/_simplifyPath/path/_forEach:[do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=continent]/placename",
8
//plot/country,"//locationdetermination/namedplace_id/_simplifyPath/path/_forEach:[do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=country]/placename",
9
//plot/state,"//locationdetermination/namedplace_id/_simplifyPath/path/_forEach:[do=""namedplace[rank=_val]/parent_id""]/namedplace[rank=stateProvince]/placename",
10 10
//plot/simpleUserdefined[name=localityDescription]/value,//location/locationnarrative,
11 11
//plot/slopeAspect,//location/slopeaspect,
12 12
//plot/slopeGradient,//location/slopegradient,

Also available in: Unified diff