pdxosgeo / foss4g2014-wordpress

foss4g2014 website theme and other tidbits
12 stars 32 forks source link

add more POIs to map via foss4g2014-tourguide repo #28

Closed mapsam closed 10 years ago

mapsam commented 10 years ago

The homepage map can now take on multiple POIs for people to add to the map via the geojson variable in the main.js file. Need to add a few more style as we get a more diverse set of points, but that can come once we actually have them.

mapsam commented 10 years ago

Could we add restaurants and/or watering holes? Or is that getting too particular and subjective?

darrell commented 10 years ago

There’s a group that’s starting to write up that stuff. See the foss4g2014-tourguide repo.

Let’s wait for them to be ready, and then we can put that map on the appropriate page. Sound good?

On Apr 21, 2014, at 12:36, Sam Matthews notifications@github.com wrote:

Could we add restaurants and/or watering holes? Or is that getting too particular and subjective?

— Reply to this email directly or view it on GitHub.

mapsam commented 10 years ago

Sounds perfect!

elil commented 10 years ago

I'm not sure of the progress on this, but here are restaurants, https://github.com/pdxosgeo/foss4g2014-tourguide/blob/master/spatialdata/PortlandRestaurants.geojson

alexatodd commented 10 years ago

I just updated the restaurants...I think I had them saved in the wrong folder. (sorry new to GitHub)

On Mon, Aug 4, 2014 at 7:24 AM, Eli L Adam notifications@github.com wrote:

I'm not sure of the progress on this, but here are restaurants, https://github.com/pdxosgeo/foss4g2014-tourguide/blob/master/spatialdata/PortlandRestaurants.geojson

— Reply to this email directly or view it on GitHub https://github.com/pdxosgeo/foss4g2014-wordpress/issues/28#issuecomment-51066430 .

elil commented 10 years ago

Does the Icon file have illegal (on windows) characters in the name or extension? I'm having a little trouble with it.

elil commented 10 years ago

Restaurants.geojson might not be in WGS 84. If you have GDAL/OGR around, you can reproject it like: ogr2ogr -t_srs EPSG:4326 -f geojson -lco COORDINATE_PRECISION=5 Restaurants_output_name.geojson input_file

alexatodd commented 10 years ago

I saved the shapefile as a GeoJSON again. Hopefully this time it worked.

On Mon, Aug 4, 2014 at 9:04 PM, Eli L Adam notifications@github.com wrote:

Does the Icon file have illegal (on windows) characters in the name or extension? I'm having a little trouble with it.

— Reply to this email directly or view it on GitHub https://github.com/pdxosgeo/foss4g2014-wordpress/issues/28#issuecomment-51147595 .

alexatodd commented 10 years ago

The dataset is in NAD84. I don't know how to re-project using QGIS. I'll bring my computer to MapTime tomorrow and see if someone can help me.

:-)

On Mon, Aug 4, 2014 at 9:34 PM, Eli L Adam notifications@github.com wrote:

Restaurants.geojson might not be in WGS 84. If you have GDAL/OGR around, you can reproject it like: ogr2ogr -t_srs EPSG:4326 -f geojson -lco COORDINATE_PRECISION=5 Restaurants_output_name.geojson input_file

— Reply to this email directly or view it on GitHub https://github.com/pdxosgeo/foss4g2014-wordpress/issues/28#issuecomment-51149156 .

twelch commented 10 years ago

@alexatodd In QGIS I think you can right click the data layer, save as, select geographic coordinate system WGS 84.

elil commented 10 years ago

To export to geojson from QGIS and reproject, you can right click the layer, choose "save as" and then fill out the screen like this:
geojson_export

Note the "Selected CRS" and "WGS 84" (found through "browse" and then typing "4326" in "filter" - if you know EPSG:4326 is WGS 84 it helps)

QGIS is actually using the OGR command too, QGIS is just a little more friendly about it.

To check the coordinates/projection of the geojson file, any text editor will do. Look for the coordinate in the geometry section: geojson_text

darrell commented 10 years ago

Is the difference between nad83 and wgs84 meaningful at the scale?

On Aug 4, 2014, at 21:56, Tim Welch notifications@github.com wrote:

@alexatodd https://github.com/alexatodd In QGIS I think you can right click the data layer, save as, select geographic coordinate system WGS 84.

— Reply to this email directly or view it on GitHub https://github.com/pdxosgeo/foss4g2014-wordpress/issues/28#issuecomment-51150005 .

elil commented 10 years ago

You can also delete the original geojson file and then save with the same name. Then git and github will track the revisions (instead of more files).

elil commented 10 years ago

