I am looking for a way to create isometric 3D maps based on data stored in a PostGIS database.

My idea is to create a PostGIS function that will return a SVG image like the one below. It is easy to do for a 2D image using ST_AsSVG and some math to position the map, but I don't know how to "rotate" the map to add some perspective, then "extrude" the contours to add volume. Any help is welcome !

enter image description here

  • For the perspective view you can use tpers as stated in this answer. It comes with proj.4 so it should be supported by PostGIS. For the extrusion part I really don't know
    – plablo09
    Sep 2, 2015 at 0:53
  • 1
    Do you truly want an isometric 3D projection or just 3D? Not trying to nitpick, but those are different things and your example doesn't appear to be isometric. Sep 2, 2015 at 11:14
  • This is almost certainly best left to software that's meant for rendering geometry, rather than a spatial database for storing and querying geometry. PostGIS can be used to create a 3D geometry, however. Nov 8, 2015 at 1:39


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.