Skip to content

Commit 5bbbee4

Browse files
committed
fix for ogr2ogr returning quoted path/row
1 parent c8fbd1d commit 5bbbee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bash/force-level1-csd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ get_data() {
410410
elif [ "$GEOMETRY" = "POLYGON" ]; then
411411
WFSURL="http://ows.geo.hu-berlin.de/cgi-bin/qgis_mapserv.fcgi?MAP=/owsprojects/grids.qgs&SERVICE=WFS&REQUEST=GetFeature&typename="$SATELLITE"&Filter=%3Cogc:Filter%3E%3Cogc:Intersects%3E%3Cogc:PropertyName%3Eshape%3C/ogc:PropertyName%3E%3Cgml:Polygon%20srsName=%22EPSG:4326%22%3E%3Cgml:outerBoundaryIs%3E%3Cgml:LinearRing%3E%3Cgml:coordinates%3E"$WKT"%3C/gml:coordinates%3E%3C/gml:LinearRing%3E%3C/gml:outerBoundaryIs%3E%3C/gml:Polygon%3E%3C/ogc:Intersects%3E%3C/ogc:Filter%3E"
412412
fi
413-
TILERAW=$(ogr2ogr -f CSV /vsistdout/ -select "PRFID" WFS:"$WFSURL")
413+
TILERAW=$(ogr2ogr -f CSV /vsistdout/ -select "PRFID" WFS:"$WFSURL" | sed 's/"//g')
414414
TILES="_"$(echo $TILERAW | sed 's/PRFID, //; s/ /_|_/g')"_"
415415

416416
# AOI is tile list

0 commit comments

Comments
 (0)