Lines Matching refs:subLayer
165 for subLayer in layer.subLayers():
167 … if bool(re.match('netcdf', subLayer, re.I)) or bool(re.match('hdf', subLayer, re.I)):
168 subLayer = subLayer.split(path)[1]
169 subLayer = subLayer[1:]
172 subLayer.replace(subLayer.split(QgsDataProvider.SUBLAYER_SEPARATOR)[0], "")
173 subLayer.replace(path, "")
175 if subLayer.startswith(":"):
176 subLayer = subLayer[1:]
177 if subLayer.startswith("\""):
178 subLayer = subLayer[1:]
179 if subLayer.endswith(":"):
180 subLayer = subLayer[:-1]
181 if subLayer.endswith("\""):
182 subLayer = subLayer[:-1]
186 ld.layerName = subLayer