reading in .shp files #781
-
Hi everyone, I used: I do have an image_path column and I tried different ways to point it to the image position. The output is: but also: CPLE_OpenFailedError: shape/DJI_20240911092253_0119_Z.JPG: No such file or directory Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @robinsandfort - # Full path version
shp = utilities.read_file(input="/full/path/to/test_read_file_boxes_projected.shp")
# Relative path version
shp = utilities.read_file(input="path/to/test_read_file_boxes_projected.shp")
The stuff with |
Beta Was this translation helpful? Give feedback.
Hi @robinsandfort -
read_data()
is taking a file path as input. So you want something likeget_data()
is only for access data we distribute with the package for testing/examples.The stuff with
{}
and.format(tmpdir)
is because this docs example was copied from our tests. We'll put it on the list to clean that up since it's definitely confusing.