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
Hey,
I noticed that the 2023 versions of BDTOPO files are called with "3-3": BDTOPO_3-3_TOUSTHEMES_GPKG_LAMB93_D[DEPARTEMENT]_[DATE].7z
I suppose it is a version of something. What does it correspond to exactly? May a "version" change modify the GeoPackage format and need a pipeline update?
In the code, it is expected "3-0" and it is not configurable:
Also, as the date is precisely in the file name, could we use a folder name that is nonspecific to the date, like before? It was helpful to have different folders when the Shapefile names were the same. However, when using the archive, it is not the case anymore. If I want to use a BDTOPO from another year, I need to change two parameters, whereas only one could be possible. I've included the current date-specific folder name definition below.
There are some valid points. But then I think the easiest way would simply be to load all 7z that have been dumped in the folder (without considering any file name patterns) and reading everything that is there. One just need to be careful not to put together files for five different areas in the same folder (but it wouldn't hurt either, it is just a runtime issue then).
I updated the PR above. I think the best is just to dump the files into a folder and then we read everything that is in there. The only thing that might be tricky is if there are files from multiple years fro the same area. However, then the pipeline will automatically remove duplicates (because we do that anyway for merging the departments) and the user will have a latest buildings. So now if you want to use two different data sets, you basically just need to change the option bdtopo_path, which brings us back to one config option :)
Hey,
I noticed that the 2023 versions of BDTOPO files are called with "3-3":
BDTOPO_3-3_TOUSTHEMES_GPKG_LAMB93_D[DEPARTEMENT]_[DATE].7z
I suppose it is a version of something. What does it correspond to exactly? May a "version" change modify the GeoPackage format and need a pipeline update?
In the code, it is expected "3-0" and it is not configurable:
ile-de-france/data/bdtopo/raw.py
Line 43 in 3198174
I found that version 3-0 is for 2021 and 2022. Years 2017 and 2018 used version 2-2. 2012 to 2016 used 2-1, and 2009 to 2011 used 2-0.
Example of GeoPackage archive for Paris (75) 2023:
https://wxs.ign.fr/859x8t863h6a09o9o6fy4v60/telechargement/prepackage/BDTOPOV3-TOUSTHEMES-DEPARTEMENT_GPKG_PACK_231$BDTOPO_3-3_TOUSTHEMES_GPKG_LAMB93_D075_2023-03-15/file/BDTOPO_3-3_TOUSTHEMES_GPKG_LAMB93_D075_2023-03-15.7z
Also, as the date is precisely in the file name, could we use a folder name that is nonspecific to the date, like before? It was helpful to have different folders when the Shapefile names were the same. However, when using the archive, it is not the case anymore. If I want to use a BDTOPO from another year, I need to change two parameters, whereas only one could be possible. I've included the current date-specific folder name definition below.
ile-de-france/data/bdtopo/raw.py
Line 17 in 3198174
Aina
The text was updated successfully, but these errors were encountered: