ellipsis 3.1.38__tar.gz → 3.1.40__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ellipsis might be problematic. Click here for more details.
- {ellipsis-3.1.38 → ellipsis-3.1.40}/PKG-INFO +1 -1
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/__init__.py +1 -1
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/apiManager.py +1 -1
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/raster/timestamp/root.py +8 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/root.py +1 -1
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/vector/timestamp/feature/series/root.py +1 -1
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/vector/timestamp/order/root.py +4 -3
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/vector/timestamp/root.py +9 -1
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/view/root.py +1 -1
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis.egg-info/PKG-INFO +1 -1
- {ellipsis-3.1.38 → ellipsis-3.1.40}/setup.py +1 -1
- {ellipsis-3.1.38 → ellipsis-3.1.40}/LICENSE +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/README.md +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/account/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/account/accessToken/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/account/accessToken/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/account/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/file/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/file/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/folder/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/folder/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/hashtag/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/hashtag/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/invite/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/invite/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/member/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/member/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/pointCloud/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/pointCloud/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/pointCloud/timestamp/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/pointCloud/timestamp/file/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/pointCloud/timestamp/file/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/pointCloud/timestamp/order/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/pointCloud/timestamp/order/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/pointCloud/timestamp/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/pointCloud/timestamp/util.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/raster/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/raster/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/raster/style/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/raster/style/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/raster/timestamp/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/raster/timestamp/file/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/raster/timestamp/file/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/raster/timestamp/order/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/raster/timestamp/order/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/raster/timestamp/util.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/usage/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/usage/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/vector/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/vector/featureProperty/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/vector/featureProperty/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/vector/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/vector/style/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/vector/style/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/vector/timestamp/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/vector/timestamp/feature/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/vector/timestamp/feature/message/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/vector/timestamp/feature/message/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/vector/timestamp/feature/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/vector/timestamp/feature/series/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/vector/timestamp/file/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/vector/timestamp/file/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/vector/timestamp/order/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/sanitize.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/user/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/user/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/util/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/util/root.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/view/__init__.py +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis.egg-info/SOURCES.txt +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis.egg-info/dependency_links.txt +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis.egg-info/requires.txt +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis.egg-info/top_level.txt +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/setup.cfg +0 -0
- {ellipsis-3.1.38 → ellipsis-3.1.40}/test/test.py +0 -0
|
@@ -33,7 +33,7 @@ def get(url, body = None, token = None, crash = True, parseJson = True):
|
|
|
33
33
|
|
|
34
34
|
for k in body.keys():
|
|
35
35
|
if type(body[k]) != type('x') :
|
|
36
|
-
body[k] = json.dumps(body[k])
|
|
36
|
+
body[k] = json.dumps(body[k]).replace(' ','')
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
body = urllib.parse.urlencode(body)
|
|
@@ -182,6 +182,14 @@ def getValuesAlongLine(pathId, timestampId, line, token = None, epsg = 4326):
|
|
|
182
182
|
memfile.close()
|
|
183
183
|
return values
|
|
184
184
|
|
|
185
|
+
def getLocationInfo(pathId, timestampId, locations, epsg = 4326, token= None)
|
|
186
|
+
pathId = sanitize.validUuid('pathId', pathId, True)
|
|
187
|
+
timestampId = sanitize.validUuid('timestampId', timestampId, True)
|
|
188
|
+
token = sanitize.validString('token', token, False)
|
|
189
|
+
epsg = sanitize.validInt('epsg', epsg, True)
|
|
190
|
+
body = {'locations':locations,'epsg':epsg}
|
|
191
|
+
r = apiManager.post('/path/' + pathId + '/raster/timestamp/' + timestampId + '/location', body, token)
|
|
192
|
+
return r
|
|
185
193
|
|
|
186
194
|
|
|
187
195
|
def getRaster(pathId, timestampId, extent, token = None, showProgress = True, epsg = 4326, reproject = False, threads = None, style = None):
|
|
@@ -68,7 +68,7 @@ def add(pathId, timestampId, seriesData, token, featureId=None, showProgress = T
|
|
|
68
68
|
else:
|
|
69
69
|
raise ValueError('date column must be of type datetime')
|
|
70
70
|
else:
|
|
71
|
-
raise ValueError('seriesData must have a column
|
|
71
|
+
raise ValueError('seriesData must have a column date of type datetime')
|
|
72
72
|
|
|
73
73
|
if not 'featureId' in seriesData.columns:
|
|
74
74
|
raise ValueError(
|
|
@@ -6,15 +6,16 @@ def get(token):
|
|
|
6
6
|
r = apiManager.get('/path/vector/timestamp/order', None, token)
|
|
7
7
|
return r
|
|
8
8
|
|
|
9
|
-
def add(pathId, timestampId, token, extent = None,
|
|
9
|
+
def add(pathId, timestampId, token, extent = None, fileFormat = 'geojson'):
|
|
10
10
|
|
|
11
11
|
token = sanitize.validString('token', token, True)
|
|
12
12
|
pathId = sanitize.validUuid('pathId', pathId, True)
|
|
13
13
|
timestampId = sanitize.validUuid('timestampId', timestampId, True)
|
|
14
14
|
extent = sanitize.validBounds('extent', extent, False)
|
|
15
|
-
|
|
15
|
+
token = sanitize.validString('fileFormat', fileFormat, True)
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
|
|
18
|
+
body = { 'extent':extent, 'format' :fileFormat}
|
|
18
19
|
|
|
19
20
|
r = apiManager.post('/path/' + pathId + '/vector/timestamp/' + timestampId + '/order', body, token)
|
|
20
21
|
|
|
@@ -25,6 +25,15 @@ def add(pathId, token, properties = None, description = None, date ={'from': da
|
|
|
25
25
|
r = apiManager.post('/path/' + pathId + '/vector/timestamp', body, token)
|
|
26
26
|
return r
|
|
27
27
|
|
|
28
|
+
def getLocationInfo(pathId, timestampId, locations, epsg = 4326, token= None)
|
|
29
|
+
pathId = sanitize.validUuid('pathId', pathId, True)
|
|
30
|
+
timestampId = sanitize.validUuid('timestampId', timestampId, True)
|
|
31
|
+
token = sanitize.validString('token', token, False)
|
|
32
|
+
epsg = sanitize.validInt('epsg', epsg, True)
|
|
33
|
+
body = {'locations':locations,'epsg':epsg}
|
|
34
|
+
r = apiManager.post('/path/' + pathId + '/vector/timestamp/' + timestampId + '/location', body, token)
|
|
35
|
+
return r
|
|
36
|
+
|
|
28
37
|
def edit(pathId, timestampId, token, description=None, date=None):
|
|
29
38
|
|
|
30
39
|
pathId = sanitize.validUuid('pathId', pathId, True)
|
|
@@ -207,7 +216,6 @@ def getFeaturesByExtent(pathId, timestampId, extent, propertyFilter = None, toke
|
|
|
207
216
|
bounds = sh.bounds
|
|
208
217
|
centerX = (bounds['maxx'].values + bounds['minx'].values )/2
|
|
209
218
|
centerY = (bounds['maxy'].values + bounds['miny'].values )/2
|
|
210
|
-
print('hoi')
|
|
211
219
|
sh = sh[ np.logical_and(np.logical_and( centerX >= extent['xMin'], centerX <= extent['xMax'] ), np.logical_and( centerY >= extent['yMin'], centerY <= extent['yMax'] ) ) ]
|
|
212
220
|
|
|
213
221
|
else:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/vector/timestamp/feature/message/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ellipsis-3.1.38 → ellipsis-3.1.40}/ellipsis/path/vector/timestamp/feature/series/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|