ucd-cws / PISCES

Software for tracking and analyzing fish species range data
Other
0 stars 2 forks source link

paths for layer cache in database should be relative to PISCES root #28

Open nickrsan opened 11 years ago

nickrsan commented 11 years ago

Original report by Nicholas Santos (Bitbucket: nickrsan, GitHub: nickrsan).


In the layer cache, paths are currently stored as absolute. We should do two things:

1) Make sure that the map documents have relative pathnames set 2) Change the code to not store an absolute path for the cached layer. We could accomplish this by changing the code that sets and retrieves the paths of the layers in the database to use a relative reference to the feature classes.