Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
7363af0
added todo file for transformap fork
Apr 20, 2015
6368bc0
updated todos with new findings
Apr 23, 2015
85dbd78
updated todos with new findings
Apr 26, 2015
0bc7a30
transformap todo++
Apr 26, 2015
9e804e0
todo++
Apr 27, 2015
72f146a
first test of presets
Apr 28, 2015
285db7f
tm presets++
Apr 28, 2015
4fb3dba
all 3 tm tax tags
Apr 28, 2015
d05d66d
fields for tm tags radio -> combo
Apr 28, 2015
136d683
added vim swapfile to gitignore
Apr 28, 2015
5bb0b61
tag typo
Apr 28, 2015
1b8bb8d
added presets for direct- and indirect-needs POIs
Apr 28, 2015
47ff357
changed 'universal' tags
Apr 28, 2015
a054089
added auto-modified collection preset objects
Apr 28, 2015
8a99c81
notes added
Apr 29, 2015
c525bb7
added some presets and categories
Apr 29, 2015
4e8bac6
added 'start_date' field
Apr 29, 2015
488e8ef
added compact contact preset field
Apr 29, 2015
ed641f9
added community garden and tree preset
Apr 29, 2015
1bd435c
corrected typo in community garden
Apr 30, 2015
6c3ad40
fix: validatePresetFields() checked the old fields, not the newly gen…
Apr 30, 2015
e79b134
Todo++
Apr 30, 2015
36bdad0
add generated presets file after fix
Apr 30, 2015
8641b25
tried chainloading of presets
Apr 30, 2015
a892e65
removed accidentially added nonworking preset-file
Apr 30, 2015
7fe8fca
modified attribution and version Nr. of iD fork
Apr 30, 2015
1630e1c
added amenity=givebox
Apr 30, 2015
12750f8
added greenfield and brownfield presets
Apr 30, 2015
62b4ff8
added fablab preset
Apr 30, 2015
f6025b4
added missing prison preset
Apr 30, 2015
e4722f6
added new categories based on needs
May 1, 2015
2be75ac
added 'Volkskuche' preset
May 1, 2015
d90c4ff
added transformap tags to common POIs, part1
May 1, 2015
1230ca6
TODO++
May 1, 2015
fbc0e76
TODO++
May 1, 2015
e1d5468
Merge branch 'master' of github.com:/TransforMap/iD: Todo
May 1, 2015
7f8c25b
added tm presets for another batch
May 1, 2015
a59dd57
fixed givebox
May 1, 2015
73253bc
todo++
May 1, 2015
366dd12
added compiled files for dist
May 1, 2015
f929530
added transformap tags for craft
May 1, 2015
7aa4f85
added transformap tags for shop
May 1, 2015
dd28da0
added transformap tags for some historic
May 1, 2015
7d76660
added transformap tags for some ambulance
May 1, 2015
3c39b36
added transformap tags for landuse
May 1, 2015
ec2fa0c
added transformap tags for leisure
May 1, 2015
dea1438
added transformap tags for some man_made
May 1, 2015
9c77148
added transformap tags for some natural
May 1, 2015
0bc21a1
added transformap tags for office
May 1, 2015
633cc8f
added transformap tags for power generator
May 1, 2015
536b80a
added transformap tags for tourism
May 1, 2015
eaed007
added compiled presets for deploy
May 1, 2015
12b98f0
Merge branch 'master' of github.com:/TransforMap/iD
May 1, 2015
9b438f8
added TransforMap top bar
May 1, 2015
eddf7fc
Merge branch 'master' of github.com:/TransforMap/iD
May 1, 2015
2085f66
add : dokku deployment ENV
almereyda May 1, 2015
72cd97c
add mcombo and enable for cuisine
thoka May 3, 2015
48b78a7
add mcombo and enable for cuisine
thoka May 3, 2015
2ab90b4
Merge pull request #15 from thoka/master
species May 3, 2015
901d308
Merge branch 'master' of github.com:/TransforMap/iD: mCombo
May 3, 2015
a56b52c
Merge branch 'master' of github.com:TransforMap/iD
almereyda May 3, 2015
0879161
added missing entry for d3.mcombobox.js in Makefile
May 4, 2015
c5851c8
added fontawesome css extract needed for mcombobox checkboxes to app.css
May 4, 2015
2e2b68f
removed css from maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-…
May 4, 2015
2a9dbe4
added needs proposed tags
May 5, 2015
32c8fec
added new proposed identities
May 5, 2015
0c60427
changed start point from washington to witzenhausen
May 5, 2015
ab8a8a6
todo++
May 5, 2015
fce0bbc
changed combobox to mbcombobox for TM fields
May 5, 2015
f93fa9d
added cuisine for pub
May 5, 2015
f6bf52a
fixed font path location for mcombo checkboxes
May 6, 2015
131fe42
added fonts for mcombo checkboxes locally
May 6, 2015
50684d4
removed external font requirement; replaced with more common unicode …
May 6, 2015
bcdb270
cosmetic change in mcombo checkbox
May 6, 2015
2cf81a8
better variable naming
May 7, 2015
33cf825
changed labels of topic fields to better fit the short label/title se…
May 7, 2015
c21cc63
changed labels of topic fields to better fit the short label/title se…
May 7, 2015
ffa9dd7
fixed mcombo implementation for multiple values
May 7, 2015
2f39dba
Merge branch 'master' into mcombo-species
May 7, 2015
5de4746
fixed ';$' - bug
May 7, 2015
afbf516
changed css values to unbiased ones
May 7, 2015
2950d02
added shadows for drop-down boxes
May 7, 2015
d43d7e3
some preset improvements
May 8, 2015
edab989
added vertex to a lot of presets, for e.g. shops on door nodes
May 8, 2015
7f9bf04
changed some fields to mcombo
May 9, 2015
d508844
added 'sharing' interaction
May 9, 2015
dc93ddf
new version of Readme for github start page
May 9, 2015
48e1776
readme, corrections
May 9, 2015
00a5ffc
added #TransforMap hashtag to commit message, fixing #12
May 9, 2015
3d6fa8f
favicon
May 9, 2015
c32e9d0
favicon; smaller version
May 10, 2015
e9f9493
removed old big favicon
May 10, 2015
1eceec3
favicon in dist/
May 10, 2015
0fce2f2
added default 'others' preset for provides
May 15, 2015
2e6f8be
building: added transformap tags
May 18, 2015
d9e4cda
added farm boxes (CSAs)
May 18, 2015
d48428f
make TM keys addable for all items
May 18, 2015
4dbd2b2
forgot farm_boxes fields
May 18, 2015
ba17cb0
added mcombo to presets README
May 18, 2015
47e71e8
fix #23, remove default 'yes' value in mcombo box
May 18, 2015
0b9d780
make transformap preset default with higher matchScore
May 18, 2015
e1e8c09
readded presets for direct and indirect needs
May 18, 2015
3e380c1
add regex for adding vertices
May 18, 2015
c7a8394
added food coop
May 18, 2015
615aa6b
added food coop, forgot preset
May 18, 2015
e3839a1
cleaned up TODO file
May 18, 2015
56e21db
fix logo for indirect needs
May 18, 2015
44d8ae7
added tree to categories/provides_food+drink
May 18, 2015
2731b42
added icon for marketplace
May 18, 2015
5a39d97
updated css to new header style with other font
May 22, 2015
a241af4
higher priority for shop=mall than for building
May 26, 2015
f6b4bc1
added ice cream parlour preset
May 26, 2015
f3e16d1
changed description of Transition Town Initiative to Transition Initi…
May 29, 2015
4b0d5ea
added preset field for 2nd hand
Jun 1, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export BUILDPACK_URL=https://github.com/florianheinemann/buildpack-nginx.git

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ dist/iD.css
dist/presets.js
dist/imagery.js
transifex.auth
*.sw?
Empty file added .static
Empty file.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ dist/iD.js: \
js/lib/bootstrap-tooltip.js \
js/lib/d3.v3.js \
js/lib/d3.combobox.js \
js/lib/d3.mcombobox.js \
js/lib/d3.geo.tile.js \
js/lib/d3.jsonp.js \
js/lib/d3.keybinding.js \
Expand Down
41 changes: 17 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,29 @@
# iD - friendly JavaScript editor for [OpenStreetMap](http://www.openstreetmap.org/)

