Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 19 22:55

    tommy-stone on master

    Created civic.json Created civ… (compare)

  • Jan 29 06:13
    milafrerichs added as member
  • Jan 29 06:13
    ttglennhall added as member
  • Jan 29 06:12
    MrMaksimize added as member
  • Jan 29 06:11
    rwithall added as member
  • Jan 29 06:11
    MeanestBossEver added as member
  • Jan 29 06:11
    jj0hns0n added as member
  • Jan 29 06:11
    flexed added as member
  • Jan 29 06:11
    eaddingtonwhite added as member
  • Jan 29 06:11
    cgiovando added as member
  • Jan 29 06:11
    cbaakel added as member
  • Jan 29 06:10
    bcipolli added as member
  • Jan 29 06:10
    ahempton added as member
  • Jan 29 06:10
    47ronin added as member
  • Nov 05 2015 20:17
    47ronin commented #11
  • Oct 02 2015 22:49

    47ronin on master

    Hard-coded Leaflet ref until 1.… Fixed default path so Search im… (compare)

  • Sep 16 2015 03:25

    cgiovando on master

    Adding GeoJSON files for SanGIS… (compare)

  • Sep 16 2015 03:14

    cgiovando on master

    Adding data from OpenStreetMap … (compare)

  • Sep 16 2015 03:01

    cgiovando on master

    Adding PDF metadata for SanGIS … (compare)

  • Sep 16 2015 02:55

    cgiovando on master

    Adding SanGIS data Adding 3 pa… (compare)

