Creating a portable map package file folder Planned maintenance scheduled April 23, 2019 at...
Should I use a zero-interest credit card for a large one-time purchase?
Disembodied hand growing fangs
Denied boarding although I have proper visa and documentation. To whom should I make a complaint?
Trademark violation for app?
Is there hard evidence that the grant peer review system performs significantly better than random?
Converted a Scalar function to a TVF function for parallel execution-Still running in Serial mode
Did Krishna say in Bhagavad Gita "I am in every living being"
Can the Great Weapon Master feat's "Power Attack" apply to attacks from the Spiritual Weapon spell?
Why does the remaining Rebel fleet at the end of Rogue One seem dramatically larger than the one in A New Hope?
How often does castling occur in grandmaster games?
Take 2! Is this homebrew Lady of Pain warlock patron balanced?
AppleTVs create a chatty alternate WiFi network
What do you call the main part of a joke?
Why is my ESD wriststrap failing with nitrile gloves on?
ArcGIS Pro Python arcpy.CreatePersonalGDB_management
Can anything be seen from the center of the Boötes void? How dark would it be?
What is a fractional matching?
An adverb for when you're not exaggerating
Dating a Former Employee
How do living politicians protect their readily obtainable signatures from misuse?
How to compare two different files line by line in unix?
Why should I vote and accept answers?
Can an alien society believe that their star system is the universe?
Selecting user stories during sprint planning
Creating a portable map package file folder
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?How to link to external files with relative path in QGIS actions?Can I incorporate an existing DBF file with coordinates for Tiff tiles into geodatabase like spatialite?Copy .prj file into QGIS projection folderQGIS Plugin to add point to map without creating a fileCreating input node file for V.net.salesman in GRASS?Requirement to use a spatial database - Why use a spatial database?Understanding tiles folder and file namesRemapping layers in QGIS project to other folders?Loss of geometry in shapefile after saving editsQGIS 3 - Change location of profile folder
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I am searching for an expression or some assistance in changing filepaths and links to photos within attributes to relative paths.
I have used QConsolidate to create a folder with all the files and links I want.
I would like to create a single folder so I can give the folder to a client and when they install on their system they will have all the connections retained.
I have been finding info on relative paths and thought I had cracked it with @project_folder ||'/data/'|| filename
But this expression does not change the file path when the folder is moved to a different location.
qgis qgis-plugins ppygis
bumped to the homepage by Community♦ 3 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am searching for an expression or some assistance in changing filepaths and links to photos within attributes to relative paths.
I have used QConsolidate to create a folder with all the files and links I want.
I would like to create a single folder so I can give the folder to a client and when they install on their system they will have all the connections retained.
I have been finding info on relative paths and thought I had cracked it with @project_folder ||'/data/'|| filename
But this expression does not change the file path when the folder is moved to a different location.
qgis qgis-plugins ppygis
bumped to the homepage by Community♦ 3 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am searching for an expression or some assistance in changing filepaths and links to photos within attributes to relative paths.
I have used QConsolidate to create a folder with all the files and links I want.
I would like to create a single folder so I can give the folder to a client and when they install on their system they will have all the connections retained.
I have been finding info on relative paths and thought I had cracked it with @project_folder ||'/data/'|| filename
But this expression does not change the file path when the folder is moved to a different location.
qgis qgis-plugins ppygis
I am searching for an expression or some assistance in changing filepaths and links to photos within attributes to relative paths.
I have used QConsolidate to create a folder with all the files and links I want.
I would like to create a single folder so I can give the folder to a client and when they install on their system they will have all the connections retained.
I have been finding info on relative paths and thought I had cracked it with @project_folder ||'/data/'|| filename
But this expression does not change the file path when the folder is moved to a different location.
qgis qgis-plugins ppygis
qgis qgis-plugins ppygis
edited Sep 9 '18 at 16:20
Damini Jain
1,560217
1,560217
asked Jul 9 '18 at 8:01
David CiniDavid Cini
61
61
bumped to the homepage by Community♦ 3 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 3 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The plugin QConsolidate works by me. (tested on QGIS 2.18.21)
May be, bevor to export you have to configurate the project:
Menu Project - Properties - General - Save paths as "relative".
After using the pluging, if you open your project file with a text editor (i.e notepad ++), you see the paths are relative between the balises <datasource>./layers/xx.shp</datasource>
Thanks. I did try QConsolidate but didn't look at the project file after export. Will check again but not sure if this impacts the filepaths in the attribute table which link to geotag imagery. Would you happen to know the script fro paths in a field. Like I said I used ---@project_folder ||'/data/'|| filename--- but the path doesn't change when folder moved. I am thinking this script is close to what I need. Thanks again
– David Cini
Jul 10 '18 at 0:39
Have you tri to add a virtual field and this code -- @project_folder ||char(92) || 'data'||char(92) || 'filename' --
– Christophe
Jul 11 '18 at 9:15
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "79"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f288833%2fcreating-a-portable-map-package-file-folder%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The plugin QConsolidate works by me. (tested on QGIS 2.18.21)
May be, bevor to export you have to configurate the project:
Menu Project - Properties - General - Save paths as "relative".
After using the pluging, if you open your project file with a text editor (i.e notepad ++), you see the paths are relative between the balises <datasource>./layers/xx.shp</datasource>
Thanks. I did try QConsolidate but didn't look at the project file after export. Will check again but not sure if this impacts the filepaths in the attribute table which link to geotag imagery. Would you happen to know the script fro paths in a field. Like I said I used ---@project_folder ||'/data/'|| filename--- but the path doesn't change when folder moved. I am thinking this script is close to what I need. Thanks again
– David Cini
Jul 10 '18 at 0:39
Have you tri to add a virtual field and this code -- @project_folder ||char(92) || 'data'||char(92) || 'filename' --
– Christophe
Jul 11 '18 at 9:15
add a comment |
The plugin QConsolidate works by me. (tested on QGIS 2.18.21)
May be, bevor to export you have to configurate the project:
Menu Project - Properties - General - Save paths as "relative".
After using the pluging, if you open your project file with a text editor (i.e notepad ++), you see the paths are relative between the balises <datasource>./layers/xx.shp</datasource>
Thanks. I did try QConsolidate but didn't look at the project file after export. Will check again but not sure if this impacts the filepaths in the attribute table which link to geotag imagery. Would you happen to know the script fro paths in a field. Like I said I used ---@project_folder ||'/data/'|| filename--- but the path doesn't change when folder moved. I am thinking this script is close to what I need. Thanks again
– David Cini
Jul 10 '18 at 0:39
Have you tri to add a virtual field and this code -- @project_folder ||char(92) || 'data'||char(92) || 'filename' --
– Christophe
Jul 11 '18 at 9:15
add a comment |
The plugin QConsolidate works by me. (tested on QGIS 2.18.21)
May be, bevor to export you have to configurate the project:
Menu Project - Properties - General - Save paths as "relative".
After using the pluging, if you open your project file with a text editor (i.e notepad ++), you see the paths are relative between the balises <datasource>./layers/xx.shp</datasource>
The plugin QConsolidate works by me. (tested on QGIS 2.18.21)
May be, bevor to export you have to configurate the project:
Menu Project - Properties - General - Save paths as "relative".
After using the pluging, if you open your project file with a text editor (i.e notepad ++), you see the paths are relative between the balises <datasource>./layers/xx.shp</datasource>
answered Jul 9 '18 at 9:14
ChristopheChristophe
917415
917415
Thanks. I did try QConsolidate but didn't look at the project file after export. Will check again but not sure if this impacts the filepaths in the attribute table which link to geotag imagery. Would you happen to know the script fro paths in a field. Like I said I used ---@project_folder ||'/data/'|| filename--- but the path doesn't change when folder moved. I am thinking this script is close to what I need. Thanks again
– David Cini
Jul 10 '18 at 0:39
Have you tri to add a virtual field and this code -- @project_folder ||char(92) || 'data'||char(92) || 'filename' --
– Christophe
Jul 11 '18 at 9:15
add a comment |
Thanks. I did try QConsolidate but didn't look at the project file after export. Will check again but not sure if this impacts the filepaths in the attribute table which link to geotag imagery. Would you happen to know the script fro paths in a field. Like I said I used ---@project_folder ||'/data/'|| filename--- but the path doesn't change when folder moved. I am thinking this script is close to what I need. Thanks again
– David Cini
Jul 10 '18 at 0:39
Have you tri to add a virtual field and this code -- @project_folder ||char(92) || 'data'||char(92) || 'filename' --
– Christophe
Jul 11 '18 at 9:15
Thanks. I did try QConsolidate but didn't look at the project file after export. Will check again but not sure if this impacts the filepaths in the attribute table which link to geotag imagery. Would you happen to know the script fro paths in a field. Like I said I used ---@project_folder ||'/data/'|| filename--- but the path doesn't change when folder moved. I am thinking this script is close to what I need. Thanks again
– David Cini
Jul 10 '18 at 0:39
Thanks. I did try QConsolidate but didn't look at the project file after export. Will check again but not sure if this impacts the filepaths in the attribute table which link to geotag imagery. Would you happen to know the script fro paths in a field. Like I said I used ---@project_folder ||'/data/'|| filename--- but the path doesn't change when folder moved. I am thinking this script is close to what I need. Thanks again
– David Cini
Jul 10 '18 at 0:39
Have you tri to add a virtual field and this code -- @project_folder ||char(92) || 'data'||char(92) || 'filename' --
– Christophe
Jul 11 '18 at 9:15
Have you tri to add a virtual field and this code -- @project_folder ||char(92) || 'data'||char(92) || 'filename' --
– Christophe
Jul 11 '18 at 9:15
add a comment |
Thanks for contributing an answer to Geographic Information Systems Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f288833%2fcreating-a-portable-map-package-file-folder%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown