• Stars
    star
    205
  • Rank 191,264 (Top 4 %)
  • Language
    JavaScript
  • Created about 15 years ago
  • Updated about 13 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A binary shapefile loader and canvas-based renderer, for javascript. Many caveats.
A binary shapefile loader and canvas-based renderer, for javascript. Many caveats:

Seems best in Safari... times out in IE and in Firefox 3.5 with large files. 
Does the dumbest thing possible and reads entire shp and dbf files in one go.
Error checking is strange (needs testing with more known-good files). 
Implies that it's a good idea to load large binary files over the network. 
Only supports a small subset of shapes.
Is almost entirely negligent of the format specifications.
Doesn't do anything much apart from proof of concept.

http://www.nihilogic.dk/labs/binaryajax/binaryajax.js is used for loading binary data via XMLHttpRequest
http://code.google.com/p/vanrijkom-flashlibs/ was ported to js from actionscript
http://code.google.com/p/explorercanvas/ is used for IE support

dbf.js and shapefile.js are close relatives of the vanrijkom-libs code and as such are LGPL v2 as well
binarywrapper.js is new, to support parsing doubles and to keep track of binary offsets and endianness

excanvas.js is under Apache License 2.0
binaryajax.js is under MPL

world borders shapefile is from http://thematicmapping.org/downloads/world_borders.php licensed CC-BY-SA 3.0

More Repositories

1

modestmaps-processing

BSD-licensed display and interaction library for tile-based maps in Processing
Java
50
star
2

processing-gpx

a library to read GPX files (XML format for GPS data) using Processing
Java
46
star
3

mind-gapper-js

Picking apart http://www.gapminder.org/world/ and rebuilding it in Javascript.
JavaScript
44
star
4

js-vector-maps

mapnik-esque javascript classes for rendering OpenStreetMap data using <canvas>
JavaScript
32
star
5

modestmaps-of

Modest Maps for OpenFrameworks
C++
31
star
6

modestmaps-cinder

Modest Maps for Cinder
C++
23
star
7

travel-time-tube-d3

A port of my popular Processing map to D3.js
JavaScript
19
star
8

nodemap

quick map tile renderer for nodejs camp
JavaScript
14
star
9

heroku-www-redirect

A teeny tiny app that you can deploy to Heroku to redirect http://example.com to http://www.example.com
PHP
8
star
10

processing-arcball

A library for intuitive and robust rotation of a 3D scene using the mouse in Processing
Java
5
star
11

suncalc-api

A node.js HTTPony for @mourner's suncalc library
JavaScript
5
star
12

flickr-conduit-front

A fork of Nolan Caudill's flickr-conduit demo site, modified to deploy on Heroku.
PHP
4
star
13

singly-tyrekickr

Kicking the tyres on Singly's new API.
JavaScript
3
star
14

apimaps

the code that powers apimaps.org
PHP
3
star
15

runboxer

Proof of concept for backing up GPS logs from RunKeeper to Dropbox
JavaScript
3
star
16

gotour-solutions

My crufty solutions to the Go Tour exercises. Comments/improvements welcome. I was on a plane so I didn't have wifi or documentation!
Go
2
star
17

css-deps

Walks CSS and LESS files and outputs paths to any url() dependencies found.
JavaScript
2
star
18

css-md5

Walks CSS files and replaces contents of url() dependencies with paths to a CDN.
1
star