systemapic / pile

PostGIS tile server
0 stars 2 forks source link

createLayer route should return JSON (not string) #8

Open knutole opened 8 years ago

knutole commented 8 years ago

Currently it's returning "save done". Should return better JSON object.

knutole commented 8 years ago

@IgorZiegler

IgorZiegler commented 8 years ago

@knutole Did you mean update layer route?

knutole commented 8 years ago

Yes, in pile repo, update the return object of this route, to return something else than "save done". Like a JSON with some real info.

IgorZiegler commented 8 years ago

@knutole what do you think about?

{
    updated: [fields],
    layer: layerObject
}
IgorZiegler commented 8 years ago

https://github.com/systemapic/wu/pull/441 PR for this task