From 6f700116b98f34596155a605bc2ca52799cb7d48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 26 May 2020 16:24:03 +0300 Subject: [PATCH] improve clipping coords --- II/Referatas/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/II/Referatas/Makefile b/II/Referatas/Makefile index baa2141..3ec3ad7 100644 --- a/II/Referatas/Makefile +++ b/II/Referatas/Makefile @@ -1,3 +1,4 @@ +CROSSING=622916.858 6109272.561 626066.858 6111492.561 # xmin ymin xmax ymax ZEIMENA_TOLERANCES = 100 125 250 500 1000 2000 4000 SINEWAVE_TOLERANCES = 1 2 3 4 GEN = $(addsuffix .pdf, \ @@ -14,7 +15,9 @@ db/.faux_$(1)-$(2)-%: $(2).sql db/.faux_ready ./managedb -- --echo-all -v ON_ERROR_STOP=1 -v src=$(1) -v tolerance=$$* -v tbl=$(1)_$(2)_$$* -f $(2).sql touch $$@ $(1)-$(2)-%.pdf: layer2img.py db/.faux_$(1)-$(2)-% - ./layer2img.py --table=$(1)_$(2)_$$* --size=$(3) --outfile $(1)-$(2)-$$*.pdf + ./layer2img.py --table=$(1)_$(2)_$$* --size=$(3) --outfile $$@ +crossing-$(1)-$(2)-%.pdf: layer2img.py db/.faux_$(1)-$(2)-% + ./layer2img.py --clip $(CROSSING) --table=$(1)_$(2)_$$* --size=$(3) --outfile $$@ endef define gpkg2pdf