Comments (2)
I got it to work, without too much effort, my comment now is the selection process seems to buffer everywhere around the cross section line: arcpy.SelectLayerByLocation_management(ptLayer, 'WITHIN_A_DISTANCE', mLine, buff)
this includes data that is located within a certain distance of the start or end of the cross section line. Is there a way to only include data that is located along the line at a given distance away, similar to the "Point Profile" tool?
from cross-section.
Ok, good.
Right, the buffer tool doesn't allow, as far as I know, for what you might call a 'butt end' selection space, instead of rounded. The tool should work on a selection set made on your point layer, though, so you could set that up before using the tool. You could do it manually with the lasso select tool, for example. Add a field called 'sel' (selection) or something and tag those points with a string or number so you can quickly make the selection again or create a definition query.
If you really wanted a calculated way that results in something in the table so that you can make the selection set, you might be able to run the Near tool to get points with the distance and the angle of that shortest distance to the line stored in the attribute table. To exclude points that would otherwise be selected by a round-end buffer, you would select only those points with an angle of 90 degrees. This method may fall apart, though, if there are bends in the cross section line (or there were any points that were exactly along a ray extending from the start or end of the line - rare)
from cross-section.
Related Issues (14)
- Trouble Creating Tables HOT 7
- Fencediagram not working HOT 7
- segmentedprofile.py fails when data sources are shapefiles HOT 1
- Error running lineintersect.py on ArcMap 10.7.1 HOT 3
- Map points to cross section points- Beta error HOT 2
- Convert to Arc Pro? HOT 2
- Lines to surface Tool doesn't account for gaps in rastrer surface HOT 10
- Trying to make a cross-section with the demo material HOT 21
- How can i add all Cross-Section-master Scripts in arcgis gis toolbox and set parameter in and run the tool HOT 1
- Error - Map points to Cross Section Points HOT 6
- Cross-section - modified code to address multiple surface rasters HOT 1
- Can you please instruct or make a short video for the demo? HOT 1
- Problem with precise sections, processed profile is way too short. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cross-section.