Re: [HOT] 10 Years of OSM + HOT?

2015-04-03 Thread James Conkling
OK, good to know. I've got a suitable work around for the moment. On Thu, Apr 2, 2015 at 3:34 PM, Pierre GIRAUD pierre.gir...@gmail.com wrote: Hi James, Sorry, no, I didn't take time to have a look at this. Pierre On Thu, Apr 2, 2015 at 7:02 PM, James Conkling

Re: [HOT] 10 Years of OSM + HOT?

2015-04-02 Thread Pierre GIRAUD
Hi James, Sorry, no, I didn't take time to have a look at this. Pierre On Thu, Apr 2, 2015 at 7:02 PM, James Conkling james.lane.conkl...@gmail.com wrote: Hi Pierre, Any update on CORS errors on the TM? Still getting Cross Origin Errors when I make ajax requests. This would definitely be

Re: [HOT] 10 Years of OSM + HOT?

2015-04-02 Thread James Conkling
Hi Pierre, Any update on CORS errors on the TM? Still getting Cross Origin Errors when I make ajax requests. This would definitely be useful, but there are also workarounds I can use until this is figured out. On Tue, Mar 17, 2015 at 1:06 PM, James Conkling james.lane.conkl...@gmail.com

Re: [HOT] 10 Years of OSM + HOT?

2015-03-17 Thread Pierre GIRAUD
Sorry for the delayed answer. All the API requests should be CORS enabled. Well, as soon as they use XHR. On Mon, Mar 9, 2015 at 6:48 PM, Mikel Maron mikel.ma...@gmail.com wrote: Huh I had thought that CORS was enabled for the OSMTM api ... is that not the case Drazen or Pierre? * Mikel Maron

Re: [HOT] 10 Years of OSM + HOT?

2015-03-17 Thread Pierre GIRAUD
This is supposed to land on the following code: https://github.com/hotosm/osm-tasking-manager2/blob/master/osmtm/views/project.py#L381 Do you have any simple code to test this against? (I'm a bit lazy) Thanks On Tue, Mar 17, 2015 at 4:53 PM, James Conkling james.lane.conkl...@gmail.com wrote:

Re: [HOT] 10 Years of OSM + HOT?

2015-03-17 Thread James Conkling
Threw together some test code: http://plnkr.co/edit/MkrooDeQPhmADv4CrnTY?p=preview. Look at the browser console for success/error messages Can confirm that using the second url (which points to ' http://tasks.hotosm.org/project/920/tasks.json') throws a CORS error, while using the first url

Re: [HOT] 10 Years of OSM + HOT?

2015-03-09 Thread James Conkling
Hey Mikel et al, Glad to see there's work being done on a TM API. I've been trying to load the tasks.json file into an external app so I can monitor the progress of some HOT projects (the API docs https://github.com/hotosm/osm-tasking-manager2/wiki/API#tasks suggest this should be exposed now,

Re: [HOT] 10 Years of OSM + HOT?

2015-03-09 Thread Mikel Maron
Huh I had thought that CORS was enabled for the OSMTM api ... is that not the case Drazen or Pierre? * Mikel Maron * +14152835207 @mikel s:mikelmaron On Monday, March 9, 2015 1:36 PM, James Conkling james.lane.conkl...@gmail.com wrote: Hey Mikel et al, Glad to see there's work

Re: [HOT] 10 Years of OSM + HOT?

2015-03-08 Thread Mikel Maron
Sam Some additions to the OSMTM API are in staging, and hopefully will deploy soon. Once live, this would allow to grab data on a list of projects.  https://github.com/hotosm/osm-tasking-manager2/wiki/API has a few details. -Mikel * Mikel Maron * +14152835207 @mikel s:mikelmaron On Friday,

Re: [HOT] 10 Years of OSM + HOT?

2015-03-08 Thread Pierre Béland
Hi Sam Yes, this is a great tool.   It would be good if a geolocation feature was added to locate a particular country or town.  This is a more urban centric rendering, since it primarily shows buildings and roads, neglecting other objects. Looking at the Mali activation in early 2013, I see