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:
parent
f9304dbd3c
commit
b80bafe3f8
@ -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);
|
||||||
|
1
testdata/110m-geography-marine-polys.prj
vendored
1
testdata/110m-geography-marine-polys.prj
vendored
@ -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]]
|
|
BIN
testdata/110m-geography-marine-polys.sbn
vendored
BIN
testdata/110m-geography-marine-polys.sbn
vendored
Binary file not shown.
BIN
testdata/110m-geography-marine-polys.sbx
vendored
BIN
testdata/110m-geography-marine-polys.sbx
vendored
Binary file not shown.
BIN
testdata/110m-geography-marine-polys.shx
vendored
BIN
testdata/110m-geography-marine-polys.shx
vendored
Binary file not shown.
BIN
testdata/TM_WORLD_BORDERS_SIMPL-0.3.dbf
vendored
BIN
testdata/TM_WORLD_BORDERS_SIMPL-0.3.dbf
vendored
Binary file not shown.
1
testdata/TM_WORLD_BORDERS_SIMPL-0.3.prj
vendored
1
testdata/TM_WORLD_BORDERS_SIMPL-0.3.prj
vendored
@ -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]]
|
|
BIN
testdata/TM_WORLD_BORDERS_SIMPL-0.3.shp
vendored
BIN
testdata/TM_WORLD_BORDERS_SIMPL-0.3.shp
vendored
Binary file not shown.
BIN
testdata/TM_WORLD_BORDERS_SIMPL-0.3.shx
vendored
BIN
testdata/TM_WORLD_BORDERS_SIMPL-0.3.shx
vendored
Binary file not shown.
Loading…
Reference in New Issue
Block a user