Tag Info

Hot answers tagged

8

The easiest way is to import your points into a format that can be queried with SQL, like PostGIS, SQLite or Shapefile (using OGR). Then you can query: SELECT * FROM [table] a, [table] b WHERE a.[featureid] <> b.[featureid] AND ST_Z(a.[geometry]) - ST_Z(b.[geometry]) >= 200; Or you can query and make lines in one step: SELECT ...


7

You can do it via the geography type, using a geography index, or via the geometry type with some math to adjust for distortions in mercator. With geography: CREATE INDEX gb1900_geog_idx ON gb1900 USING GIST (geography(the_geom)); CREATE TABLE newtable AS WITH c AS ( SELECT a.cartodb_id, count(*) FROM gb1900 a, gb1900 b WHERE ...


7

Dark areas = low reflectivity. Light areas = high reflectivity. My guess is the dark squares simply has not reflected light back to the transceiver and then you have no xyz data here. For the floor my guess is that light is deflected away from aperture and not towards aperture, except for the holes. This depends of course of the sensor and the setup. In ...


2

Sounds like you are not aware of the tool points to line! The line ID would be your CULV_ID. Would PTID be the order of your points? Having used that tool to create the lines you would to write some code that reads for each ID and build the fields to transfer the information over.


2

there are as always some options for the points you dont want: filter them out by a query, or what you probably are looking for edit them. For edits you must make the layer active in the TOC and then start the editing by pushing the yellow pencil icon. Further select the points you want to edit out and delete them with "delete selected". This process may ...


2

To do this using linear referencing: Turn the line into a route. Use the points to add measures along that route as an event table. Then read the order of those points (now point events) in the event table from top to bottom.


2

If the line you are talking about is indeed a route, then you can use the tool "Locate features along route" - This will give you the measures of the points. The next step I would export the table to excel and then you can use a formula to calculate the distance between each point. For example =B2-B1, then drag to the bottom.


1

Please check this How to convert points to lines? If you are looking for a different scenario,could you please illustrate it.


1

There could be multiple approaches.Try this , Get the starting point of the poly-line feature Get the nearest vertex from the point feature Create an empty point feature class and push this nearest point into that perform 2,3 recursively for all points in the point feature class A clean and elegant way to get first point of a polyline is found in How do ...


1

You can use the Delete method in IFeature Interface. IFeature.Delete() For your code: ... lpVerFeat = lpVerFC.GetFeature(lpFeature.OID) lpVerFeat.Delete() ...


1

I'd use integrate tool (Data Management Tool-Feature Class). Make sure you have a backup copy and points have unique ID Run tool with 1 layer and your distance - 10 m. Points within buffer will collapse to overlapping points. Use Delete Identical to remove spatial duplicates, alternatively use suggestion from Can labels for overlapping points be ...


1

You would need to use arcpy.Geometry to obtain the geometry objects of the polygons (buffered points - use the Buffer GP tool for that) and points themselves; then find out whether the polygons contains any points that have the same identity (you choose what field to compare). A quick draft is below; this will give you an idea how to get started. Depending ...


1

I think spatial join will do this... Set Target as shapefileB, join as shapefileC. Add a numeric field and set the merge rule to count. Match option as INTERSECT. Do you want to count all of the points that land in each buffer circle (the above does this) or only the ring of area between the previous and current? If the latter, you will need to minus ...


1

Merge your old and new feature classes into one, then, using the Points to Line tool, input your merged table, and use the common field as the "line field"


1

I just realized how to make the quick fix. Once you move the point using the Editor toolbar: Open Attribute Table > right click the associated X_COORD field or Y_COORD field > Calculate Geometry > Set properties > Click OK Now all the XY coordinates, or only selected ones (depending on properties you set) have been updated.


1

Here is another option: Use the Split Line at Point tool Splits line features based on intersection or proximity to point features. Open up the attribute table of the output layer of split line and create a new numeric field called "length" Right click on "length" field and and select Calculate Geometry, feature length



Only top voted, non community-wiki answers of a minimum length are eligible