Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
greenIndex
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mario Chirinos Colunga
greenIndex
Commits
7e082f7c
Commit
7e082f7c
authored
Nov 13, 2019
by
Mario Chirinos Colunga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WKT->wkt
parent
84842362
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sembrandovida.json
data/sembrandovida.json
+1
-1
geoJsonToJsonWKT.py
scripts/geoJsonToJsonWKT.py
+1
-1
No files found.
data/sembrandovida.json
View file @
7e082f7c
This diff is collapsed.
Click to expand it.
scripts/geoJsonToJsonWKT.py
View file @
7e082f7c
...
@@ -21,7 +21,7 @@ def convertToWKT(filename, outfile):
...
@@ -21,7 +21,7 @@ def convertToWKT(filename, outfile):
wkt
=
wkt
[:
-
2
]
+
" ))"
wkt
=
wkt
[:
-
2
]
+
" ))"
print
(
wkt
)
print
(
wkt
)
newdata
.
append
({
"
WKT
"
:
wkt
,
"properties"
:
prop
})
newdata
.
append
({
"
wkt
"
:
wkt
,
"properties"
:
prop
})
with
open
(
outfile
,
'w'
)
as
outfile
:
with
open
(
outfile
,
'w'
)
as
outfile
:
json
.
dump
(
newdata
,
outfile
)
json
.
dump
(
newdata
,
outfile
)
...
...
Write
Preview
Markdown
is supported
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