POST
|
Thank you Mr Dan Patterson, After some more research i have used math function to achieve this Best regards
... View more
05-11-2017
02:51 AM
|
0
|
1
|
487
|
POST
|
Dear guys, Currently i'm writting a script to calculate the surface length and 3D length (mean that the straight line length from begin vertex to the end vertex, mean that the length which has Z value apply, in math we can calculate by function in this topic: 3D Coordinate Geometry - Distance | Brilliant Math & Science Wiki At first i used th SurfaceLength_3d function to get surface length then i use the Intersect function which will produce the 3D_length in attribute table for 3D length but 3D length and surface length are equal for every case so i think that 3d length is the Surface length in this case Do we have any function to get the 3D straight line length of polyline in Arcgis?
... View more
05-08-2017
09:52 PM
|
0
|
4
|
993
|
POST
|
This is the thread i found: https://community.esri.com/thread/99374 Currently i use Arcgis PRO with Python 3 but that error happen
... View more
01-19-2017
10:35 PM
|
0
|
0
|
536
|
POST
|
I'm sorry if my comment is not clear. Here is the situation: + Arcpy import fine + arcpy.env.workspace = OutputLocation raise AttributeError, after a few search on Google somebody say that AttributeError occurs because that attribute is not exist (i mean there is no workspace attribute in env or there is no env attribute in arcpy). But the weird thing is that this code run fine if i use the WSGIRef webserver (single thread webserver) or run it as stand-alone script but after switching to Cherrypy webserver (multi-thread) my code does not work anymore and the stack trace point to this line: arcpy.env.workspace = OutputLocation I have tried on both relative path and absolute path but it does not help. P/S: There is an topic state that Arcpy does not compatible with multi-thread webserver, is it true ?
... View more
01-19-2017
07:36 PM
|
0
|
2
|
536
|
POST
|
Yes, it's still the same and valid Mr.Basson. In fact it raise the error at that step and the error is: AttributeError: ERROR 87934 ... As i know usually AttributeError is raised because there is no that attribute (env or workspace)
... View more
01-19-2017
06:01 PM
|
0
|
0
|
1016
|
POST
|
In fact it raise the error at that step and the error is: AttributeError: ERROR 87934 ... As i know usually AttributeError is raised because there is no that attribute (env or workspace)
... View more
01-19-2017
05:54 PM
|
0
|
4
|
536
|
POST
|
I think it's correct Mr.Basson, because this code run fine with WSGIRef webserver, but can't work with cherrypy, i also print the output location and it still correct
... View more
01-19-2017
02:41 AM
|
0
|
10
|
1016
|
POST
|
Even though i remove that line, it still produce the same error on: arcpy.env.workspace = OutputLocation . That error never happen when i use old webserver. Thank you very much
... View more
01-19-2017
02:16 AM
|
0
|
12
|
1016
|
POST
|
Hello everybody, Currently i'm developing an API that do some basic calculation (polygon area ... ) using arcpy. I'm using bottle.py with cherrypy as webserver. At first i used the WSGIRef (default webserver of bottle.py, single-thread) and everything is fine but after switching to cherrypy (multi-threaed webserver), my code suddenly went down, look closely in to my source code it fail in these line: arcpy.env.workspace = OutputLocation Have someone ever facing this problem before?
... View more
01-19-2017
02:03 AM
|
0
|
14
|
2497
|
POST
|
Thank you very much, but it's not what i want right now, i stuck with how to achieve the lowest point base plane.
... View more
01-16-2017
11:12 PM
|
0
|
0
|
706
|
POST
|
sorry sir, but can you show me some pseudo-code or something like that to achieve with arcpy because i don't understand your answer
... View more
01-16-2017
11:11 PM
|
0
|
0
|
706
|
POST
|
Hi every one, I'm writing a python script to calculate the volume of a polygon on raster using Cut/Fill tool and i see in some online service (for ex: DroneDeploy.com ...) for volume calculation there are 2 type of base plane: Best fit and lowest point: Currently, i script seem to produce the result as same as DroneDeploy.com with their Best Fit base plane. I want to writing another script to calculate volume with Lowest Point but don't know where to start with. You guys have any ideas about this problem? Thanh you very much
... View more
01-16-2017
06:47 PM
|
0
|
4
|
2048
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|