Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sven Greiner
gis-praxis-2
Commits
d9061285
Commit
d9061285
authored
Dec 05, 2014
by
Sven Greiner
Browse files
Some more fixes
parent
9dbaa0f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
simplify.py
View file @
d9061285
...
...
@@ -120,9 +120,9 @@ def writeToShape(track, simplified, shapename):
w
.
field
(
'ID'
,
'N'
,
'16'
)
w
.
field
(
'StartTime'
,
'N'
,
'16'
)
w
.
field
(
'StartDist'
,
'N'
,
'16'
)
w
.
field
(
'Speed'
,
'N'
,
'16'
)
w
.
field
(
'Slope'
,
'N'
,
'32'
)
w
.
field
(
'Vert
ical
Speed'
,
'N'
,
'32'
)
w
.
field
(
'Speed'
,
'N'
,
'16'
,
3
)
w
.
field
(
'Slope'
,
'N'
,
'32'
,
3
)
w
.
field
(
'VertSpeed'
,
'N'
,
'32'
,
3
)
k
=
0
for
i
in
xrange
(
len
(
simplified
)
-
1
):
...
...
@@ -144,7 +144,7 @@ def writeToShape(track, simplified, shapename):
StartDist
=
startPoint
.
distance
,
Speed
=
endPoint
.
speed
,
Slope
=
endPoint
.
slope
,
Vert
ical
Speed
=
endPoint
.
vspeed
VertSpeed
=
endPoint
.
vspeed
)
w
.
save
(
shapename
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment