I have several shapefiles stored in Azure Blob Storage within my Azure Machine Learning workspace, each comprising the files: file.fix, file.shp, file.dbf, file.prj, and file.shx. I need to directly access and read these shapefiles within my Azure Machine Learning environment.
So far, I've successfully read Parquet files using the following code:
Dataset.Tabular.from_parquet_files(path=[(datastore, file_path)]).to_pandas_dataframe()
and CSV files using:
table = Dataset.Tabular.from_delimited_files(path=[(datastore, file_path)]).to_pandas_dataframe()
While I did come across a solution for reading shapefiles in Azure Databricks, I haven't found a direct method for accomplishing this within Azure Machine Learning.
I understand that one workaround could be to download the files and read them locally within the code. However, I'm unsure about the implementation details for this approach.
Any help would be greatly appreciated.