[![Build Status](https://secure.travis-ci.org/openstreetmap/iD.png)](https://travis-ci.org/openstreetmap/iD)
# iD - friendly JavaScript editor for [TransforMap](http://transformap.co/)

## Basics

* iD is a JavaScript [OpenStreetMap](http://www.openstreetmap.org/) editor.
* It's intentionally simple. It lets you do the most basic tasks while
not breaking other people's data.
* It supports modern browsers. Data is rendered with [d3](http://d3js.org/).
* iD is a JavaScript [OpenStreetMap](http://www.openstreetmap.org/) editor, adapted for TransforMap.
* It's latest stable release is deployed on [http://editor.transformap.co](editor.transformap.co)

## Participate!

* [Try out the latest stable release](http://openstreetmap.us/iD/release)
* [Read up on Contributing and the code style of iD](CONTRIBUTING.md)
* See [open issues in the issue tracker](https://github.com/openstreetmap/iD/issues?state=open) if you're looking for something to do
* [Translate!](https://github.com/openstreetmap/iD/blob/master/CONTRIBUTING.md#translating)

[![translation chart](https://www.transifex.com/projects/p/id-editor/chart/image_png)](https://github.com/openstreetmap/iD/blob/master/CONTRIBUTING.md#translating)
## Installation

To run the current development version, fork this project and serve it locally.
If you have Python handy, just `cd` into the project root directory and run

python -m SimpleHTTPServer
* Get in touch with TransforMap's techie circle here [on Discourse](http://discourse.transformap.co/c/engineering).
* See [open issues in the issue tracker](https://github.com/TransforMap/iD/issues?state=open) if you're looking for something to do

Or, with a Mac, you can enable Web Sharing and clone iD into your website directory.
## Developing

Come on in, the water's lovely. More help? Ping tmcw, jfire, or bhousel on IRC
(`irc.oftc.net`, in `#osm-dev` or `#osm`) or on the OSM mailing lists.
If you want to deploy a new version on editor.transformap.co:

For guidance on building a packaged version, running tests, and contributing to
development, see [CONTRIBUTING.md](CONTRIBUTING.md).
* Get an account, ask here on [Discourse](http://discourse.transformap.co/t/id-editor-deployment-coordination/366/6).
* clone this or a fork
* edit
* call "make", your changes get compiled into dist/
* check out the "dist" branch: "git checkout dist"
* the "dist" branch is simply a copy of the "dist/"-folder with compiled source
* copy all files from dist/ into the /-folder of the "dist"-branch, commit.
* git remote add update dokku@apps.ecobytes.net:id (needed only 1st time)
* git push --set-upstream origin dist (needed only 1st time)
* git push update dist:master

## License

Expand Down
69 changes: 69 additions & 0 deletions TODO.transformap
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
beginners mode mit gruen leuchtenden knoepfen, wo er der reihenfolge nach drücken muss
1. locate me
2. set point
3. click here to set a name
4. click here to set needs, identity, interaction


which tags should be supported on default?

name, description
addr
provides/topic
identity
interaction

sed -i 's/"fields": \[/"fields": \[ \n "provides",\n "topic",\n "identity",\n "interaction",/' *
sed -i 's/"fields": \[/"fields": \[ \n "provides",\n "identity",\n "interaction",/'

add vertex for:
sed -i 's/"point",/"point",\n "vertex",/'

extra fields:
contact data -OK
smoking -OK
wheelchair -OK
start_date -OK
fee -OK
access (members/public)
internet access -OK

organic -OK
regional -OK
fair_trade -OK

POI-Typen... (amenity,shop,landuse,club,...)

1st "Screen":
• TransforMap Taxonomy
→ guided Tour
• Classic OSM Object
→ conventional things

Todo:
how are translations handled?
default length of dropdown 4 → 8? -OK

how to set "Main Tag" in OSM?

Remove "Tutorial" questions, or replace with TransforMap tutorial

Future:
Quick "Switch to OSM Mode" with full features
Photo upload - ends on other server (mediawiki?), sets link as "image" tag
adding of Events - ends on other server


new presets needed
Tausch&Schenkregal (givebox) -> amenity=givebox -OK
Volkskueche -OK
csa-abholpunkt -OK
food-coop -OK

todo: add all "club"
office=ngo


bug:
if you forget the "category-" prefix when adding them to defaults.json, the JS throws an error.
amenity/doctor is inconsistent, should be doctors
2 changes: 0 additions & 2 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,6 @@ function validateCategoryPresets(categories, presets) {
}

function validatePresetFields(presets, fields) {
var presets = rp('presets.json'),
fields = rp('fields.json');
_.forEach(presets, function(preset) {
if (preset.fields) {
preset.fields.forEach(function(field) {
Expand Down
104 changes: 98 additions & 6 deletions css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ body {
}

.id-container {
height: 100%;
/* height: 100%; */
top:50px;
bottom:0;
width: 100%;
position: absolute;
position: fixed;
min-width: 768px;
}
Expand Down Expand Up @@ -606,7 +609,7 @@ a:hover .icon.out-link { background-position: -500px -14px;}
position: fixed;
padding: 10px 0;
left:0;
top:0;
top:50px;
right:0;
height:60px;
z-index: 9;
Expand Down Expand Up @@ -1463,10 +1466,10 @@ input[type=number] {
div.combobox {
z-index: 9999;
display: none;
box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
box-shadow: 0px 8px 10px 0px rgba(0,0,0,0.5);
margin-top: -1px;
background: white;
max-height: 120px;
max-height: 220px;
overflow-y: auto;
overflow-x: hidden;
border: 1px solid #ccc;
Expand All @@ -1482,7 +1485,14 @@ div.combobox {
overflow: hidden;
}

.combobox a.selected,
.combobox a.mcombobox-option span {
padding-left: 10px;
}

.combobox a.selected {
font-weight: 600;
}

.combobox a:hover {
background: #ececec;
}
Expand Down Expand Up @@ -1724,7 +1734,7 @@ img.wiki-image {

.map-controls {
right: 0;
top: 70px;
top: 120px;
width: 40px;
position: fixed;
z-index: 100;
Expand Down Expand Up @@ -2991,3 +3001,85 @@ img.wiki-image {
background: rgba(0, 0, 0, 0) url(img/sprite.svg) no-repeat -400px -220px;
margin: auto;
}

.mcombo {
display: inline-block;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transform: translate(0, 0);
}
.mcombo.square:before {
content: "\2610";
}
.mcombo.check-square:before {
content: "\2611";
font-weight:normal;
}

.mmmnavbar {
font-size: 14px;
background: #455473;
box-shadow: #AAAAAA 0px 3px 5px 0px;
height: 50px;
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index:1005;
color:#FFF;
font: normal normal 400 14px/20px "PT Sans";
font-family: "PT Sans", sans-serif;
vertical-align:middle;
text-align:center;
}

.mmmnavbar li a {
color: #DDDDDD;
height:100%;
display:block;
line-height:50px;
padding-left:10px;
padding-right:10px;
}
.mmmnavbar li:first-child a {
padding:0px;
}


.mmmnavbar a:hover {
text-decoration: none;
color:#FFF;
}

.mmmnavbar ul {
max-width:939px;
margin:0 0 0 -470px;
padding:0;
position:absolute;
top:0px;
left:50%;
height:50px;
}

.mmmnavbar ul li {
display: inline;
float:left;
height:50px;
/*padding:10px;*/
}
.mmmnavbar ul li:first-child {
float:normal;
}

.mmmnavbar ul li img {
vertical-align:middle;
margin:10px;
}

.mmmnavbar ul li:hover {
background: #444;
}


Loading