You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix absolute path issue in create_datastore function
- Add use_relative_path parameter (default True) to create_datastore
- Convert absolute paths to relative paths using data/workspace/filename format
- Maintain backward compatibility with existing relative paths and HTTP URLs
- Add test script to demonstrate path conversion functionality
- Fixes issue #72 where absolute paths made GeoServer non-portable
The fix ensures that when use_relative_path=True (default), absolute file paths
are converted to relative paths like 'data/workspace/filename.shp', making
GeoServer configurations portable across different machines.
0 commit comments