motiejus/stud

study spacejunk
git clone https://git.jakstys.lt/motiejus/stud.git
Log | Tree | Refs | LICENSE

commit 20806e6b89e4531b80ae31c247fb65cbbe1bd450 (tree)
parent cbe6b70c0062e712ab61b7a42a17d0a2b0022afb
Author: Motiejus Jakštys <motiejus@uber.com>
Date:   Wed, 16 Dec 2020 08:02:45 +0200

rename back to .xyz

Diffstat:
Mcontours/Makefile.2008 | 6+++---
Mcontours/all.vrt | 2+-
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/contours/Makefile.2008 b/contours/Makefile.2008 @@ -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) diff --git a/contours/all.vrt b/contours/all.vrt @@ -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>