Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Referenced layers do not use relative paths if set in project properties #14078

Closed
qgib opened this issue Jul 19, 2011 · 3 comments
Closed

Referenced layers do not use relative paths if set in project properties #14078

qgib opened this issue Jul 19, 2011 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Project
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Jul 19, 2011

Author Name: Andreas Neumann (@andreasneumann)
Original Redmine Issue: 4096

Redmine category:project_loading/saving
Assignee: Marco Hugentobler


When saving referenced layers in a project and the project setting is set to relative paths, QGIS still writes the referenced project as absolute.

@qgib
Copy link
Contributor Author

qgib commented Jul 20, 2011

Author Name: Andreas Neumann (@andreasneumann)


  • assigned_to_id was configured as Marco Hugentobler

@qgib
Copy link
Contributor Author

qgib commented Jul 21, 2011

Author Name: Marco Hugentobler (@mhugent)


Seems to work as expected


  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Oct 15, 2011

Author Name: Gavin Fleming (@gubuntu)


This does happen inconsistently and unexpectedly. Here is an example: This shapefile should have no path as it is in the same directory as the project file yet QGIS writes it as

<datasource>../../../../../Documents and Settings/Gavin/Documents/EdTechConf/data/rivers.shp</datasource>

...which of course will not open on another system.

In this case the project and data are on an NTFS mounted drive on a dual-boot system. Could it be something to do with the spaces in the path or referencing symbolic links vs actual paths?


  • os_version was changed from to 11.04
  • operating_system was changed from all to linux

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Project labels May 24, 2019
@qgib qgib added this to the Version 2.0.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Project
Projects
None yet
Development

No branches or pull requests

1 participant