Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GeoInt_SIDT
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mario Chirinos Colunga
GeoInt_SIDT
Commits
d4bb14e5
Commit
d4bb14e5
authored
Jan 31, 2019
by
Sergio Adrian Gongora Euan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.geoint.mx/mario.chirinos/GeoInt_SIDT
into dev
parents
206ca7b6
cfd87035
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
22 deletions
+42
-22
.gitignore
.gitignore
+24
-4
dataRetrieval.js
catalog/static/catalog/js/dataRetrieval.js
+17
-17
db.sqlite3
db.sqlite3
+0
-0
geosentinel
geosentinel
+1
-1
No files found.
.gitignore
View file @
d4bb14e5
# compiled code
*.pyc
*.pyc
# project
.idea/
__pycache__/
geosentinel/
geosentinel
db.sqlite3-journal
# django stufff
*.log
*.pot
*.pyc
__pycache__/
local_settings.py
db.sqlite3
media
# virtual env
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# pyenv
.python-version
catalog/static/catalog/js/dataRetrieval.js
View file @
d4bb14e5
...
...
@@ -84,16 +84,16 @@ function drawPolygon(element) {
osmap
.
removePolygon
();
// draw wkt polygon
//
osmap.addWKTPolygon(polygon.wkt_polygon);
osmap
.
addWKTPolygon
(
polygon
.
wkt_polygon
);
// format coords to draw
var
coords
=
osmap
.
formatCoords
(
polygon
.
geojson
.
geometry
.
coordinates
);
//
var coords = osmap.formatCoords(polygon.geojson.geometry.coordinates);
// get the biggest area
var
biggest
=
osmap
.
getBiggestPolygon
(
coords
);
//
var biggest = osmap.getBiggestPolygon(coords);
// draw coordsR
osmap
.
addPolygon
(
biggest
);
//
osmap.addPolygon(biggest);
}
})
}
...
...
@@ -180,7 +180,7 @@ $('#ajax-input').focus(function () {
$
(
'#option-list'
).
show
();
OPT_LIST_IS_HIDDEN
=
false
;
}
}).
blur
(
function
()
{
}).
blur
(
function
(
event
)
{
INPUT_ON_FOCUS
=
false
;
if
(
!
OPT_LIST_IS_HIDDEN
&&
$
(
this
).
val
()
&&
$
(
event
.
target
).
closest
(
'#option-list'
).
length
)
{
$
(
'#option-list'
).
hide
();
...
...
db.sqlite3
View file @
d4bb14e5
No preview for this file type
geosentinel
View file @
d4bb14e5
/home/geointdev/sidt-env/GeoSentinel/geosentinel/
\ No newline at end of file
/home/emmanuelhp/Documentos/GeoSentinel/geosentinel
\ No newline at end of file
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