Rytiss / googze

Automatically exported from code.google.com/p/googze
0 stars 0 forks source link

New Features #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Ok so, I was thinking about automating road addition.

If we could get data from OSM by exporting the road data and then importing it 
from the .xml file (like the one attached)

I have found the function that adds roads using parameters. It is called:
Cartouche.prototype.uploadEditPanelForm = 
function(upload_url,feature_type_affected,deselect_on_success,additionalParams){

and can be found on line 6350 of Cartouche.js.

Tell me what you think :)

I also found Cartouche.prototype.saveEditRoadGeometry = function(){ 

which i think is for the Geometry of the new road.

I'm not great with JS so i was looking to you :)

Original issue reported on code.google.com by Qurb...@gmail.com on 24 Dec 2010 at 8:45

Attachments:

GoogleCodeExporter commented 9 years ago
It is not legal to import data directly from OSM because of their license (they 
kind of allow the data to be used, but if used, it has to be credited to them 
publicly. In addition, OSM data can only be used if maps built using their data 
are also published under Creative Commons Attribution-ShareAlike 2.0 license). 
We're already on the edge of legal vs illegal, so I don't want to step into 
really-illegal side :)

Original comment by ryti...@gmail.com on 24 Dec 2010 at 9:13

GoogleCodeExporter commented 9 years ago
Lol I understand, just wanted to point it out :)

Original comment by Qurb...@gmail.com on 24 Dec 2010 at 9:27