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
When creating a shape datastore using create_shp_datastore() in the created store's shapefile location is setting as an absolute path (E.g.: file:/D:/Geoserver/data_dir/data/workspace_name/datastore_name/data.shp) unlike when creating coveragestores, the fie location is set to the relative path. E.g. : file:data/workspace_name/rasterstore_name/raster.geotiff.
This leads to unavailability of the shapefile data store and previewing of the vector data when the geoserver is reused in multiple PCs. (E.g: in one PC geoserver may be in E: drive and in another it may be in C: drive but data becomes unavailable due to the absolute path location). How can we fix it?
The text was updated successfully, but these errors were encountered:
MadaraPremawardhana
changed the title
shapefile datastore path is absolute
shapefile path is absolute in create_shp_datastore
Mar 3, 2022
MadaraPremawardhana
changed the title
shapefile path is absolute in create_shp_datastore
shapefile path is absolute in create_shp_datastore (QUESTION)
Mar 7, 2022
When creating a shape datastore using
create_shp_datastore()
in the created store's shapefile location is setting as an absolute path (E.g.: file:/D:/Geoserver/data_dir/data/workspace_name/datastore_name/data.shp) unlike when creating coveragestores, the fie location is set to the relative path. E.g. : file:data/workspace_name/rasterstore_name/raster.geotiff.This leads to unavailability of the shapefile data store and previewing of the vector data when the geoserver is reused in multiple PCs. (E.g: in one PC geoserver may be in E: drive and in another it may be in C: drive but data becomes unavailable due to the absolute path location). How can we fix it?
The text was updated successfully, but these errors were encountered: