Request a track from real server

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Request a track from real server

sidhant13
Hello all,
Can you please guide me on how to request a track from real server and upload it to local server.

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Request a track from real server

MatthesRieke
Hi Sidhant,

I recently updated the API documentation [1]. There is a dedicated page for track retrieval and insertion [2]. The problem with inserting a track that you obtained via the API is that the JSON formats for insertion and retrieval are not equal (e.g. "id" paramteres are not allowed for insertions but are generated via retrieval). We did not see that use case up to now. Maybe we could add some functionality to allow getting a track in an insertion-compliant format.

I would propose the following workaround. The "My Tracks" view of the Android app provides an Export function for tracks (long-click on a track entry and select "Export"). The track created via the function is in an insertion-compliant format and you can POST it's contents to your local server.

Let me know if this helps!

Best regards,
Matthes


2014/1/14 sidhant13 <[hidden email]>
Hello all,
Can you please guide me on how to request a track from real server and
upload it to local server.

Thanks



--
View this message in context: http://envirocar-discuss.forum.52north.org/Request-a-track-from-real-server-tp40.html
Sent from the 52°North - Envirocar Discussion Forum mailing list archive at Nabble.com.
_______________________________________________
enviroCar-discuss mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/envirocar-discuss



--
Matthes Rieke
52° North Initiative for Geospatial Open Source Software GmbH
Martin-Luther-King-Weg 24
48155 Münster, Germany
E-Mail: [hidden email]
Fon: +49-(0)-251–396371-51
Fax: +49-(0)-251–396371-11

http://52north.org/
Follow us on Twitter: @FiveTwoN

General Managers: Dr. Albert Remke, Dr. Andreas Wytzisk
Local Court Muenster HRB 10849

_______________________________________________
enviroCar-discuss mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/envirocar-discuss
Reply | Threaded
Open this post in threaded view
|

Re: Request a track from real server

Daniel Nüst
Hej Matthes,

just in case Sidhant does not have recorded tracks himself - can we add
a few example tracks to the wiki? Or upload them to the gh-page ?

/Daniel

Am 16.01.2014 12:08, schrieb Matthes Rieke (52North):

> Hi Sidhant,
>
> I recently updated the API documentation [1]. There is a dedicated page
> for track retrieval and insertion [2]. The problem with inserting a
> track that you obtained via the API is that the JSON formats for
> insertion and retrieval are not equal (e.g. "id" paramteres are not
> allowed for insertions but are generated via retrieval). We did not see
> that use case up to now. Maybe we could add some functionality to allow
> getting a track in an insertion-compliant format.
>
> I would propose the following workaround. The "My Tracks" view of the
> Android app provides an Export function for tracks (long-click on a
> track entry and select "Export"). The track created via the function is
> in an insertion-compliant format and you can POST it's contents to your
> local server.
>
> Let me know if this helps!
>
> Best regards,
> Matthes
>
> [1] http://envirocar.github.io/enviroCar-server/api
> [2] http://envirocar.github.io/enviroCar-server/api/tracks
>
>
> 2014/1/14 sidhant13 <[hidden email]
> <mailto:[hidden email]>>
>
>     Hello all,
>     Can you please guide me on how to request a track from real server and
>     upload it to local server.
>
>     Thanks
>
>
>
>     --
>     View this message in context:
>     http://envirocar-discuss.forum.52north.org/Request-a-track-from-real-server-tp40.html
>     Sent from the 52°North - Envirocar Discussion Forum mailing list
>     archive at Nabble.com.
>     _______________________________________________
>     enviroCar-discuss mailing list
>     [hidden email] <mailto:[hidden email]>
>     http://list.52north.org/mailman/listinfo/envirocar-discuss
>
>
>
>
> --
> Matthes Rieke
> 52° North Initiative for Geospatial Open Source Software GmbH
> Martin-Luther-King-Weg 24
> 48155 Münster, Germany
> E-Mail: [hidden email] <mailto:[hidden email]>
> Fon: +49-(0)-251–396371-51
> Fax: +49-(0)-251–396371-11
>
> http://52north.org/
> Follow us on Twitter: @FiveTwoN
>
> General Managers: Dr. Albert Remke, Dr. Andreas Wytzisk
> Local Court Muenster HRB 10849
>
>
> _______________________________________________
> enviroCar-discuss mailing list
> [hidden email]
> http://list.52north.org/mailman/listinfo/envirocar-discuss
>


--
Daniel Nüst
52°North Initiative for Geospatial Open Source Software GmbH
Martin-Luther-King-Weg 24
48155 Münster, Germany
E-Mail: [hidden email]
Fon: +49-(0)-251–396371-36
Fax: +49-(0)-251–396371-11

http://52north.org/
Twitter: @FiveTwoN

General Managers: Dr. Albert Remke, Dr. Andreas Wytzisk
Local Court Muenster HRB 10849
_______________________________________________
enviroCar-discuss mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/envirocar-discuss