OpenCLTBrigade / adopt-a-street

Adopt A Street
1 stars 8 forks source link

Prototype for street selection #46

Closed AtnNn closed 8 years ago

AtnNn commented 8 years ago

I wrote this code after talking to @SundayFunday about the project. Here's a pull request so it doesn't get lost.

This is still missing a lot of functionality:

tannerhodges commented 8 years ago

Awesome work @AtnNn. I'll check this out over the weekend.

tannerhodges commented 8 years ago

@AtnNn Sorry it took me so long for this—looks great! Segmenting the street data was definitely our biggest hurdle. Thanks for this.

Having trouble installing spatialite. Any tips? Running OS X, tried installing proj.4 and libgeos but still getting:

configure: error: 'libproj' is required but it doesn't seem to be installed on this system.

Found a couple notes in Google Groups but haven't had time to read through it all yet.

Btw, where'd you find this mapping software? Found a lot of cool stuff from it, like this guy: http://timogrossenbacher.ch/ Beautiful projects.

Thanks again. Excited to have you on the project.

AtnNn commented 8 years ago

I believe spatialite is available through homebrew or macports on OS X.

I found spatialite while looking for a lightweight version of postgis. It can also do routing which might be useful.

tannerhodges commented 8 years ago

Ah, I'm an idiot—was searching cask instead of brew. Looks like this is all I need then:

brew install libspatialite spatialite-tools gdal
npm install -g ogr2ogr

2 more questions:

AtnNn commented 8 years ago

I think that tutorial is pretty good. There's also https://www.gaia-gis.it/fossil/libspatialite/wiki?name=misc-docs and http://www.gaia-gis.it/gaia-sins/spatialite-sql-4.3.0.html

I have not used spatialite-gui yet. I've been using qgis, which can read spatialite files.