{"id":15009312,"url":"https://github.com/vvzen/houdini-geospatial-tools","last_synced_at":"2025-04-09T17:23:25.887Z","repository":{"id":40496203,"uuid":"131223054","full_name":"vvzen/Houdini-Geospatial-Tools","owner":"vvzen","description":"tools for geospatial exploration in Houdini (ipython notebooks + GeoJSON python library)","archived":false,"fork":false,"pushed_at":"2024-05-31T23:15:52.000Z","size":2501,"stargazers_count":29,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-02T20:06:28.425Z","etag":null,"topics":["data-analysis","data-visualization","geojson","geospatial","geotiff","houdini","python27"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vvzen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-27T00:03:44.000Z","updated_at":"2025-02-18T07:27:51.000Z","dependencies_parsed_at":"2024-06-01T00:25:28.284Z","dependency_job_id":null,"html_url":"https://github.com/vvzen/Houdini-Geospatial-Tools","commit_stats":{"total_commits":28,"total_committers":1,"mean_commits":28.0,"dds":0.0,"last_synced_commit":"29b4abf91f99e8ef732635f24fc21b9e984e99f9"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvzen%2FHoudini-Geospatial-Tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvzen%2FHoudini-Geospatial-Tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvzen%2FHoudini-Geospatial-Tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvzen%2FHoudini-Geospatial-Tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vvzen","download_url":"https://codeload.github.com/vvzen/Houdini-Geospatial-Tools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248075387,"owners_count":21043577,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-analysis","data-visualization","geojson","geospatial","geotiff","houdini","python27"],"created_at":"2024-09-24T19:24:23.886Z","updated_at":"2025-04-09T17:23:25.849Z","avatar_url":"https://github.com/vvzen.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Houdini Geospatial Tools\n\nThis repo is a collection of unordered notebooks, scripts and libraries that I've used in the last years to work with geospatial data in Houdini.\nPlease don't consider it as structured knowledge: it's just a formalized series of hacks that has proven useful enough to be reused in different dataviz projects.\n\nA recap blog post is available here: http://valerioviperino.me/houdini/dem\n\n## gdal-dtm-exporter\n\nThis simple CLI takes a .IMG Digital Terrain Model as input and spits out a 32bit floating point OpenEXR image.\nThis is written in Rust and uses the `GDAL` bindings, so you'll need both `cargo` and `gdal` installed.\nSee the `Readme.org` for more info.\n\n## python/notebooks\n\n`ipython` notebooks documenting different workflows.\n\nEach notebook might require different dependencies, but generally you'll always need:\n- `numpy==1.19.4`\n- `matplotlib==3.3.3`\n- `GDAL==3.2.0`\n\n### Save_GeoTIFF_as_ply\n\nGuides you from the loading of a (generally huge) DEM GeoTIFF to exporting samples of the elevation data, so that you don't have to deal with such a high resolution image if you don't need to.\nIf you're in Europe, a good source of DEM files is Copernicus: https://land.copernicus.eu/imagery-in-situ/eu-dem/eu-dem-v1.1\n\nThis can prove useful whenever you are exploring the data and want to do your core processing using numpy instead of houdini.\n\n## python/vv-geojson\nA very basic OOP python library than enables you to easily create geometry in Houdini by loading GeoJSON data.\nThis is just an hobby project (less than 1K LOCs at the time of writing) but I hope it can help someone out there.\n\nTested under Houdini 17.5 and Python 2.7.\n\u003cbr\u003e\nNo additional python packages required.\n\n### Installation\nSimply make this module available to your $PYTHONPATH in houdini.\n\nOne way to do this is to copy the `python/vv_geojson` folder (which contains the python package) to `$HOUDINI_USER_PREF_DIR/python2.7libs`.\n\nIf you're on mac, `$HOUDINI_USER_PREF_DIR/python2.7libs` could become `/Users/$USER/Library/Preferences/houdini/17.5/python2.7libs`.\n\nFor more infos, see [https://www.sidefx.com/docs/houdini/hom/locations.html#disk](https://www.sidefx.com/docs/houdini/hom/locations.html#disk)\n\n### Example usage\nCreate a Python node while in SOP,\n then create a `GeoJSONParser` instance like this:\n\n```python\nimport vv_geojson.geo_utils as vvgeoutils\n\ngeojson_path = '~/Downloads/my_geographical_data.geojson'\ngeojson_parser = vvgeoutils.GeoJSONParser(node.geometry(), geojson_path)\ngeojson_parser.create_geo()\n```\n\nYou can also specify an optional radius of the final geometry:\n\n```\ngeojson_parser.create_geo(radius=200)\n```\n\n### Supported GeoJSON Features\n- GeometryCollection\n- MultiPolygon\n- Polygon\n- MultiPoint\n- Point\n- LineString\n- MultiLineString (untested)\n\n\n### Where to get the data\n- https://geojson-maps.ash.ms\n\n### Validate your data\nIf you're getting weird results inside Houdini, please feel free to open an issue and add the source file that you're trying to import, so that debugging will be easier. If want to double check that you GeoJSON files are written correctly and are using GPS coordinates I would suggest to use this website [http://geojson.io](http://geojson.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvvzen%2Fhoudini-geospatial-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvvzen%2Fhoudini-geospatial-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvvzen%2Fhoudini-geospatial-tools/lists"}