Hi

If I am not mistaken, the world map comes from Nathan Woodrow (he added it for 
the projection selector widget):

[timlinux@sandstone ~/dev/cpp/QGIS/resources/data (master)]$ git log 
world_map.shp
commit cf241f51ae2ae4ae225c9af65690aa2a5524df04
Author: Nathan Woodrow <[email protected]>
Date:   Mon Oct 16 10:40:05 2017 +1000

    [FEATURE][needs-docs] Show projection bounds in projection widget (#5356)
    
    - Script to pull bounds from EPSG.org Postgres dump
    - Add resources/data/world_map.shp for reference
    - Show canvas bounds for reference

I’m guessing it comes from Natural Earth, but he would need to confirm. Nathan 
can you add a license for that file?

Regards

Tim

> On 7 Jun 2019, at 09:53, Áron Gergely <[email protected]> wrote:
> 
> Hi Tim,
> 
> With Raymond we are planning on using your great ester egg data in the 
> overview box within map layouts. 
> I am looking for the license of the data,  do you perhaps know it / know 
> where to find it?
> Or does it fall under QGIS' license?
> 
> Thanks,
> 
> Best Regards,
> Aron Gergely
> 
> I am also a fan of the ester egg, learned it from Raymond.
> 
> On 28/05/2019 10:50, Tim Sutton wrote:
>> Hi
>> 
>> 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 :-)
>> 
>> 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.
>> 
>> <world.jpg>
>> Regards
>> 
>> Tim
>> 
>>> On 27 May 2019, at 14:58, Raymond Nijssen <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> 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:
>>> 
>>> /home/raymond/programs/qgis-master/share/qgis/resources/data/world_map.shp
>>> 
>>> 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?
>>> 
>>> like this:
>>> {QGIS_RESOURCE_PATH}/data/world_map.shp
>>> 
>>> or I could copy the world.shp into my plugin and do this:
>>> 
>>> {QGIS_PLUGIN_PATH}/my-plugin/data/world_map.shp
>>> 
>>> These paths should then be saved including the variable in the project file.
>>> 
>>> 
>>> 
>>> 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..
>>> 
>>> 
>>> 
>>> This is the way I create the path now:
>>> 
>>> worldShp = os.path.join(QgsApplication.pkgDataPath(), 'resources', 'data', 
>>> 'world_map.shp')
>>> 
>>> 
>>> 
>>> 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?
>>> 
>>> 
>>> Hope anyone can help!
>>> 
>>> Kind regards,
>>> Raymond
>>> 
>>> 
>>> _______________________________________________
>>> QGIS-Developer mailing list
>>> [email protected] <mailto:[email protected]>
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer 
>>> <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer 
>>> <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>> —
>> 
>> 
>> <KartozaNewLogoThumbnail.jpg>
>> 
>> 
>> 
>> 
>> 
>> 
>> Tim Sutton
>> 
>> Co-founder: Kartoza
>> Ex Project chair: QGIS.org <http://qgis.org/>
>> 
>> Visit http://kartoza.com <http://kartoza.com/> to find out about open source:
>> 
>> Desktop GIS programming services
>> Geospatial web development
>> GIS Training
>> Consulting Services
>> 
>> Skype: timlinux 
>> IRC: timlinux on #qgis at freenode.net <http://freenode.net/>
>> 
>> I'd love to connect. Here's my calendar link <https://calendly.com/timlinux> 
>> to make finding time easy.
>> 
>> 
>> 
>> _______________________________________________
>> QGIS-Developer mailing list
>> [email protected] <mailto:[email protected]>
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer 
>> <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer 
>> <https://lists.osgeo.org/mailman/listinfo/qgis-developer>

—









Tim Sutton

Co-founder: Kartoza
Ex Project chair: QGIS.org

Visit http://kartoza.com <http://kartoza.com/> to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux 
IRC: timlinux on #qgis at freenode.net

I'd love to connect. Here's my calendar link <https://calendly.com/timlinux> to 
make finding time easy.

_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to