Skip to content

Commit

Permalink
added help for import track
Browse files Browse the repository at this point in the history
  • Loading branch information
tamarmot committed Mar 23, 2019
1 parent 91d0e24 commit ce14a34
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
32 changes: 32 additions & 0 deletions geocamTrack/static/geocamTrack/help/import.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

**Import {{settings.GEOCAM_TRACK_TRACK_MONIKER}}** lets you import {{settings.GEOCAM_TRACK_TRACK_MONIKER}}s from GPS files

{{settings.GEOCAM_TRACK_TRACK_MONIKER}}s are how we geolocate data in xGDS. They should be imported before importing any other data.

Import {{settings.GEOCAM_TRACK_TRACK_MONIKER}}:
-----------------------------------------------

* Select the vehicle to associate with this {{settings.GEOCAM_TRACK_TRACK_MONIKER}}
* Select the timezone in which the GPS data was gathered
* Choose the GPS or GPX file
* Press the *Import* button

You should then see the imported {{settings.GEOCAM_TRACK_TRACK_MONIKER}} in the map on the right hand side.



.. o __BEGIN_LICENSE__
.. o Copyright (c) 2015, United States Government, as represented by the
.. o Administrator of the National Aeronautics and Space Administration.
.. o All rights reserved.
.. o
.. o The xGDS platform is licensed under the Apache License, Version 2.0
.. o (the "License"); you may not use this file except in compliance with the License.
.. o You may obtain a copy of the License at
.. o http://www.apache.org/licenses/LICENSE-2.0.
.. o
.. o Unless required by applicable law or agreed to in writing, software distributed
.. o under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
.. o CONDITIONS OF ANY KIND, either express or implied. See the License for the
.. o specific language governing permissions and limitations under the License.
.. o __END_LICENSE__
2 changes: 2 additions & 0 deletions geocamTrack/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,8 @@ def importTrack(request):
{
'form': ImportTrackForm(),
'errorstring': errors,
'help_content_path': 'geocamTrack/help/import.rst',
'title': 'Import ' + settings.GEOCAM_TRACK_TRACK_MONIKER,
'tracks': json.dumps(jsonTracks, cls=DatetimeJsonEncoder)
},
)
Expand Down

0 comments on commit ce14a34

Please sign in to comment.