File tree Expand file tree Collapse file tree 5 files changed +87
-8
lines changed 
src/opengeodeweb_back/routes Expand file tree Collapse file tree 5 files changed +87
-8
lines changed Original file line number Diff line number Diff line change 22# This file is autogenerated by pip-compile with Python 3.10 
33# by the following command: 
44# 
5- #    pip-compile requirements.in 
5+ #    pip-compile --pre  requirements.in 
66# 
77asgiref == 3.8.1 
88    # via flask 
@@ -18,14 +18,14 @@ flask[async]==3.1.0
1818    # via 
1919    #   -r requirements.in 
2020    #   flask-cors 
21- flask-cors == 5.0.0  
21+ flask-cors == 5.0.1  
2222    # via -r requirements.in 
23- geode-background == 8.9.3  
23+ geode-background == 8.9.4  
2424    # via 
2525    #   geode-explicit 
2626    #   geode-implicit 
2727    #   geode-simplex 
28- geode-common == 33.5.0  
28+ geode-common == 33.5.1rc1  
2929    # via 
3030    #   -r requirements.in 
3131    #   geode-background 
@@ -35,7 +35,7 @@ geode-common==33.5.0
3535    #   geode-numerics 
3636    #   geode-simplex 
3737    #   geode-viewables 
38- geode-conversion == 6.1.5  
38+ geode-conversion == 6.1.6  
3939    # via 
4040    #   geode-explicit 
4141    #   geode-implicit 
@@ -51,7 +51,7 @@ geode-numerics==5.2.5
5151    #   -r requirements.in 
5252    #   geode-implicit 
5353    #   geode-simplex 
54- geode-simplex == 9.0.10  
54+ geode-simplex == 9.0.12rc1  
5555    # via 
5656    #   -r requirements.in 
5757    #   geode-implicit 
@@ -69,7 +69,7 @@ markupsafe==3.0.2
6969    # via 
7070    #   jinja2 
7171    #   werkzeug 
72- opengeode-core == 15.10.1  
72+ opengeode-core == 15.13.0rc1  
7373    # via 
7474    #   -r requirements.in 
7575    #   geode-background 
@@ -110,7 +110,7 @@ referencing==0.36.2
110110    # via 
111111    #   jsonschema 
112112    #   jsonschema-specifications 
113- rpds-py == 0.22.3  
113+ rpds-py == 0.23.1  
114114    # via 
115115    #   jsonschema 
116116    #   referencing 
@@ -122,3 +122,4 @@ werkzeug==3.1.3
122122    # via 
123123    #   -r requirements.in 
124124    #   flask 
125+     #   flask-cors 
Original file line number Diff line number Diff line change @@ -305,6 +305,26 @@ def create_point():
305305    )
306306
307307
308+ with  open (os .path .join (schemas , "texture_coordinates.json" ), "r" ) as  file :
309+     texture_coordinates_json  =  json .load (file )
310+ 
311+ 
312+ @routes .route ( 
313+     texture_coordinates_json ["route" ], 
314+     methods = texture_coordinates_json ["methods" ], 
315+ ) 
316+ def  texture_coordinates ():
317+     DATA_FOLDER_PATH  =  flask .current_app .config ["DATA_FOLDER_PATH" ]
318+     utils_functions .validate_request (flask .request , texture_coordinates_json )
319+     data  =  geode_functions .load (
320+         flask .request .json ["input_geode_object" ],
321+         os .path .join (DATA_FOLDER_PATH , flask .request .json ["filename" ]),
322+     )
323+     texture_coordinates  =  data .texture_manager ().texture_names ()
324+ 
325+     return  flask .make_response ({"texture_coordinates" : texture_coordinates }, 200 )
326+ 
327+ 
308328with  open (
309329    os .path .join (schemas , "vertex_attribute_names.json" ),
310330    "r" ,
Original file line number Diff line number Diff line change 1+ {
2+   "route" : " /texture_coordinates"  ,
3+   "methods" : [
4+     " POST" 
5+   ],
6+   "type" : " object"  ,
7+   "properties" : {
8+     "input_geode_object" : {
9+       "type" : [
10+         " string" 
11+       ]
12+     },
13+     "filename" : {
14+       "type" : [
15+         " string" 
16+       ]
17+     }
18+   },
19+   "required" : [
20+     " input_geode_object"  ,
21+     " filename" 
22+   ],
23+   "additionalProperties" : false 
24+ }
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments