Re-using QGIS Atlas on similar projects?How can I configure composer to update all the elements when the...

Time travel from stationary position?

SOQL: Populate a Literal List in WHERE IN Clause

How to deal with a cynical class?

Sailing the cryptic seas

How to write cleanly even if my character uses expletive language?

How to create the Curved texte?

(Calculus) Derivative Thinking Question

Can I use USB data pins as power source

Official degrees of earth’s rotation per day

Why does Bach not break the rules here?

Use of undefined constant bloginfo

What options are left, if Britain cannot decide?

Do I need to be arrogant to get ahead?

How to explain that I do not want to visit a country due to personal safety concern?

Are all passive ability checks floors for active ability checks?

What did Alexander Pope mean by "Expletives their feeble Aid do join"?

Are there other languages, besides English, where the indefinite (or definite) article varies based on sound?

How to use of "the" before known matrices

What approach do we need to follow for projects without a test environment?

A sequence that has integer values for prime indexes only:

Life insurance that covers only simultaneous/dual deaths

Could the Saturn V actually have launched astronauts around Venus?

Is it possible to upcast ritual spells?

How do I hide Chekhov's Gun?



Re-using QGIS Atlas on similar projects?


How can I configure composer to update all the elements when the project is opened?Exported PDF resulting in misaligned Bing Aerial and vector layer using QGIS?QGIS Composer keep reference after reloading layersQIS 2.8.9 - problem printing mapsAtlas Generation output from QGIS is returning empty filesAttribute data in QGIS AtlasPutting map on every page of variable multipage QGIS composer?On QGIS Composer how to filter the atlas coverage layer using a project variable (rather than just a value)?Multipage atlas with different maps in every pageAutomating creation of multiple maps with different layers on same location in QGIS?













3















I recently started using the Atlas feature on QGIS 2.18 and have a problem making it work as I want. More precisely I need to be able to easily reuse an atlas for a 100% similar project (same layer names, same columns structures) but at a different location.



More detailed explanation:



I have 25 projects with the same structure (same layer names, same columns)
I prepared a Composer for an atlas for projectA (with a map, a legend 2 attributes tables) which works well. I finish printing my pdf files, I save my composer and close it.



Later on I come back with project B, open my project B layers and open my composer. I was hoping that the composer would adapt to my project B layers (which have exactly the same name and same structure as project A). unfortunately it did not work out and I have to redo the attribute tables, the legend...



I looked into this problem but have not been able to find a solution.