darrell: It is not datum (probably doesn't matter). It is state plane vs. geographic.

darrell commented 10 years ago

Oh, carry on.

On Aug 4, 2014, at 22:00, Eli L Adam notifications@github.com wrote:

darrell: It is not datum (probably doesn't matter). It is state plane vs. geographic.

— Reply to this email directly or view it on GitHub https://github.com/pdxosgeo/foss4g2014-wordpress/issues/28#issuecomment-51150151 .

alexatodd commented 10 years ago

Thanks, all! I think I got it this time. Didn't realize it was that easy!

On Mon, Aug 4, 2014 at 10:02 PM, darrell notifications@github.com wrote:

Oh, carry on.

On Aug 4, 2014, at 22:00, Eli L Adam notifications@github.com wrote:

darrell: It is not datum (probably doesn't matter). It is state plane vs. geographic.

— Reply to this email directly or view it on GitHub < https://github.com/pdxosgeo/foss4g2014-wordpress/issues/28#issuecomment-51150151>

.

— Reply to this email directly or view it on GitHub https://github.com/pdxosgeo/foss4g2014-wordpress/issues/28#issuecomment-51150225 .

geografa commented 10 years ago

Hey all, out of the loop but where does this stand? I've got a map started here we can just drop this onto the map or make a source with Mapbox Studio. Do we really need all those restaurants or can this be whittled down? /cc @elil @alexatodd @darrell

twelch commented 10 years ago

I'm out of the loop too but would like to be a part of the loop.

+1 to whittling and refining the POI's.

What would Mapbox Studio buy us at this point Rafa? Styling surely. Can we create and manage a point layer with it like dd/edit/remove points? Thanks.

Restaurants are cool. I had a thought to create a "Keep Portland Weird" category fun quirky things that people would enjoy checking out in and around the venues.

On Wed, Aug 20, 2014 at 11:22 AM, geografa notifications@github.com wrote:

Hey all, out of the loop but where does this https://github.com/pdxosgeo/foss4g2014-tourguide stand? I've got a map started here https://a.tiles.mapbox.com/v4/grafa.j88kd98g/page.html?access_token=pk.eyJ1IjoiZ3JhZmEiLCJhIjoiU2U2QnIzUSJ9.4LnG05Ptvi1sUQ8t68rfgw#17/45.52802/-122.66291 we can just drop this onto the map or make a source with Mapbox Studio. Do we really need all those restaurants or can this be whittled down? /cc @elil https://github.com/elil @alexatodd https://github.com/alexatodd @darrell https://github.com/darrell

— Reply to this email directly or view it on GitHub https://github.com/pdxosgeo/foss4g2014-wordpress/issues/28#issuecomment-52819823 .

elil commented 10 years ago

I'm not in the loop either. If @geografa and @twelch want to run with it that is fine by me.

@geografa I love the birds on the map! We can consider birds (smaller birds?) at the Eliot Center (code sprint), WFC (Gala night), Ecotrust (opening party)... other?

@twelch I would also like to add other iconic points of interest (Powell's, Voodoo, etc)

tchaddad commented 10 years ago

haha - what Eli said.

Very cute.

mattsayler commented 10 years ago

I think the loop collapsed when it became clear the map Darrell wanted made was for the printed program, not the website. That led to figuring out the dimensions were too small to include anything more than essential info.

BUT, I think an upgrade to the map is still on the wishlist, and Rafa has made a good start. +1 for Rafa and Tim going to town.

Personally, I think we should adjust the max dimensions of the map on the homepage too. It's not very tall on a wide screen monitor.

On Wed, Aug 20, 2014 at 12:06 PM, Eli L Adam notifications@github.com wrote:

I'm not in the loop either. If @geografa https://github.com/geografa and @twelch https://github.com/twelch want to run with it that is fine by me.

@geografa https://github.com/geografa I love the birds on the map! We can consider birds (smaller birds?) at the Eliot Center (code sprint), WFC (Gala night), Ecotrust (opening party)... other?

@twelch https://github.com/twelch I would also like to add other iconic points of interest (Powell's, Voodoo, etc)

— Reply to this email directly or view it on GitHub https://github.com/pdxosgeo/foss4g2014-wordpress/issues/28#issuecomment-52828000 .

darrell commented 10 years ago

It can be on the website, too. Just pointed out that we needed a print version.

The map code can be changed here: https://github.com/pdxosgeo/foss4g2014-wordpress/blob/master/themes/foss4g-theme/js/home-map.js

On Aug 20, 2014, at 12:15, Matt Sayler notifications@github.com wrote:

I think the loop collapsed when it became clear the map Darrell wanted made was for the printed program, not the website. That led to figuring out the dimensions were too small to include anything more than essential info.

BUT, I think an upgrade to the map is still on the wishlist, and Rafa has made a good start. +1 for Rafa and Tim going to town.

Personally, I think we should adjust the max dimensions of the map on the homepage too. It's not very tall on a wide screen monitor.

On Wed, Aug 20, 2014 at 12:06 PM, Eli L Adam notifications@github.com wrote:

I'm not in the loop either. If @geografa https://github.com/geografa and @twelch https://github.com/twelch want to run with it that is fine by me.

@geografa https://github.com/geografa I love the birds on the map! We can consider birds (smaller birds?) at the Eliot Center (code sprint), WFC (Gala night), Ecotrust (opening party)... other?

@twelch https://github.com/twelch I would also like to add other iconic points of interest (Powell's, Voodoo, etc)

— Reply to this email directly or view it on GitHub https://github.com/pdxosgeo/foss4g2014-wordpress/issues/28#issuecomment-52828000 .

— Reply to this email directly or view it on GitHub.

twelch commented 10 years ago

I like the simplicity of the home page map being focused on the few main venues. Perhaps we can link to an expanded points of interest map a la what Rafa has started.

On Wed, Aug 20, 2014 at 12:15 PM, Matt Sayler notifications@github.com wrote:

I think the loop collapsed when it became clear the map Darrell wanted made was for the printed program, not the website. That led to figuring out the dimensions were too small to include anything more than essential info.

BUT, I think an upgrade to the map is still on the wishlist, and Rafa has made a good start. +1 for Rafa and Tim going to town.

Personally, I think we should adjust the max dimensions of the map on the homepage too. It's not very tall on a wide screen monitor.

On Wed, Aug 20, 2014 at 12:06 PM, Eli L Adam notifications@github.com wrote:

I'm not in the loop either. If @geografa https://github.com/geografa and @twelch https://github.com/twelch want to run with it that is fine by me.

@geografa https://github.com/geografa I love the birds on the map! We can consider birds (smaller birds?) at the Eliot Center (code sprint), WFC (Gala night), Ecotrust (opening party)... other?

@twelch https://github.com/twelch I would also like to add other iconic points of interest (Powell's, Voodoo, etc)

— Reply to this email directly or view it on GitHub < https://github.com/pdxosgeo/foss4g2014-wordpress/issues/28#issuecomment-52828000>

.

— Reply to this email directly or view it on GitHub https://github.com/pdxosgeo/foss4g2014-wordpress/issues/28#issuecomment-52829227 .

geografa commented 10 years ago

@twelch agree. That map works great. Let's link off to another map and iframe it into another page. Keep it simple.

mattsayler commented 10 years ago

Yeah, a separate page works. It's just that I'd rather shove it in peoples' faces cuz it's gonna be awesome. :-)

On Wed, Aug 20, 2014 at 12:30 PM, Tim Welch notifications@github.com wrote:

I like the simplicity of the home page map being focused on the few main venues. Perhaps we can link to an expanded points of interest map a la what Rafa has started.

On Wed, Aug 20, 2014 at 12:15 PM, Matt Sayler notifications@github.com wrote:

I think the loop collapsed when it became clear the map Darrell wanted made was for the printed program, not the website. That led to figuring out the dimensions were too small to include anything more than essential info.

BUT, I think an upgrade to the map is still on the wishlist, and Rafa has made a good start. +1 for Rafa and Tim going to town.

Personally, I think we should adjust the max dimensions of the map on the homepage too. It's not very tall on a wide screen monitor.

On Wed, Aug 20, 2014 at 12:06 PM, Eli L Adam notifications@github.com wrote:

I'm not in the loop either. If @geografa https://github.com/geografa

and @twelch https://github.com/twelch want to run with it that is fine by me.

@geografa https://github.com/geografa I love the birds on the map! We can consider birds (smaller birds?) at the Eliot Center (code sprint), WFC (Gala night), Ecotrust (opening party)... other?

@twelch https://github.com/twelch I would also like to add other iconic points of interest (Powell's, Voodoo, etc)

— Reply to this email directly or view it on GitHub <

https://github.com/pdxosgeo/foss4g2014-wordpress/issues/28#issuecomment-52828000>

.

— Reply to this email directly or view it on GitHub < https://github.com/pdxosgeo/foss4g2014-wordpress/issues/28#issuecomment-52829227>

.

— Reply to this email directly or view it on GitHub https://github.com/pdxosgeo/foss4g2014-wordpress/issues/28#issuecomment-52831355 .

geografa commented 10 years ago

@mattsayler link to FULL MAP will be prominent :)

geografa commented 10 years ago

@twelch you want to handle wrangling the GeoJSON and I'll tidy up the base map? We just need categories to map on - lat,long, name, category, other? The rest we can do with JavaScript and some custom icon wizardry. We can use something like the Store Locator.

And we can worry about print last - Mapbox Studio exports hi-res now (600ppi). @darrell do you have dimensions for the final map on the brochure?

darrell commented 10 years ago

We’ve already had someone working on the print map. Checkout the archives.

d.

On Aug 20, 2014, at 12:41, geografa notifications@github.com wrote:

@twelch you want to handle wrangling the GeoJSON and I'll tidy up the base map? We just need categories to map on - lat,long, name, category, other? The rest we can do with JavaScript and some custom icon wizardry. We can use something like the Store Locator.

And we can worry about print last - Mapbox Studio exports hi-res now (600ppi). @darrell do you have dimensions for the final map on the brochure?

— Reply to this email directly or view it on GitHub.

twelch commented 10 years ago

Would be great to crowdsource the locations. what do folks think about using the Mapbox add-on for Google Docs?

https://www.mapbox.com/blog/mapping-google-doc-spreadsheet/

On Wed, Aug 20, 2014 at 12:43 PM, darrell notifications@github.com wrote:

We’ve already had someone working on the print map. Checkout the archives.

d.

On Aug 20, 2014, at 12:41, geografa notifications@github.com wrote:

@twelch you want to handle wrangling the GeoJSON and I'll tidy up the base map? We just need categories to map on - lat,long, name, category, other? The rest we can do with JavaScript and some custom icon wizardry. We can use something like the Store Locator.

And we can worry about print last - Mapbox Studio exports hi-res now (600ppi). @darrell do you have dimensions for the final map on the brochure?

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/pdxosgeo/foss4g2014-wordpress/issues/28#issuecomment-52832914 .

geografa commented 10 years ago

Sorry, only issue I see is this: https://github.com/pdxosgeo/foss4g2014-wordpress/issues/33 /cc @svmatthews

mattsayler commented 10 years ago

Go for it.

On Wed, Aug 20, 2014 at 12:48 PM, Tim Welch notifications@github.com wrote:

Would be great to crowdsource the locations. what do folks think about using the Mapbox add-on for Google Docs?

https://www.mapbox.com/blog/mapping-google-doc-spreadsheet/

On Wed, Aug 20, 2014 at 12:43 PM, darrell notifications@github.com wrote:

We’ve already had someone working on the print map. Checkout the archives.

d.

On Aug 20, 2014, at 12:41, geografa notifications@github.com wrote:

@twelch you want to handle wrangling the GeoJSON and I'll tidy up the base map? We just need categories to map on - lat,long, name, category, other? The rest we can do with JavaScript and some custom icon wizardry. We can use something like the Store Locator.

And we can worry about print last - Mapbox Studio exports hi-res now (600ppi). @darrell do you have dimensions for the final map on the brochure?

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub < https://github.com/pdxosgeo/foss4g2014-wordpress/issues/28#issuecomment-52832914>

.

— Reply to this email directly or view it on GitHub https://github.com/pdxosgeo/foss4g2014-wordpress/issues/28#issuecomment-52833602 .

twelch commented 10 years ago

@geografa I think he meant the email archives. A series of 3 maps created using QGIS and Inkscape is being finalized.

geografa commented 10 years ago

Awesome.

On Wednesday, August 20, 2014, Tim Welch notifications@github.com wrote:

@geografa https://github.com/geografa I think he meant the email archives. A series of 3 maps created using QGIS and Inkscape is being finalized.

— Reply to this email directly or view it on GitHub https://github.com/pdxosgeo/foss4g2014-wordpress/issues/28#issuecomment-52833933 .

Rafa Gutierrez support@mapbox.com

geografa commented 10 years ago

@twelch time tonight to hack on this? Getting close to final basemap with main POIs https://a.tiles.mapbox.com/v4/grafa.jdib780o/page.html?access_token=pk.eyJ1IjoiZ3JhZmEiLCJhIjoiU2U2QnIzUSJ9.4LnG05Ptvi1sUQ8t68rfgw#14/45.5183/-122.6634 We can do the Foursquare POI thing or make our own.

twelch commented 10 years ago

Energy has shifted to this new map (https://github.com/pdxosgeo/foss4g-map). It's plugged in as a 'View More' link on the main POI map on the FOSS4G home page. It's a combination of Jason Sanford's map setup with @geografa's base map.

People should add more interesting POI's.