rename back to .xyz
This commit is contained in:
parent
cbe6b70c00
commit
20806e6b89
@ -30,7 +30,7 @@ db/contour_%: contour_%.gpkg db/.ready
|
|||||||
contour_%.gpkg: all.tif
|
contour_%.gpkg: all.tif
|
||||||
gdal_contour -nln $(basename $@) -i $(subst _,.,$*) -a z $^ $@
|
gdal_contour -nln $(basename $@) -i $(subst _,.,$*) -a z $^ $@
|
||||||
|
|
||||||
all-grid.tif: all.vrt all.csv
|
all-grid.tif: all.vrt all.xyz
|
||||||
gdal_grid $< $@ -ot Float32 -outsize $(OUTSIZE)
|
gdal_grid $< $@ -ot Float32 -outsize $(OUTSIZE)
|
||||||
|
|
||||||
all.tif: all-grid.tif
|
all.tif: all-grid.tif
|
||||||
@ -38,8 +38,8 @@ all.tif: all-grid.tif
|
|||||||
-ot Float32 -a_srs EPSG:3346 \
|
-ot Float32 -a_srs EPSG:3346 \
|
||||||
-co COMPRESS=DEFLATE -co PREDICTOR=2
|
-co COMPRESS=DEFLATE -co PREDICTOR=2
|
||||||
|
|
||||||
.INTERMEDIATE: all.csv
|
.INTERMEDIATE: all.xyz
|
||||||
all.csv: $(XYZ)
|
all.xyz: $(XYZ)
|
||||||
$(SORT) -m $^ > $@
|
$(SORT) -m $^ > $@
|
||||||
|
|
||||||
.INTERMEDIATE: $(XYZ)
|
.INTERMEDIATE: $(XYZ)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<OGRVRTDataSource>
|
<OGRVRTDataSource>
|
||||||
<OGRVRTLayer name="all">
|
<OGRVRTLayer name="all">
|
||||||
<LayerSRS>EPSG:3346</LayerSRS>
|
<LayerSRS>EPSG:3346</LayerSRS>
|
||||||
<SrcDataSource>all.csv</SrcDataSource>
|
<SrcDataSource>CSV:all.xyz</SrcDataSource>
|
||||||
<GeometryType>wkbPoint</GeometryType>
|
<GeometryType>wkbPoint</GeometryType>
|
||||||
<GeometryField encoding="PointFromColumns" x="field_1" y="field_2" z="field_3"/>
|
<GeometryField encoding="PointFromColumns" x="field_1" y="field_2" z="field_3"/>
|
||||||
</OGRVRTLayer>
|
</OGRVRTLayer>
|
||||||
|
Loading…
Reference in New Issue
Block a user