If hosted on Github pages and have the json file there, then we avoid CORS issues. See this discussion http://gis.stackexchange.com/questions/94113/using-geojson-hosted-on-github-from-leaflet-it-doesnt-work
We would need to set up a routine to extract from OSM daily. Or use API directly if we want to allow users to update data back into OSM
Glenn Batuyong
@47ronin
Will try it out to test features locally (w/ out CORS) before commiting upstream to GitHub
Glenn Batuyong
@47ronin
@cgiovando thanks I included the Angular Leaflet Directive as a project dependency and rebuilt the whole basic framework. Sorry I've been MIA.
At the very least I have a better idea how to do a lot of things (not that I'm any smarter haha)
James Villanueva
@enigma2522
Good Morning! Just wanted to say thanks for the great meeting last night. I am looking forward to being part of the team.
James Villanueva
@enigma2522
Do we have an idea of what our architecture will be? I've been looking around a bit this morning and I am seeing two themes Leaflet/Express/Node.JS/Postgres PostGIS and Leflet/Express/Node.js/MongoDB. Both methods seem to be very capable of hosting geospatial applications.
James Villanueva
@enigma2522
There is also a library call proj4leaflet https://github.com/kartena/Proj4Leaflet to do any geospatial conversion we might need to do. I noticed the San Diego GIS stuff is in State Plane and will most likely need to be converted to WGS84.
Cristiano Giovando
@cgiovando
Hey @enigma2522 and @swingley thanks for coming to the meetup last night! Yes, both Postgres and MongoDB can work with Leaflet through Node.js, but I'm wondering if we need that amount of db overhead for the parks app… Maybe simple GeoJSON or sqlite can do for now?
as for translating into WGS84, I think that’s something that can be done with an asyncronous worker every time we pull data from SanGIS
One thing we should set up - and @milafrerichs may have some direct experience in this - is a process that runs every week or so and extracts playground and park data from OSM
The plan is to use OSM as the conflation platform and use its data model for storing any information we may want to display on the app map
Cristiano Giovando
@cgiovando
@47ronin and @enigma2522 let me know when you have time to deploy the current code on gh or some other place, then we can start thinking what functions to add and direction to go with the UI
James Villanueva
@enigma2522
A feel a little lost on getting this up and running. I haven't used many of these tools in the past. I've installed NPM, Node, Bower, Angular, grunt-cli, Grunt, jit-grunt, and jshint. When I runt grunt serve in the directory, I am still getting complaints about: plugin for "clean" task not found. Any suggestions? Sorry, I will get better at this, but as of now I am a bit lost.
Cristiano Giovando
@cgiovando
No problem, and sorry for the lack of documentation. I’ll let @47ronin shed some light, since all the code is his work
At the same time if you feel like throwing together something else that is not node or angular based please send a PR and we’d be happy to look at it
James Villanueva
@enigma2522
@cgiovando You mentioned a geoprocessing library in passing last night at the meeting. What was the name of it?
Glenn Batuyong
@47ronin
Hi guys, it's actually a great idea if you believe we should rebuild it as a generic JavaScript project (jquery, for example). That way we can attract and retain a wider talent group. If you want to go this route, I'll be happy to "reformat" the repo as a Bootstrap/jquery setup.
Cristiano Giovando
@cgiovando
@enigma2522 was it Turf.js? http://turfjs.org
Hey @47ronin we discussed going with a simple js last night, as it may be easier for others to contribute. Did you see @enigma2522’s PR #8 ?
Glenn Batuyong
@47ronin
@cgiovando I agree.
James Villanueva
@enigma2522
@cgiovando Yes, it was Turf.js. Thanks!
James Villanueva
@enigma2522
I pushed a new change to my branch, Hopefully it is included in the pull request I put in before (Sorry new to Git). I made all of the references to libraries point to external sources. I figured this would make it easier for new users to deploy it. I also added a choice of an imagery basemap or a dark basemap. One of the attendees mentioned they would like to see a dark map. @cgiovando I also added a little marker for where you are currently located as you requested. If this isn't in git correctly, let me know and I will fix it.
Glenn Batuyong
@47ronin
We'll look at the pull request soon. Thank you for your continued efforts 👍
Glenn Batuyong
@47ronin
How do you take the pull request officially and merge only parts of it?
Glenn Batuyong
@47ronin
Using the Grunt gh-pages plugin to deploy from project build directly to gh-pages branch
Glenn Batuyong
@47ronin
@enigma2522 ’s changes have been merged into master. The whole project is now generic bootstrap with jquery to make it simpler.
Glenn Batuyong
@47ronin
UI for Parks has been fixed and @enigma2522 ’s functionality merged. I need a little more time to get gh-pages up and running using a proper method (sometimes "quick and dirty” must be avoided)
Cristiano Giovando
@cgiovando
Reporting from https://gitter.im/opensandiego/general it looks like the app is now deployed correctly at http://opensandiego.github.io/sd-playgrounds-parks/
:clap: @47ronin and @enigma2522
Is that the latest version from @enigma2522’s code? I remember it differen from his demo last week… it had the sort by distance and locator functions
I also came by this nice bootstrap+leaflet demo http://bmcbride.github.io/bootleaf/
Glenn Batuyong
@47ronin
I'm gonna try to merge the UI desig with the engineering now. Leaflet is flaky under Bower but now that a starting point is up now we can see results faster. Thanks for fixing DNS
Ooh I'll take a look at that tomorrow. Maybe they have 1.0.0b leaflet working in TWBS
Cristiano Giovando
@cgiovando
;-)
I don’t know much about Bower and TWBS :-| but please coordinate with @enigma2522
James Villanueva
@enigma2522
I haven't used Bower either. Why do we need it? I understand it does package management, but at this point I was hoping for something so simple that I could just drop it under my apache tomcat or even IIS directory and I'm up and running. What are the instructions for using bower?
Glenn Batuyong
@47ronin
Hi, please check the README.md as I've updated the documentation. See the area under "Installation" Hope that helps!
Glenn Batuyong
@47ronin
Basically you clone the repo anywhere on your PC. Go into directory, and as long as you have npm (NodeJS) and Bower installed, you can just type npm install and bower install …that will get all the dependencies for the project. Then type grunt serve which will spin up the site on http://localhost:9000
It will auto-reload the page whenever you edit and save your code
It also does a JS lint before reloading each time, which helps debug.
James Villanueva
@enigma2522
OK, I see. It still seems that requiring people to install node and bower just to run something this simple may be overkill at this point, but I'll leave that up to you.
Glenn Batuyong
@47ronin
A lot of this is standard workflow for distributed dev teams. A good primer that helped me when working on Code for America projects is here http://www.hongkiat.com/blog/yeoman-getting-started/ —which is a good example because it uses the same “scaffolding” that was used to create this app (webapp generator). The article explains why the workflow makes it simple to rapidly spin up an ad-hoc project, add libraries, and deploy, without having to worry about installing and configuring heavy servers like Apache/IIS. I might do a screencast on the basics. It will illustrate how anyone with Node downloaded can set up a full-blown dev and deploy environment in five minutes :smile:
Another helpful resource comes from this Google Developers presentation https://dl.dropboxusercontent.com/u/39519/talks/tok-workflow/index.html explaining front-end dev workflow and best practices. Great tips!
Glenn Batuyong
@47ronin
Leaflet 1.0.0 beta has a bug that affects our build ;( https://twitter.com/leafletjs/status/644025615960567808
That being said, I figured out the missing functionality… (wasn’t documented) —app requires leaflet-search plugin. I’ll try to compile in and add it to the package.json (or bower.json) as dependency.
Glenn Batuyong
@47ronin
Leaflet 1.0.0-b1 is hard-coded into the template now but we really need engineering help (leaflet expertise) getting the map working. There's an "undefined" call in our dev build.
Leaflet search is working, just need to get the main initialization for it all to function.