I tried to edit amenity information (add own tag) with Amenity Editor and it worked. Theh i tried to add own tag to amenity with ajax request to url http://ae.osmsurround.org/ae/amenity in javascript language and noticed that amenity information was cleared by my request and it contains only my tag. I sent data in following way:

 { _nodeId: "1243055571",
                                    lon: 60.5831108,
                                    lat: 56.8365555,
                                    _method: "put",
                                    key: "amenity",
                                    key: "entrance",
                                    key: "name",
                                    key: "myId",
                                    value: "restaurant",
                                    value: "yes",
                                    value: "Конкиста",
                                    value: "5465757"
}

What wrong steps i made?

asked 13 May '13, 19:05

vovaekb's gravatar image

vovaekb
11112
accept rate: 0%

edited 13 May '13, 19:08

aseerel4c26's gravatar image

aseerel4c26 ♦
31.9k16236548

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×154
×142
×76
×1

question asked: 13 May '13, 19:05

question was seen: 1,532 times

last updated: 13 May '13, 19:08

powered by OSQA