C Tel Posted November 8, 2012 Posted November 8, 2012 Does anyone know how I might be able to identify the percentage of a polyline length that is within an area? Example: A map of tax code areas (closed polylines, they could be converted to polygons if needed). There are road center lines that cross through multiple tax code areas. I need to identify the percentage of the polyline length that is within each tax code area that it encounters. I’m running AutoCAD Map 3D 2011 Thanks in advance for any help/advice that can be offered! Quote
RobDraw Posted November 9, 2012 Posted November 9, 2012 (Length of polyline inside tax code area/Total length)x100 = Percentage of polyline in tax code area Quote
ReMark Posted November 9, 2012 Posted November 9, 2012 So you are looking for a lisp routine that would determine the length of the line within the box as it relates to the total length of the line (percentage-wise). And you do not want to physically measure the line yourself. Is this correct? Quote
C Tel Posted November 9, 2012 Author Posted November 9, 2012 ReMark said: [ATTACH=CONFIG]38466[/ATTACH]So you are looking for a lisp routine that would determine the length of the line within the box as it relates to the total length of the line (percentage-wise). And you do not want to physically measure the line yourself. Is this correct? Yes, I'm looking for any way, lisp or otherwise to programadicly identify the percentage of the line and what box that percentage belongs to. Thanks for your help! Quote
Murph_map Posted November 10, 2012 Posted November 10, 2012 Sounds like some one is wanting to know how much ad-valorem tax needs to be paid or if the accounting dept. is up to date. With Map3D and using the data connect (FDO) simple overlays could do it for you. Using standard autocad entities, lines and polygons in MAP3D you can create a topology and come up with roughly the same results. Quote
C Tel Posted November 12, 2012 Author Posted November 12, 2012 Murph_map said: Sounds like some one is wanting to know how much ad-valorem tax needs to be paid or if the accounting dept. is up to date. You got it! It's a painful process at the moment. I'm looking to make things a bit more automated and less painful. Murph_map said: With Map3D and using the data connect (FDO) simple overlays could do it for you. Using standard autocad entities, lines and polygons in MAP3D you can create a topology and come up with roughly the same results. It looks like this could do what I'm looking for, now I just need to learn how to put this to use. Thanks for this suggestion! Quote
C Tel Posted November 12, 2012 Author Posted November 12, 2012 RobDraw said: How many zones are we talking about? there are 50+ Quote
Emigrato Posted November 13, 2012 Posted November 13, 2012 Murph_map said: you can create a topology and come up with roughly the same results. Hello Sir, let me translate in human language what you meant, ok? The OP would like to calculate the percent length of single blinking segments, against the total length of the whole street, as well as maintaining the names of the intersected tax code areas: Here the original street attributes: and here the tax code areas ones: After intersecting the two above in Qgis, I got something like this: And now, dear Murph: I tried to achieve the same result with 1 polygon + 1 network topology in Map2006, by means of the _MAPANOVERLAY command, but I could not. None of the these possible options carries the tax areas' Object Data, so I cannot associate to which zone (triangle, circle, rectang) belongs a given clipped street segment. I attach here my sample shapefiles: street@taxzones.zip Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.