HDF5 📊

HDF5 (Hierarchical Data Format v5)

Open Beta
.h5 · application/x-hdf5

HDF5 is a binary self-describing container for scientific data with a filesystem inside the file: groups (folders), datasets (arrays), attributes (metadata). On osm2cdr the .h5 export works honestly like this: each OSM layer becomes an HDF5 group holding longitude and latitude datasets (feature centroids) plus one dataset per attribute field as strings. It is a self-describing container of coordinates and attributes, not a gridded scoring raster or DEM cube — the exporter does not compute such layers. Written via h5py; readable in h5py, HDFView, MATLAB, R, IDL.

Արտահանել HDF5 հիմա ✨ Open Beta — անվճար, առանց սահմանափակումների

Հիմնական հատկություններ

One HDF5 group per layer; inside — longitude/latitude datasets (centroids) and one dataset per attribute field
Root and group attributes: title, source, bbox, feature_count, geometry_type
Attributes written as variable-length UTF-8 strings, coordinates as float64
Multi-level fallback: h5py → GDAL HDF5 driver → gzip-JSON with a similar logical structure
Example HDF5 export (central Moscow, 1x0.5 km)
Example: central Moscow, ~1×0.5 km, medium detail

HDF5 ֆորմատի մասին

HDF5 is a binary container for scientific data laid out like a file system inside a single file: groups act as folders, datasets as arrays, attributes as metadata. The format is maintained by the HDF Group, it is read by Python, MATLAB, R and IDL, and it is designed so that data stays understandable without accompanying documentation.

OpenStreetMap maps are exported to .h5 when the next step is a scientific or engineering pipeline: the computation works on arrays, and one self-describing file is wanted instead of a pile of shapefiles. It is especially convenient when your own measurements already live in that same file — HDF5 happily holds heterogeneous data in one hierarchy.

Inside there is one group per OSM layer. Each group holds the longitude and latitude datasets with feature centroids and one string dataset per attribute field; coordinates are written as float64, attributes as variable-length UTF-8 strings. Metadata is written at the root and in the groups: title, source, extent, feature count, geometry type.

Honestly about the limitations: this is a container of coordinates and attributes, not a raster cube. Geometry is reduced to centroids — there are no building outlines or road lines in the file, and the exporter does not compute analytical grids (density, scores, terrain). Writing goes through h5py, and if the library is unavailable, fallbacks kick in down to gzipped JSON with the same logical structure.

Ո՞ր ծրագիրն է բացում HDF5 ֆայլերը

Հետևյալ ծրագրերն ու հավելվածները կարող են բացել, խմբագրել և աշխատել OSM2CDR-ից արտահանված HDF5 (Hierarchical Data Format v5) (.h5) ֆայլերի հետ՝

💻h5py (Python) 💻HDFView (HDF Group) 💻MATLAB 📐R (rhdf5) 💻Panoply (NASA GISS)

Format specifications

Ո՞վ է օգտագործում HDF5 քարտեզները

🏗
Packing coordinates and attributes of several OSM layers of an area into one self-describing .h5 for later scientific analysis
All the layers of a district in one file with an internal structure that is clear without any accompanying description.
💻
Feeding data into an h5py/PyTables pipeline where a group-per-layer hierarchy with attribute metadata is convenient
The group-per-layer hierarchy fits a scientific pipeline with no conversions in between.
📊
Long-term archival of point data in a format stably read by scientific libraries for decades
A stable scientific format that the same libraries will still read years later.

Ինչպես արտահանել HDF5

1
Ընտրել տարածք
Գծեք ուղղանկյուն կամ բազմանկյուն ինտերակտիվ քարտեզի վրա՝ osm2cdr.ru կայքում։
2
Ընտրել HDF5
Ցանկից ընտրեք HDF5 (Hierarchical Data Format v5)՝ արտահանման 127 հասանելի ֆորմատներից։
3
Արտահանում
Սեղմեք «Արտահանել» և ստացեք ձեր .h5 ֆայլը 1–5 րոպեում։
4
Ներբեռնում
Ներբեռնեք պատրաստ HDF5 ֆայլը և բացեք այն h5py (Python)-ում

Ինչպես բացել արտահանումից հետո

Հանրաճանաչ քարտեզներ HDF5 ֆորմատով

Անվճար

Ստացեք HDF5 (Hierarchical Data Format v5) քարտեզի արտահանումներ

Ներբեռնեք պրոֆեսիոնալ HDF5 քարտեզներ OpenStreetMap-ից։ Ակնթարթային ստեղծում՝ ցանկացած տարածքի համար։

Անվճար / արտահանում
Արտահանել HDF5 հիմա →

Հաճախ տրվող հարցեր

Does the file contain scoring rasters (Walk/Green) or DEM cubes?
How do I inspect the .h5 structure?
How does HDF5 differ from NetCDF in our export?
Are building outlines and road lines preserved?
How do I find out which fields are in the file?

Հարակից ֆորմատներ

Հաճախ արտահանվում են միասին

Related Articles