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

7 Commits

Author SHA1 Message Date
Marc Harter
ad2ca227e8 Merge pull request #11 from mcclintock-lab/add-worker-jsroot
Add jsRoot constructor option
2013-09-09 16:38:29 -07:00
Marc Harter
da6c4a8cf3 Merge pull request #10 from mcclintock-lab/support-for-points
Fixed support for Point datasets
2013-09-09 16:37:35 -07:00
Chad Burt
c4cf216ec4 Add jsRoot constructor option
Workers were being constructed with a hardcoded path of
'shapefile.js'. The new jsRoot option can be used to
specify an alternate location. For example:

  shapefile = new Shapefile({
      shp: "testdata/world.shp",
      dbf: "testdata/world.dbf",
      jsRoot: '/js-shapefile-to-geojson/'
  }, function(data) ...
2013-09-09 16:07:10 -07:00
Chad Burt
825ce8af25 Fixed support for Point datasets
While some support existed, an attempt was being
made to create an unnecessary(?) bounding box for
each point feature. Also swapped access of the x,y
coordinates from record.geometry.x|y to record.x|y.
2013-09-09 15:45:38 -07:00
Chad Burt
30d3272537 Ensuring callback provided to Shapefile constructor is executed even if a dbf file is not provided 2013-09-09 15:30:01 -07:00
Marc Harter
8296e85e27 !-fixed issue w/ polygon holes, new testdata 2010-08-14 13:20:00 -05:00
Marc Harter
e0aa06ff45 *-initial commit 2010-07-30 17:25:21 -05:00