Tag Info

New answers tagged

0

Hi i was able to acheive m goal with selecting nearby points, putting all field value in array and counting the array ocurance and pasting values into another field fc = r"C:\Akhil_Office_1\Python\test\PATest1.shp" fields = ["FEATURE_ID", "ADDRESS"] with arcpy.da.SearchCursor(fc, fields) as cursor: for row in cursor: value=row[0] #get value ...


2

There is no built-in method to automatically classify based on two different symbols with a symbology matrix in the end. Data Defined Symbology QGIS knows the concept of data defined symbology. This allows styling different aspects of the symbology each with an expression based on a different attribute. You can write a CASE statement for the line symbology ...


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

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 ...


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 ...


0

I think you are looking for the Point displacement renderer as illustrated in http://gis.stackexchange.com/a/57366/187


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 ...


0

The source code of concave hull for point cloud is written in http://pointclouds.org/documentation/tutorials/hull_2d.php: In this tutorial we will learn how to calculate a simple 2D hull polygon (concave or convex) for a set of points supported by a plane.


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"


0

Seems to me that you need to clip your road feature first using your polygons. Then begin the point selection process. Other thing to consider is how the road feature is drawn. Is it a polyline? Is a single feature? If you're trying to get only 1 point that is closest then you need to make sure the individual roads are 1 feature too. This would be so much ...


0

Requested data by agency, neatly received it by mail. Asked them to upload on their website for open data matters.


0

This might just be a problem of projections/units, it looks like the projection of mylocation.srid and object_location.srid might be WGS84 (the default projection in GeoDjango). If you want to have distance in meters without making another database lookup, you could transform your points with something like this: mylocation.transform(3857) ...


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


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.


0

If you want to use QGIS you can use the Points to Path tool. In recent versions (like 2.8 onwards) it's available in the Processing Toolbox under QGIS geoalgorithms - Vector Creation Tools - Points to path. For input, the tool requires two attributes - a group field that specifies the name of the feature that the points belong to (i.e. that will represent ...


1

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


0

Try Points to Lines. It's an ArcScripts that works with ArcGIS Desktop. I have never tried it myself, but it seems like a good option. There's also the Points To Line tool in Data Management.


0

The Integrate tool should do the trick. Although, be advised that Integrate will alter the original point feature class, so run this tool on a copy of the original. Integrate is used to maintain the integrity of shared feature boundaries by making features coincident if they fall within the specified x,y tolerance. Features that fall within the ...


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 ...


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.


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 ...



Top 50 recent answers are included