shp.js — JavaScript Shapefile Parser

Uses three.js to render the shapefile onscreen.

shp.js Source (GitHub) →
shp.js Demo →

Published by Bramus!

Bramus is a frontend web developer from Belgium, working as a Chrome Developer Relations Engineer at Google. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)

Join the Conversation

1 Comment

  1. Dear Bram,
    I am currently using your code in a project (https://github.com/theworldisnotflat/shriveling_world) and need to modify it so that the continents will be extruded to form some kind of continental plates. I a fighting to modify the line 79 in the file shp_three.js into this:
    var geo = shape.extrude({amount: 100, bevelEnabled: false});
    But the result is disappointing: nothing changes.
    Could you help me solve this issue?
    best regards,
    Alain

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.