OpenGeoscience / geoweb

Open source geoscience tools and applications
8 stars 3 forks source link

Allow reading shapefile into geojs #140

Open aashish24 opened 10 years ago

aashish24 commented 10 years ago

Daniel is working on it.

cjh1 commented 10 years ago

PolyK library is being included, its MIT licence, is that compatible we our license?

aashish24 commented 10 years ago

MIT is fine.

cjh1 commented 10 years ago

When trying to load the folllowing shapefile ( http://dds.cr.usgs.gov/pub/data/nationalatlas/statesp020_nt00032.tar.gz )

Uncaught PointError: poly2tri Intersecting Constraints (-162.9388427734375;67.04722595214844) (-162.94203186035156;67.04574584960938) (-162.9432830810547;67.0461654663086) (-162.93247985839844;67.044677734375)

cjh1 commented 10 years ago

Tried with another shapefile ( http://www.nyc.gov/html/dcp/download/bytes/nyad_13a.zip ) and got the following error:

Uncaught PointError: poly2tri EdgeEvent: Collinear not supported! (958757.482421875;157637.5447998047) (958779.2194213867;157602.05340576172) (958779.2194213867;157602.05340576172)