@@ -43,10 +43,10 @@ Examples:
4343 hfsubset -l divides,nexus \
4444 -o ./divides_nexus.gpkg \
4545 -r "pre-release" \
46- -t hl \
46+ -t hl_uri \
4747 "Gages-06752260"
4848
49- hfsubset -o ./poudre.gpkg -t hl "Gages-06752260"
49+ hfsubset -o ./poudre.gpkg -t hl_uri "Gages-06752260"
5050
5151Options:
5252`
@@ -99,9 +99,9 @@ func (opts *SubsetRequest) MarshalJSON() ([]byte, error) {
9999 case "xy" :
100100 // key = "loc"
101101 // break
102- panic ("-nldi and -xy support are not implemented currently" )
102+ panic ("-nldi_feature and -xy support are not implemented currently" )
103103 default :
104- panic ("type " + * opts .id_type + " not supported; only one of: hf, hl , comid, nldi , xy" )
104+ panic ("type " + * opts .id_type + " not supported; only one of: id, hl_uri , comid, nldi_feature , xy" )
105105 }
106106
107107 jsonmap ["layers" ] = opts .Layers ()
@@ -183,7 +183,7 @@ Either "all" or "core", or one or more of:
183183 "reference_catchment", "reference_flowpaths", "reference_divides"`
184184
185185 opts := new (SubsetRequest )
186- opts .id_type = flag .String ("t" , "hf " , `One of: "hf ", "hl ", "comid", "loc ", or "nldi "` )
186+ opts .id_type = flag .String ("t" , "id " , `One of: "id ", "hl_uri ", "comid", "xy ", or "nldi_feature "` )
187187 opts .layers = flag .String ("l" , "core" , layers_help )
188188 opts .version = flag .String ("r" , "pre-release" , "Hydrofabric version" )
189189 opts .output = flag .String ("o" , "hydrofabric.gpkg" , "Output file name" )
0 commit comments