What about a map of Poppys?


#1

Not necessarly a forum feature, a world map of Poppys could be something interesting.

Vincent Marce suggested on fablab-fr ml the idea of sharing a Poppy for labs which are close enough for that.
Following that idea we could use a map on which we can pin our Poppy and in which range we would be ok to share it.
We could also precise the build progress for those making one.


#2

Really good idea.

Do you have an idea about the techno you would like to use ? Something like Google Map ?


#3

I am not an expert in such techno.

Effectively I already used Google Map Engine : https://mapsengine.google.com/map .
Could be inserted on a wrapper page.
You can add data fields for each pin and you can share the map so that people contribute.

I wonder if the same can be done with OpenStreetMap : http://openstreetmap.fr/utiliser .


#4

I guess it could also be done using github visualization tools (github.com/blog/1528-there-s-a-map-for-that). They use OSM behind the scene.


#5

Really nice tool which is in addition adapted to our wiki techno (hosted on github).

Here is an example displaying geographic areas : https://github.com/smartchicago/chicago-atlas/blob/master/db/import/zipcodes.geojson


#6

Here is an example of how it works: https://gist.github.com/omangin/fa5de41341c613a03c55. Various information can be added into the properties fields. They are displayed on click.

I guess a list of recommended information could be useful. To start:

  • owner
  • full address
  • contact
  • version / model
  • assembly date

Also it seems possible to display the same information in google map:
https://developers.google.com/maps/documentation/javascript/examples/layer-data-simple


Meeting other members
#7

I forget to mention that the file should be moved to either the wiki github repo or its own repo. The edition workflow would hence be the same as for the wiki, that is: fork, edit, pull request.

Also the file can be embedded in any page as follows:

<script src="https://gist.github.com/omangin/fa5de41341c613a03c55.js"></script>

I updated the map to add other poppys. The file looks like that:

{"type": "FeatureCollection",                                                                             
 "features": [
   {"type": "Feature",
    "properties": { "Name": "Poppy 1", "owner": "Flowers team, INRIA", "address": "200 rue de la Vieille Tour, 33400 Talence Cedex", "country": "France", "contact": "mailto:contact@poppy-project.org"},
    "geometry": { "type": "Point", "coordinates": [ -0.599958964, 44.8083265 ] }
   },
   {"type": "Feature",
    "properties": { "Name": "Poppy 2", "owner": "Flowers team, INRIA", "address": "200 rue de la Vieille Tour, 33400 Talence Cedex", "country": "France", "contact": "mailto:contact@poppy-project.org"},
    "geometry": { "type": "Point", "coordinates": [ -0.599958964, 44.80835 ] }
   },
   {"type": "Feature",
    "properties": { "Name": "Poppy College de France", "owner": "College de France", "country": "France"},
    "geometry": { "type": "Point", "coordinates": [ 2.34549, 48.848884 ] }
   },
  {"type": "Feature",
   "properties": { "Name": "Red Poppy", "owner": "Cité des sciences", "country": "France"},
   "geometry": { "type": "Point", "coordinates": [ 2.3879, 48.895595 ] }
  }
]
}

Edit: unfortunately it seems that javascript does not work in discourse posts… so here is a picture instead of the dynamic map: