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

Fix path interpretation for landscape layers. #141

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brownterryn
Copy link
Contributor

StreamCat was failing with a path to categorical image data outside the layers folder, either joining paths when it shouldn't, e.g. E:\path\to\layersE:/data/landcover.img, or failing to make a valid DBF name, e.g. ...\DBFStash\E:\data\landcover.img. Changes make it work regardless of / or \ delimiters, previously it failed one way or the other whichever you used.

I suspect it was working with continuous raster data outside the layers folder because that doesn't need a DBF to be created - there were examples in the control table of image data stored elsewhere, but only for continuous.

StreamCat was failing with a path to categorical image data outside the
layers folder, either joining paths when it shouldn't, e.g.
E:\path\to\layersE:/data/landcover.img, or failing to make a valid DBF
name, e.g. ...\DBFStash\E:\data\landcover.img.  Changes make it work
regardless of / or \ delimiters, previously it failed one way or the
other whichever you used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant