Cone Shaped Line Buffer

4766
19
01-21-2011 08:18 AM
TimVictor
Emerging Contributor
Hello,

Does anyone know if it is possible to create a "cone" shaped line buffer? For example, a 20 mi buffer on one end that expands to a 50 mi buffer on the other end of the line.  View attached for visual.  I can use the editor to do this but i have hundreds of lines and it would be impractical.  I am using an ArcView license for version 10.

Please if anyone has any idea at all please let me know! It would be greatly appreciated!!
0 Kudos
19 Replies
TimVictor
Emerging Contributor


Frédéric,

This is the error message the process keeps returning. Any thoughts? Again, i am very new to python scripting. I did read a little about this error message and a few people thought it may either be the subtypes for the feature class or that there is no output path. But, if i understand correctly your declaring the output GDB as the Scratch workspace which in the environments i can see is my default geoDB.



<class 'arcgisscripting.ExecuteError'>: Failed to execute. Parameters are not valid.
ERROR 000732: File GDB Location: Dataset D:\fpr10_PYDEV\fprPYDEV_v10\ConeLineBuffer\data does not exist or is not supported
Failed to execute (CreateFileGDB).

Failed to execute (ConeLineBuffer).
0 Kudos
LoganPugh
Frequent Contributor
Make sure to change any paths to reference data on your own system, not his.
0 Kudos
FrédéricPRALLY
Esri Contributor
Hi Tim,

Sorry for the poor explain, you must go to run_coneLineBuffer function to change 3 inputs parameters.

    inFC = r"D:\fpr10_PYDEV\fprPYDEV_v10\ConeLineBuffer\data\lines.shp" # To change
    inRadiusBufferMin = 10 # To change
    inRadiusBufferMax = 100# To change



Or see script with tool at this link, it's probably easier to use.
http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=C2CC5FEE-1422-2418-349B-0E6B2...

I hope you can use it now!

Fred
0 Kudos
TimVictor
Emerging Contributor
Frédéric,

This is awesome!! Exactly what i was looking for! Very impressive and thank you very much for putting your time and effort into this. However, i am unable to use it because the tool uses the convex_hull as a parameter in the minimum boundary geometry tool and i am only using ArcView License which will only allow Rectangle_By_Area and Rectangle_By_Width as parameters.  But again thank you very much!
0 Kudos
FrédéricPRALLY
Esri Contributor
Hi Tim,

If you want send me your data because now I've no time modifify it for ArcView licence.

Best regards,

Fred
0 Kudos
TimVictor
Emerging Contributor
Fred,

Attached is a sample dataset.  I use this information to generate lines from each origin to it's corresponding destination.  If you need anything else let me know! Thank you very much for looking into this!

Tim
0 Kudos
FrédéricPRALLY
Esri Contributor
Hi Tim,

See the result in joined file.

Hope this help.

Fred
0 Kudos
TimVictor
Emerging Contributor
Fred,

This is awesome! Huge help! Thank you.

Can you please do me a big favor and run another set of data through your tool? I already have the the line shapefile (attached) with the minimum and maximum buffers.  Also, can the buffers be rendered using miles as the measurement unit? Also, if possible, can you transfer the line R_ID to the corresponding polygon that is created around that line?

Tim
0 Kudos
FrédéricPRALLY
Esri Contributor
Hi,

Can you send me your email to send you result zip file because uploading is too large.

I'll try to update this script to run using ArcView license.

See you soon,

Fred
0 Kudos
TimVictor
Emerging Contributor
Fred,

Thank you so much for doing this for me, i really appreciate that.
0 Kudos