<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Tim,<br>
<br>
With Raymond we are planning on using your great ester egg data in
the overview box within map layouts. <br>
I am looking for the license of the data, do you perhaps know it /
know where to find it?<br>
Or does it fall under QGIS' license?<br>
<br>
Thanks,<br>
<br>
Best Regards,<br>
Aron Gergely<br>
<br>
I am also a fan of the ester egg, learned it from Raymond.<br>
<br>
<div class="moz-cite-prefix">On 28/05/2019 10:50, Tim Sutton wrote:<br>
</div>
<blockquote type="cite"
cite="mid:9574A052-67D5-45EE-B875-91C3FB7FDF86@kartoza.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Hi
<div class=""><br class="">
</div>
<div class="">I don’t have any immediate fix for your issue, but I
am glad you are enjoying my Easter egg :-) I also use it ALL THE
TIME and it is really great in training courses etc. to get
people quickly started with panning and zooming or putting their
data in context. One day maybe we can elevate it’s status to
have a button on the file toolbar that adds it to the canvas
without the need for bunnies and chocolate :-)</div>
<div class=""><br class="">
</div>
<div class="">PS for those that don’t know about the Easter egg,
type ‘world’ into the coordinate box in the status bar as shown
below, then press ENTER.</div>
<div class=""><br class="">
</div>
<div class=""><img apple-inline="yes"
id="EF8C91B9-D94C-45D9-A320-D78106C5DD2F"
src="cid:part1.5335A090.C0488074@rasterra.nl" class=""
width="378" height="201"></div>
<div class="">Regards</div>
<div class=""><br class="">
</div>
<div class="">Tim<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 27 May 2019, at 14:58, Raymond Nijssen <<a
href="mailto:r.nijssen@terglobo.nl" class=""
moz-do-not-send="true">r.nijssen@terglobo.nl</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">I know it was introduced as an easter egg,
but I'm very happy with the built in world map in qgis.
I'm using it in a plugin to automatically add a layer
for the overview map in my layout. This layer points to
a shapefile in my qgis install directory:<br class="">
<br class="">
/home/raymond/programs/qgis-master/share/qgis/resources/data/world_map.shp<br
class="">
<br class="">
Now, when saving my project and somebody else opening
it, the layer is invalid (of course). Is there a way to
make the project point to the right file, using some
kind of variable pointing to the qgis installation path?<br
class="">
<br class="">
like this:<br class="">
{QGIS_RESOURCE_PATH}/data/world_map.shp<br class="">
<br class="">
or I could copy the world.shp into my plugin and do
this:<br class="">
<br class="">
{QGIS_PLUGIN_PATH}/my-plugin/data/world_map.shp<br
class="">
<br class="">
These paths should then be saved including the variable
in the project file.<br class="">
<br class="">
<br class="">
<br class="">
Another option would be to save the shp-file in the .qgz
somehow but I'm not too sure if that is the way to go..<br
class="">
<br class="">
<br class="">
<br class="">
This is the way I create the path now:<br class="">
<br class="">
worldShp = os.path.join(QgsApplication.pkgDataPath(),
'resources', 'data', 'world_map.shp')<br class="">
<br class="">
<br class="">
<br class="">
To make the question more general, is it possible to add
resources to a plugin in a way that projects point to
these resources and make that work for other users too?<br
class="">
<br class="">
<br class="">
Hope anyone can help!<br class="">
<br class="">
Kind regards,<br class="">
Raymond<br class="">
<br class="">
<br class="">
_______________________________________________<br
class="">
QGIS-Developer mailing list<br class="">
<a href="mailto:QGIS-Developer@lists.osgeo.org" class=""
moz-do-not-send="true">QGIS-Developer@lists.osgeo.org</a><br
class="">
List info:
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br
class="">
Unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div>
</div>
</blockquote>
</div>
<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px; font-style: normal; font-variant-ligatures:
normal; font-variant-position: normal; font-variant-caps:
normal; font-variant-numeric: normal;
font-variant-alternates: normal; font-variant-east-asian:
normal; font-weight: normal; letter-spacing: normal;
text-indent: 0px; text-transform: none; white-space: normal;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
line-height: normal; text-align: center;" class=""><span>—</span></div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px; font-style: normal; font-variant-ligatures:
normal; font-variant-position: normal; font-variant-caps:
normal; font-variant-numeric: normal;
font-variant-alternates: normal; font-variant-east-asian:
normal; letter-spacing: normal; text-indent: 0px;
text-transform: none; white-space: normal; word-spacing:
0px; -webkit-text-stroke-width: 0px; line-height: normal;
text-align: center;" class="">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: auto; text-align: center;
text-indent: 0px; text-transform: none; white-space:
normal; widows: auto; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
initial; text-decoration: none; font-variant-ligatures:
normal; font-variant-position: normal;
font-variant-numeric: normal; font-variant-alternates:
normal; font-variant-east-asian: normal; margin: 0px;
line-height: normal; -webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br class="">
</div>
<br class="Apple-interchange-newline" style="caret-color:
rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px; font-style: normal; font-variant-caps:
normal; font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: center; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: 0px; text-decoration: none;">
<span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);
font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant-caps: normal; font-weight: normal;
letter-spacing: normal; orphans: auto; text-align: center;
text-indent: 0px; text-transform: none; white-space:
normal; widows: auto; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; text-decoration: none;"><span><span><span><span><span><span><span><span><span><span><span><img
apple-inline="yes"
id="DA1990DE-2802-49CC-973E-330554C449D1"
src="cid:part4.1FA6B9B9.4FDB7F91@rasterra.nl" class=""></span>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal;
font-variant-caps: normal;
font-weight: normal; letter-spacing:
normal; orphans: auto; text-align:
center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br
class="Apple-interchange-newline">
<br
class="Apple-interchange-newline">
<br
class="Apple-interchange-newline">
<br
class="Apple-interchange-newline">
<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal;
font-variant-caps: normal;
font-weight: normal; letter-spacing:
normal; orphans: auto; text-align:
center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br
class="">
</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal;
font-variant-caps: normal;
font-weight: normal; letter-spacing:
normal; orphans: auto; text-align:
center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class=""><b class="">Tim Sutton</b></div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal;
font-variant-caps: normal;
font-weight: normal; letter-spacing:
normal; orphans: auto; text-align:
center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br
class="">
</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal;
font-variant-caps: normal;
font-weight: normal; letter-spacing:
normal; orphans: auto; text-align:
center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class=""><b class="">Co-founder:</b><span
class="Apple-converted-space"> </span>Kartoza</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal;
font-variant-caps: normal;
font-weight: normal; letter-spacing:
normal; orphans: auto; text-align:
center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class=""><b class="">Ex Project
chair:</b><span
style="font-weight: normal;"
class=""><span
class="Apple-converted-space"> </span><a
href="http://QGIS.org" class=""
moz-do-not-send="true">QGIS.org</a></span></div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal;
font-variant-caps: normal;
font-weight: normal; letter-spacing:
normal; orphans: auto; text-align:
center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br
class="">
</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal;
font-variant-caps: normal;
font-weight: normal; letter-spacing:
normal; orphans: auto; text-align:
center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class="">Visit <a
href="http://kartoza.com/"
class="" moz-do-not-send="true"><span
style="-webkit-text-stroke-color: rgb(71, 135, 255);" class="">http://kartoza.com</span></a> to
find out about open source:</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal;
font-variant-caps: normal;
font-weight: normal; letter-spacing:
normal; orphans: auto; text-align:
center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br
class="">
</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal;
font-variant-caps: normal;
font-weight: normal; letter-spacing:
normal; orphans: auto; text-align:
center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class="">Desktop GIS
programming services</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal;
font-variant-caps: normal;
font-weight: normal; letter-spacing:
normal; orphans: auto; text-align:
center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class="">Geospatial web
development</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal;
font-variant-caps: normal;
font-weight: normal; letter-spacing:
normal; orphans: auto; text-align:
center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class="">GIS Training</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal;
font-variant-caps: normal;
font-weight: normal; letter-spacing:
normal; orphans: auto; text-align:
center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class="">Consulting Services</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal;
font-variant-caps: normal;
font-weight: normal; letter-spacing:
normal; orphans: auto; text-align:
center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0); min-height: 14px;" class=""><br
class="">
</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal;
font-variant-caps: normal;
font-weight: normal; letter-spacing:
normal; orphans: auto; text-align:
center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class=""><b class="">Skype</b>:
timlinux </div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal;
font-variant-caps: normal;
font-weight: normal; letter-spacing:
normal; orphans: auto; text-align:
center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class=""><b class="">IRC:</b><span
class="Apple-converted-space"> </span>timlinux
on #qgis at <a
href="http://freenode.net"
class="" moz-do-not-send="true">freenode.net</a></div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal;
font-variant-caps: normal;
font-weight: normal; letter-spacing:
normal; orphans: auto; text-align:
center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class=""><br class="">
</div>
<div style="caret-color: rgb(0, 0, 0);
color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px;
font-style: normal;
font-variant-caps: normal;
font-weight: normal; letter-spacing:
normal; orphans: auto; text-align:
center; text-indent: 0px;
text-transform: none; white-space:
normal; widows: auto; word-spacing:
0px; -webkit-text-size-adjust: auto;
-webkit-text-stroke-width: initial;
text-decoration: none;
font-variant-ligatures: normal;
font-variant-position: normal;
font-variant-numeric: normal;
font-variant-alternates: normal;
font-variant-east-asian: normal;
margin: 0px; line-height: normal;
-webkit-text-stroke-color: rgb(0, 0,
0);" class=""><span
style="caret-color: rgb(102, 106,
115); color: rgb(102, 106, 115);
font-family: "Proxima
Nova", sans-serif; font-size:
14px; text-align: left;
background-color: rgb(255, 255,
255);" class="">I'd love to
connect. </span><a target="_blank"
class="t-quick-start-share-link"
href="https://calendly.com/timlinux"
style="color: rgb(0, 162, 255);
text-decoration: none; cursor:
pointer; font-family:
"Proxima Nova",
sans-serif; font-size: 14px;
text-align: left;"
moz-do-not-send="true">Here's my
calendar link</a><span
style="caret-color: rgb(102, 106,
115); color: rgb(102, 106, 115);
font-family: "Proxima
Nova", sans-serif; font-size:
14px; text-align: left;
background-color: rgb(255, 255,
255);" class=""> to make finding
time easy.</span></div>
</span></span></span></span></span></span></span></span></span></span></span></div>
</div>
<br class="">
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
<br>
</body>
</html>