Comments (2)
Pour les retours à la ligne en trop, j'ai vu des formats de fichier .*gw avec ces sauts de ligne, raison pour laquelle je les ai intégrés. Il faut donc enlever le saut de ligne (/n) dans les lignes concernées. Remplacez donc dans le fichier mapsprinter.py (lignes 677- 682)
with open (worldFileName , "w") as f: f.write ("%s\n\n" % wf[0]) f.write ("%s\n\n" % wf[1]) f.write ("%s\n\n" % wf[3]) f.write ("%s\n\n" % wf[4]) f.write ("%s\n\n" % wf[2]) f.write ("%s\n" % wf[5])
par
with open (worldFileName , "w") as f: f.write ("%s\n" % wf[0]) f.write ("%s\n" % wf[1]) f.write ("%s\n" % wf[3]) f.write ("%s\n" % wf[4]) f.write ("%s\n" % wf[2]) f.write ("%s" % wf[5])
Pour la précision des données, je ne crée pas réellement de fonction de génération de world file; je m'appuie sur les fonctions définies déjà dans QGIS. Je pense que la différence doit venir d'un formatage par ailleurs dans QGIS (12 chiffres max dont 6 décimales) alors que la valeur par défaut renvoyée (que j'utilise) est de 12 chiffres max, sans contrainte sur la partie décimale.
from mapsprinter.
Je ferme ce signalement
from mapsprinter.
Related Issues (20)
- Maps Printer does not respect the resolution set in the Print Layout HOT 8
- Export at different DPI settings HOT 4
- Check layout validity
- Include project file name in atlas output files of the "Export layouts from folder" algorithm HOT 1
- Allow to export layouts from sub-folders
- Better organize output files exporting from folders HOT 1
- Allow to export print reports HOT 1
- Add tests to the plugin
- XMDF vector arrow handling in PDF 3.12+ HOT 1
- Field with formula in layout does not update HOT 1
- Naming conflict when exporting to png. HOT 2
- Atlas-PDF-export only as single file possible HOT 2
- Option to sort "Layouts to export" list of layouts alphabetically
- Algorithm from a folder is not available HOT 17
- The export algorithm from a folder is not available
- Atlas export to PDF creates multiple files when export to single file is selected HOT 1
- Export fail to a temporary folder
- Export fails when layout name contains slash
- Atlas controlled layout overwriting itsself HOT 9
- One out of twenty layouts cannot be printed to pdf HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapsprinter.