texlive[50589] trunk: getmap (25mar19)
commits+karl at tug.org
commits+karl at tug.org
Mon Mar 25 21:47:52 CET 2019
Revision: 50589
http://tug.org/svn/texlive?view=revision&revision=50589
Author: karl
Date: 2019-03-25 21:47:51 +0100 (Mon, 25 Mar 2019)
Log Message:
-----------
getmap (25mar19)
Modified Paths:
--------------
trunk/Build/source/texk/texlive/linked_scripts/getmap/getmapdl.lua
trunk/Master/texmf-dist/doc/latex/getmap/README.md
trunk/Master/texmf-dist/doc/latex/getmap/getmap.dtx
trunk/Master/texmf-dist/doc/latex/getmap/getmap.pdf
trunk/Master/texmf-dist/scripts/getmap/getmapdl.lua
trunk/Master/texmf-dist/tex/latex/getmap/getmap.sty
Modified: trunk/Build/source/texk/texlive/linked_scripts/getmap/getmapdl.lua
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/getmap/getmapdl.lua 2019-03-25 20:47:34 UTC (rev 50588)
+++ trunk/Build/source/texk/texlive/linked_scripts/getmap/getmapdl.lua 2019-03-25 20:47:51 UTC (rev 50589)
@@ -822,7 +822,7 @@
ULANGUAGE="&language=" .. LANGUAGE
end
UOFILE = OFILE .. "." .. IMAGETYPE
- IMGURL = GMURL .. "?" .. ULOCATION .. USIZE .. UZOOM .. UMARKERS .. UTYPE .. USCALE .. UIMAGETYPE .. UVISIBLE .. UIPATH .. UFPATH .. ULANGUAGE .. "&sensor=false"
+ IMGURL = GMURL .. "?" .. ULOCATION .. USIZE .. UZOOM .. UMARKERS .. UTYPE .. USCALE .. UIMAGETYPE .. UVISIBLE .. UIPATH .. UFPATH .. ULANGUAGE .. "&sensor=false&key=AIzaSyDXlmAP7TENopGqgCkW9Ec3Wymno3a2cBg"
elseif MODE == "gsv" then
ULOCATION = "location=" .. url_escape(LOCATION)
USIZE = "&size=" .. url_escape(SIZE)
@@ -830,7 +830,7 @@
UFOV = "&fov=" .. url_escape(FOV)
UPITCH = "&pitch=" .. url_escape(PITCH)
UOFILE = OFILE .. ".jpg"
- IMGURL = GSVURL .. "?" .. ULOCATION .. USIZE .. UHEADING .. UFOV .. UPITCH .. "&sensor=false"
+ IMGURL = GSVURL .. "?" .. ULOCATION .. USIZE .. UHEADING .. UFOV .. UPITCH .. "&sensor=false&key=AIzaSyDXlmAP7TENopGqgCkW9Ec3Wymno3a2cBg"
elseif MODE == "osm" then
UKEY = "?key=" .. url_escape(KEY)
ULOCATION = "&location=" .. url_escape(LOCATION)
Modified: trunk/Master/texmf-dist/doc/latex/getmap/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/getmap/README.md 2019-03-25 20:47:34 UTC (rev 50588)
+++ trunk/Master/texmf-dist/doc/latex/getmap/README.md 2019-03-25 20:47:51 UTC (rev 50589)
@@ -10,9 +10,12 @@
License: LPPL
-Changes in v1.10:
+Changes in v1.11:
-* Workaround for module (socket.url) loading bug in luatex v1.0.7
+* Requests to Google Maps' Static Image API are no longer free
-* Bugfix: fix for strange encoding problems when calling getmapdl.lua
+added an API key, which allows
+2000req/day for Google Maps and
+1000req/day for Google Street View
+
Modified: trunk/Master/texmf-dist/doc/latex/getmap/getmap.dtx
===================================================================
--- trunk/Master/texmf-dist/doc/latex/getmap/getmap.dtx 2019-03-25 20:47:34 UTC (rev 50588)
+++ trunk/Master/texmf-dist/doc/latex/getmap/getmap.dtx 2019-03-25 20:47:51 UTC (rev 50589)
@@ -16,12 +16,15 @@
License: LPPL
-Changes in v1.10:
+Changes in v1.11:
-* Workaround for module (socket.url) loading bug in luatex v1.0.7
+* Requests to Google Maps' Static Image API are no longer free
-* Bugfix: fix for strange encoding problems when calling getmapdl.lua
+ added an API key, which allows
+ 2000req/day for Google Maps and
+ 1000req/day for Google Street View
+
%</readme>
%<*bibfile>
@misc{bib:devmapquest,
@@ -940,7 +943,7 @@
ULANGUAGE="&language=" .. LANGUAGE
end
UOFILE = OFILE .. "." .. IMAGETYPE
- IMGURL = GMURL .. "?" .. ULOCATION .. USIZE .. UZOOM .. UMARKERS .. UTYPE .. USCALE .. UIMAGETYPE .. UVISIBLE .. UIPATH .. UFPATH .. ULANGUAGE .. "&sensor=false"
+ IMGURL = GMURL .. "?" .. ULOCATION .. USIZE .. UZOOM .. UMARKERS .. UTYPE .. USCALE .. UIMAGETYPE .. UVISIBLE .. UIPATH .. UFPATH .. ULANGUAGE .. "&sensor=false&key=AIzaSyDXlmAP7TENopGqgCkW9Ec3Wymno3a2cBg"
elseif MODE == "gsv" then
ULOCATION = "location=" .. url_escape(LOCATION)
USIZE = "&size=" .. url_escape(SIZE)
@@ -948,7 +951,7 @@
UFOV = "&fov=" .. url_escape(FOV)
UPITCH = "&pitch=" .. url_escape(PITCH)
UOFILE = OFILE .. ".jpg"
- IMGURL = GSVURL .. "?" .. ULOCATION .. USIZE .. UHEADING .. UFOV .. UPITCH .. "&sensor=false"
+ IMGURL = GSVURL .. "?" .. ULOCATION .. USIZE .. UHEADING .. UFOV .. UPITCH .. "&sensor=false&key=AIzaSyDXlmAP7TENopGqgCkW9Ec3Wymno3a2cBg"
elseif MODE == "osm" then
UKEY = "?key=" .. url_escape(KEY)
ULOCATION = "&location=" .. url_escape(LOCATION)
@@ -1127,6 +1130,7 @@
\usepackage{makeidx}
\usepackage{ragged2e}
\usepackage{ccicons}
+\usepackage{csquotes}
\usepackage{tabularx}
\usepackage{microtype}%
\usepackage{listings}
@@ -1433,6 +1437,14 @@
% \subsubsection[\texttt{number}]{\texttt{number (\underline{1})}}
% This option specifies the number of the marker.
% \subsection{\texttt{gm} mode}
+% From 2018 on, Google Maps APIs are no longer accessible without a key.
+% Since \texttt{getmap.sty} is an open source project, it is impossible to finance an infinite number of requests, but Google allows a limited number of requests for \enquote{free}.
+% As a consequence, the following restrictions arise:
+%
+% \begin{tabular}{rl}
+% Google Maps & 2000 requests per day \\
+% Google Street View & 1000 requests per day
+% \end{tabular}
% \subsubsection[\texttt{scale}]{\texttt{scale (\underline{1})}}
% For the free version of Google Maps the image size is limited to 640x640.
% You can set \texttt{scale} to a value of 2, to get exactly the same map in doubled size in pixels.
@@ -1475,6 +1487,7 @@
% &markers=label:N|color:blue|52.520063,13.397525}%
% ]{}
% \begin{center}\includegraphics[width=10cm]{bmus1}\end{center}
+% \clearpage
% \iffalse
%<*example>
% \fi
@@ -1511,6 +1524,7 @@
% &markers=label:N|color:blue|52.520063,13.397525},
% visible={Brandenburger Tor, Berlin|Reichstagsufer 1, Berlin}]{}
% \begin{center}\includegraphics[width=10cm]{bmus2}\end{center}
+% \clearpage
% \iffalse
%<*example>
% \fi
@@ -2090,6 +2104,7 @@
% \changes{v1.8}{2014/10/07}{\texttt{getmapdl.lua}: added multi route support for \texttt{gps2epl} mode}
% \changes{v1.8}{2014/10/07}{\texttt{getmapdl.lua}: added rounding of gps coordinates to \texttt{kml2gps} and \texttt{gpx2gps} modes}
% \changes{v1.10}{2018/07/18}{\texttt{getmapdl.lua}: fix problem (unable to load socket.url module) caused by bug in luatex v1.0.7 (TeXLive2018)}
+% \changes{v1.11}{2019/03/25}{\texttt{getmapdl.lua}: added API key for Google Maps API, which is no longer accessible without key}
% \begin{macrocode}
%<*package>
% \end{macrocode}
@@ -2096,7 +2111,7 @@
% First, we provide the \LaTeX\ package \package{getmap}.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}%
-\ProvidesPackage{getmap}[2018/07/18 v1.10 getmap.sty - Josef Kleber (C) 2014,2016,2018]%
+\ProvidesPackage{getmap}[2019/03/25 v1.11 getmap.sty - Josef Kleber (C) 2014,2016,2018,2019]%
% \end{macrocode}
% We need a few packages!
% \begin{macrocode}
Modified: trunk/Master/texmf-dist/doc/latex/getmap/getmap.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/scripts/getmap/getmapdl.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/getmap/getmapdl.lua 2019-03-25 20:47:34 UTC (rev 50588)
+++ trunk/Master/texmf-dist/scripts/getmap/getmapdl.lua 2019-03-25 20:47:51 UTC (rev 50589)
@@ -822,7 +822,7 @@
ULANGUAGE="&language=" .. LANGUAGE
end
UOFILE = OFILE .. "." .. IMAGETYPE
- IMGURL = GMURL .. "?" .. ULOCATION .. USIZE .. UZOOM .. UMARKERS .. UTYPE .. USCALE .. UIMAGETYPE .. UVISIBLE .. UIPATH .. UFPATH .. ULANGUAGE .. "&sensor=false"
+ IMGURL = GMURL .. "?" .. ULOCATION .. USIZE .. UZOOM .. UMARKERS .. UTYPE .. USCALE .. UIMAGETYPE .. UVISIBLE .. UIPATH .. UFPATH .. ULANGUAGE .. "&sensor=false&key=AIzaSyDXlmAP7TENopGqgCkW9Ec3Wymno3a2cBg"
elseif MODE == "gsv" then
ULOCATION = "location=" .. url_escape(LOCATION)
USIZE = "&size=" .. url_escape(SIZE)
@@ -830,7 +830,7 @@
UFOV = "&fov=" .. url_escape(FOV)
UPITCH = "&pitch=" .. url_escape(PITCH)
UOFILE = OFILE .. ".jpg"
- IMGURL = GSVURL .. "?" .. ULOCATION .. USIZE .. UHEADING .. UFOV .. UPITCH .. "&sensor=false"
+ IMGURL = GSVURL .. "?" .. ULOCATION .. USIZE .. UHEADING .. UFOV .. UPITCH .. "&sensor=false&key=AIzaSyDXlmAP7TENopGqgCkW9Ec3Wymno3a2cBg"
elseif MODE == "osm" then
UKEY = "?key=" .. url_escape(KEY)
ULOCATION = "&location=" .. url_escape(LOCATION)
Modified: trunk/Master/texmf-dist/tex/latex/getmap/getmap.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/getmap/getmap.sty 2019-03-25 20:47:34 UTC (rev 50588)
+++ trunk/Master/texmf-dist/tex/latex/getmap/getmap.sty 2019-03-25 20:47:51 UTC (rev 50589)
@@ -27,7 +27,7 @@
%% This work consists of all files listed in manifest.txt.
%%
\NeedsTeXFormat{LaTeX2e}%
-\ProvidesPackage{getmap}[2018/07/18 v1.10 getmap.sty - Josef Kleber (C) 2014,2016,2018]%
+\ProvidesPackage{getmap}[2019/03/25 v1.11 getmap.sty - Josef Kleber (C) 2014,2016,2018,2019]%
\RequirePackage{xkeyval}%
\RequirePackage{stringenc}%
\RequirePackage{ifthen}%
More information about the tex-live-commits
mailing list