Skip to content
This repository has been archived by the owner on Jul 20, 2021. It is now read-only.

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

Closed
mapsam opened this issue Apr 19, 2014 · 35 comments
Closed

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

mapsam opened this issue Apr 19, 2014 · 35 comments

Comments

@mapsam
Copy link
Contributor

mapsam commented Apr 19, 2014

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
Copy link
Contributor Author

mapsam commented Apr 21, 2014

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

@darrell
Copy link
Member

darrell commented Apr 21, 2014

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 [email protected] 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
Copy link
Contributor Author

mapsam commented Apr 21, 2014

Sounds perfect!

@mapsam mapsam changed the title add more POIs to map! add more POIs to map via foss4g2014-tourguide repo Apr 21, 2014
@elil
Copy link
Contributor

elil commented Aug 4, 2014

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
Copy link
Member

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 [email protected] 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
#28 (comment)
.

@elil
Copy link
Contributor

elil commented Aug 5, 2014

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

@elil
Copy link
Contributor

elil commented Aug 5, 2014

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
Copy link
Member

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 [email protected] 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
#28 (comment)
.

@alexatodd
Copy link
Member

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 [email protected] 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
#28 (comment)
.

@twelch
Copy link
Contributor

twelch commented Aug 5, 2014

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

@elil
Copy link
Contributor

elil commented Aug 5, 2014

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
Copy link
Member

darrell commented Aug 5, 2014

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

On Aug 4, 2014, at 21:56, Tim Welch [email protected] 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
#28 (comment)
.

@elil
Copy link
Contributor

elil commented Aug 5, 2014

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
Copy link
Contributor

elil commented Aug 5, 2014

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

@darrell
Copy link
Member

darrell commented Aug 5, 2014

Oh, carry on.

On Aug 4, 2014, at 22:00, Eli L Adam [email protected] 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
#28 (comment)
.

@alexatodd
Copy link
Member

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 [email protected] wrote:

Oh, carry on.

On Aug 4, 2014, at 22:00, Eli L Adam [email protected] 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
#28 (comment)
.

@geografa
Copy link

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
Copy link
Contributor

twelch commented Aug 20, 2014

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 [email protected] 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
#28 (comment)
.

@elil
Copy link
Contributor

elil commented Aug 20, 2014

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
Copy link

haha - what Eli said.

Very cute.

@mattsayler
Copy link

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 [email protected]
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
#28 (comment)
.

@darrell
Copy link
Member

darrell commented Aug 20, 2014

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 [email protected] 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 [email protected]
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
#28 (comment)
.


Reply to this email directly or view it on GitHub.

@twelch
Copy link
Contributor

twelch commented Aug 20, 2014

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 [email protected]
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 [email protected]
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
#28 (comment)
.

@geografa
Copy link

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

@mattsayler
Copy link

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 [email protected]
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 [email protected]
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 [email protected]
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
#28 (comment)
.

@geografa
Copy link

@mattsayler link to FULL MAP will be prominent :)

@geografa
Copy link

@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
Copy link
Member

darrell commented Aug 20, 2014

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

d.

On Aug 20, 2014, at 12:41, geografa [email protected] 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
Copy link
Contributor

twelch commented Aug 20, 2014

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 [email protected] wrote:

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

d.

On Aug 20, 2014, at 12:41, geografa [email protected] 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
#28 (comment)
.

@geografa
Copy link

Sorry, only issue I see is this: #33 /cc @svmatthews

@mattsayler
Copy link

Go for it.

On Wed, Aug 20, 2014 at 12:48 PM, Tim Welch [email protected]
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 [email protected]
wrote:

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

d.

On Aug 20, 2014, at 12:41, geografa [email protected] 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
#28 (comment)
.

@twelch
Copy link
Contributor

twelch commented Aug 20, 2014

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

@geografa
Copy link

Awesome.

On Wednesday, August 20, 2014, Tim Welch [email protected] 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
#28 (comment)
.

Rafa Gutierrez
[email protected]

@geografa
Copy link

geografa commented Sep 4, 2014

@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
Copy link
Contributor

twelch commented Sep 6, 2014

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.

@twelch twelch closed this as completed Sep 6, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants