rename back to .xyz

This commit is contained in:
Motiejus Jakštys 2020-12-16 08:02:45 +02:00
parent cbe6b70c00
commit 20806e6b89
2 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@ db/contour_%: contour_%.gpkg db/.ready
contour_%.gpkg: all.tif
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)
all.tif: all-grid.tif
@ -38,8 +38,8 @@ all.tif: all-grid.tif
-ot Float32 -a_srs EPSG:3346 \
-co COMPRESS=DEFLATE -co PREDICTOR=2
.INTERMEDIATE: all.csv
all.csv: $(XYZ)
.INTERMEDIATE: all.xyz
all.xyz: $(XYZ)
$(SORT) -m $^ > $@
.INTERMEDIATE: $(XYZ)

View File

@ -1,7 +1,7 @@
<OGRVRTDataSource>
<OGRVRTLayer name="all">
<LayerSRS>EPSG:3346</LayerSRS>
<SrcDataSource>all.csv</SrcDataSource>
<SrcDataSource>CSV:all.xyz</SrcDataSource>
<GeometryType>wkbPoint</GeometryType>
<GeometryField encoding="PointFromColumns" x="field_1" y="field_2" z="field_3"/>
</OGRVRTLayer>