share|improve this question

























  • Have you tried recording links with relative path and not absolute? (Projet- properties - General)

    – Christophe
    Nov 5 '18 at 12:47













  • Hi,It's already saved as relative path. But there's something I did not know : in my project file (.qgs), the datasource is relative, but there are still some lines where the absolute path is stored. Also, in my composer file (.qpt) the source path is in absolute. (vectorLayerSource="C:/Users/...... ) I don't know if it is normal or not

    – Wan
    Nov 5 '18 at 14:47








  • 1





    You could try changing the file path in the text of the .qpt file. Just be sure to make a backup in case you corrupt the file. First try changing it from absolute to relative. If that doesn't work, make a copy for every project and change the absolute path in each copy.

    – csk
    Nov 5 '18 at 16:36
















3















I recently started using the Atlas feature on QGIS 2.18 and have a problem making it work as I want. More precisely I need to be able to easily reuse an atlas for a 100% similar project (same layer names, same columns structures) but at a different location.



More detailed explanation:



I have 25 projects with the same structure (same layer names, same columns)
I prepared a Composer for an atlas for projectA (with a map, a legend 2 attributes tables) which works well. I finish printing my pdf files, I save my composer and close it.



Later on I come back with project B, open my project B layers and open my composer. I was hoping that the composer would adapt to my project B layers (which have exactly the same name and same structure as project A). unfortunately it did not work out and I have to redo the attribute tables, the legend...



I looked into this problem but have not been able to find a solution.










share|improve this question

























  • Have you tried recording links with relative path and not absolute? (Projet- properties - General)

    – Christophe
    Nov 5 '18 at 12:47













  • Hi,It's already saved as relative path. But there's something I did not know : in my project file (.qgs), the datasource is relative, but there are still some lines where the absolute path is stored. Also, in my composer file (.qpt) the source path is in absolute. (vectorLayerSource="C:/Users/...... ) I don't know if it is normal or not

    – Wan
    Nov 5 '18 at 14:47








  • 1





    You could try changing the file path in the text of the .qpt file. Just be sure to make a backup in case you corrupt the file. First try changing it from absolute to relative. If that doesn't work, make a copy for every project and change the absolute path in each copy.

    – csk
    Nov 5 '18 at 16:36














3












3








3








I recently started using the Atlas feature on QGIS 2.18 and have a problem making it work as I want. More precisely I need to be able to easily reuse an atlas for a 100% similar project (same layer names, same columns structures) but at a different location.



More detailed explanation:



I have 25 projects with the same structure (same layer names, same columns)
I prepared a Composer for an atlas for projectA (with a map, a legend 2 attributes tables) which works well. I finish printing my pdf files, I save my composer and close it.



Later on I come back with project B, open my project B layers and open my composer. I was hoping that the composer would adapt to my project B layers (which have exactly the same name and same structure as project A). unfortunately it did not work out and I have to redo the attribute tables, the legend...



I looked into this problem but have not been able to find a solution.










share|improve this question
















I recently started using the Atlas feature on QGIS 2.18 and have a problem making it work as I want. More precisely I need to be able to easily reuse an atlas for a 100% similar project (same layer names, same columns structures) but at a different location.



More detailed explanation:



I have 25 projects with the same structure (same layer names, same columns)
I prepared a Composer for an atlas for projectA (with a map, a legend 2 attributes tables) which works well. I finish printing my pdf files, I save my composer and close it.



Later on I come back with project B, open my project B layers and open my composer. I was hoping that the composer would adapt to my project B layers (which have exactly the same name and same structure as project A). unfortunately it did not work out and I have to redo the attribute tables, the legend...



I looked into this problem but have not been able to find a solution.







qgis print-composer atlas






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 58 secs ago









PolyGeo

53.7k1781244




53.7k1781244










asked Nov 5 '18 at 11:00









WanWan

162




162













  • Have you tried recording links with relative path and not absolute? (Projet- properties - General)

    – Christophe
    Nov 5 '18 at 12:47













  • Hi,It's already saved as relative path. But there's something I did not know : in my project file (.qgs), the datasource is relative, but there are still some lines where the absolute path is stored. Also, in my composer file (.qpt) the source path is in absolute. (vectorLayerSource="C:/Users/...... ) I don't know if it is normal or not

    – Wan
    Nov 5 '18 at 14:47








  • 1





    You could try changing the file path in the text of the .qpt file. Just be sure to make a backup in case you corrupt the file. First try changing it from absolute to relative. If that doesn't work, make a copy for every project and change the absolute path in each copy.

    – csk
    Nov 5 '18 at 16:36



















  • Have you tried recording links with relative path and not absolute? (Projet- properties - General)

    – Christophe
    Nov 5 '18 at 12:47













  • Hi,It's already saved as relative path. But there's something I did not know : in my project file (.qgs), the datasource is relative, but there are still some lines where the absolute path is stored. Also, in my composer file (.qpt) the source path is in absolute. (vectorLayerSource="C:/Users/...... ) I don't know if it is normal or not

    – Wan
    Nov 5 '18 at 14:47








  • 1





    You could try changing the file path in the text of the .qpt file. Just be sure to make a backup in case you corrupt the file. First try changing it from absolute to relative. If that doesn't work, make a copy for every project and change the absolute path in each copy.

    – csk
    Nov 5 '18 at 16:36

















Have you tried recording links with relative path and not absolute? (Projet- properties - General)

– Christophe
Nov 5 '18 at 12:47







Have you tried recording links with relative path and not absolute? (Projet- properties - General)

– Christophe
Nov 5 '18 at 12:47















Hi,It's already saved as relative path. But there's something I did not know : in my project file (.qgs), the datasource is relative, but there are still some lines where the absolute path is stored. Also, in my composer file (.qpt) the source path is in absolute. (vectorLayerSource="C:/Users/...... ) I don't know if it is normal or not

– Wan
Nov 5 '18 at 14:47







Hi,It's already saved as relative path. But there's something I did not know : in my project file (.qgs), the datasource is relative, but there are still some lines where the absolute path is stored. Also, in my composer file (.qpt) the source path is in absolute. (vectorLayerSource="C:/Users/...... ) I don't know if it is normal or not

– Wan
Nov 5 '18 at 14:47






1




1





You could try changing the file path in the text of the .qpt file. Just be sure to make a backup in case you corrupt the file. First try changing it from absolute to relative. If that doesn't work, make a copy for every project and change the absolute path in each copy.

– csk
Nov 5 '18 at 16:36





You could try changing the file path in the text of the .qpt file. Just be sure to make a backup in case you corrupt the file. First try changing it from absolute to relative. If that doesn't work, make a copy for every project and change the absolute path in each copy.

– csk
Nov 5 '18 at 16:36










1 Answer
1






active

oldest

votes


















1














For a similar problem (same data structure but at different date in my case) my solution was to create a base project with all the layer and print composer template.



Then for each new project I opened the base project, do a "save as" under a new name and change the data source of some of the layer (at the time it was requiring a plugin to change data source, I don't know if this is still the case). Of course in my case all of the base layer stayed the same and I only have to change a few layer (like changing datasource of "data_january" by "data_february") to get an updated project. but if you dont have to many layer this could be a viable solution.






share|improve this answer
























  • I see what you mean. Since I found that the absolute path is clearly written in my .qpt file (even if my project parameter is for relative path) I will try to copy paste my entire composer file (.qpt) and find and replace the path to the vectorlayersource in it. I don't know if it will work out, i'll test and keep you informed. This would be a kind of similar solution to what you propose

    – Wan
    Nov 5 '18 at 14:54











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f301399%2fre-using-qgis-atlas-on-similar-projects%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









1














For a similar problem (same data structure but at different date in my case) my solution was to create a base project with all the layer and print composer template.



Then for each new project I opened the base project, do a "save as" under a new name and change the data source of some of the layer (at the time it was requiring a plugin to change data source, I don't know if this is still the case). Of course in my case all of the base layer stayed the same and I only have to change a few layer (like changing datasource of "data_january" by "data_february") to get an updated project. but if you dont have to many layer this could be a viable solution.






share|improve this answer
























  • I see what you mean. Since I found that the absolute path is clearly written in my .qpt file (even if my project parameter is for relative path) I will try to copy paste my entire composer file (.qpt) and find and replace the path to the vectorlayersource in it. I don't know if it will work out, i'll test and keep you informed. This would be a kind of similar solution to what you propose

    – Wan
    Nov 5 '18 at 14:54
















1














For a similar problem (same data structure but at different date in my case) my solution was to create a base project with all the layer and print composer template.



Then for each new project I opened the base project, do a "save as" under a new name and change the data source of some of the layer (at the time it was requiring a plugin to change data source, I don't know if this is still the case). Of course in my case all of the base layer stayed the same and I only have to change a few layer (like changing datasource of "data_january" by "data_february") to get an updated project. but if you dont have to many layer this could be a viable solution.






share|improve this answer
























  • I see what you mean. Since I found that the absolute path is clearly written in my .qpt file (even if my project parameter is for relative path) I will try to copy paste my entire composer file (.qpt) and find and replace the path to the vectorlayersource in it. I don't know if it will work out, i'll test and keep you informed. This would be a kind of similar solution to what you propose

    – Wan
    Nov 5 '18 at 14:54














1












1








1







For a similar problem (same data structure but at different date in my case) my solution was to create a base project with all the layer and print composer template.



Then for each new project I opened the base project, do a "save as" under a new name and change the data source of some of the layer (at the time it was requiring a plugin to change data source, I don't know if this is still the case). Of course in my case all of the base layer stayed the same and I only have to change a few layer (like changing datasource of "data_january" by "data_february") to get an updated project. but if you dont have to many layer this could be a viable solution.






share|improve this answer













For a similar problem (same data structure but at different date in my case) my solution was to create a base project with all the layer and print composer template.



Then for each new project I opened the base project, do a "save as" under a new name and change the data source of some of the layer (at the time it was requiring a plugin to change data source, I don't know if this is still the case). Of course in my case all of the base layer stayed the same and I only have to change a few layer (like changing datasource of "data_january" by "data_february") to get an updated project. but if you dont have to many layer this could be a viable solution.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 5 '18 at 12:35









J.RJ.R

3,452222




3,452222













  • I see what you mean. Since I found that the absolute path is clearly written in my .qpt file (even if my project parameter is for relative path) I will try to copy paste my entire composer file (.qpt) and find and replace the path to the vectorlayersource in it. I don't know if it will work out, i'll test and keep you informed. This would be a kind of similar solution to what you propose

    – Wan
    Nov 5 '18 at 14:54



















  • I see what you mean. Since I found that the absolute path is clearly written in my .qpt file (even if my project parameter is for relative path) I will try to copy paste my entire composer file (.qpt) and find and replace the path to the vectorlayersource in it. I don't know if it will work out, i'll test and keep you informed. This would be a kind of similar solution to what you propose

    – Wan
    Nov 5 '18 at 14:54

















I see what you mean. Since I found that the absolute path is clearly written in my .qpt file (even if my project parameter is for relative path) I will try to copy paste my entire composer file (.qpt) and find and replace the path to the vectorlayersource in it. I don't know if it will work out, i'll test and keep you informed. This would be a kind of similar solution to what you propose

– Wan
Nov 5 '18 at 14:54





I see what you mean. Since I found that the absolute path is clearly written in my .qpt file (even if my project parameter is for relative path) I will try to copy paste my entire composer file (.qpt) and find and replace the path to the vectorlayersource in it. I don't know if it will work out, i'll test and keep you informed. This would be a kind of similar solution to what you propose

– Wan
Nov 5 '18 at 14:54


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f301399%2fre-using-qgis-atlas-on-similar-projects%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Щит и меч (фильм) Содержание Названия серий | Сюжет |...

Венесуэла на летних Олимпийских играх 2000 Содержание Состав...

Meter-Bus Содержание Параметры шины | Стандартизация |...