1
0
mirror of https://github.com/wavded/js-shapefile-to-geojson synced 2024-11-23 14:34:54 +00:00

*-cleaned up test page and data

This commit is contained in:
Marc Harter 2010-07-31 11:47:07 -05:00
parent f9304dbd3c
commit b80bafe3f8
11 changed files with 4 additions and 6 deletions

View File

@ -1,7 +1,7 @@
<!doctype html> <!doctype html>
<html> <html>
<head> <head>
<title>Binary Test</title> <title>Test Page</title>
<style> <style>
html, body, #map { html, body, #map {
height: 100%; height: 100%;
@ -10,15 +10,15 @@
</style> </style>
</head> </head>
<body> <body>
<div id="map"></div> <div id="map">See Console Logs</div>
<script src="stream.js"></script> <script src="stream.js"></script>
<script src="shapefile.js"></script> <script src="shapefile.js"></script>
<script src="dbf.js"></script> <script src="dbf.js"></script>
<script type="text/javascript"> <script type="text/javascript">
var starttime = +new Date, var starttime = +new Date,
shapefile = new Shapefile({ shapefile = new Shapefile({
shp: "testdata/TM_WORLD_BORDERS_SIMPL-0.3.shp", shp: "testdata/testshape.shp",
dbf: "testdata/TM_WORLD_BORDERS_SIMPL-0.3.dbf" dbf: "testdata/testshape.dbf"
}, function(data){ }, function(data){
console.log("took",new Date - starttime,"milliseconds") console.log("took",new Date - starttime,"milliseconds")
console.log(data); console.log(data);

View File

@ -1 +0,0 @@
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1 +0,0 @@
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]

Binary file not shown.

Binary file not shown.