Jump to content

GeoJSON Importer

Recommended Posts

Hi All,

If you need to work with Geo-Spatial data on a regular basis like I do, you might be interested in the GeoJSON Importer (SOP HDA) that I have started developing. You can grab it from here:


Some basic Info on the Importer:

Houdini Geographic Tools

Custom Python GeoJSON importer Digital Asset for Houdini (HDA). This importer reads GeoJSON files only. GeoJSON is quickly becoming the standard geo-spatial interchange format and can store point, line and polygonal features with associated attributes. The GeoJSON standard can be found here:



This importer only works with projected coordinate systems. An explanation of the difference between projected and geographic coordinate systems can be found here:


The importer also requires that any NULL or EMPTY attributes, which are allowable in many GIS systems, are mapped to -9999. This will ensure that when the attributes are written in Houdini they can be stored as either 0 for numbers and '' for strings.

NOTE: Polygon/Primitive Holes (known as donuts in GIS) have not been implemented in the importer at this stage.

Data Prep

To prepare you data and convert your spatial files to GeoJSON I recommend using QGIS:


OR if you can get your hands on a licence give FME a go:



This HDA is a SOP based asset.

'GeoJSON File channel' is used to point to the desired GeoJSON File for importing.

If you want to import many GeoJSON files in the right location relative to each other just drop down a new Import GeoJSON node, toggle on 'Use Reference Features' and point the 'Reference Features' channel to the desired Import GeoJSON node.

The attached images show the Importer in action.

I hope you find this useful and please send through any suggestions you have!



Edited by Wooshum
  • Like 3

Share this post

Link to post
Share on other sites

Very generous of you... looks great and knowing how obscure and convoluted GIS is this surely wlll be a great asset. Thanks... I hope I have a bit of time to play with geospatial data soon.

Any resource you recommend to get some sample data? thanks

Edited by jordibares

Share this post

Link to post
Share on other sites

Hi Wooshum.

It seems you've removed that HDA prroject from the links you've shared.

I'm looking for those for one research project.

Can you PM me in order to get it back please.

Have a nice day.

Share this post

Link to post
Share on other sites

A note to all, the original GitHub repo has been removed due to inactivity. I have dumped the underlying python import script into a GIST here:


From a production point of view I moved to using a custom transformer in FME that writes out the geometry and attributes to a Houdini .geo file directly. The benefit of this process is that FME can ingest pretty much any GIS format (and more). This simplifies the process on the Houdini end. You can check this out here:


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now