Tag Info

Hot answers tagged

4

You can achieve this using the Construct Points tool while in edit mode. If you need to do this to multiple features, you could use the Densify tool, then use the Feature Vertices to Points. Keep in mind that this assumes you currently have lines, and not polylines, because ALL vertices (even one's not at your specified densify distance) will also become ...


4

To select from the map using the current selection environment (you can turn off selectability and visibility of layers then this wont pick them up. Firstly you need to be creating a tool: using ESRI.ArcGIS.Carto; using ESRI.ArcGIS.ArcMapUI; using ESRI.ArcGIS.Geometry; using ESRI.ArcGIS.Framework; using ESRI.ArcGIS.esriSystem; using ESRI.ArcGIS.Display; ...


4

First of all, some performance metrics, comparing the two different ways of producing points for a random selection of a million points. create table test (id serial, x real, y real, geom geometry(POINT, 27700)); insert into test (x, y) select random(), random() from generate_series(1, 1000000); update test set geom = ST_SetSRID(ST_MakePoint(x, y),27700); ...


3

This is a relatively easy process to perform in MapInfo. There isn't a Spatial Join tool in MapInfo, per se. However, you can do the join using the Update Column tool. Note, I'm using 12.5, but the steps are the same in 10.0. I created a polygon table called Polygon and gave it a field called PolyID. I also created a point table called Point and gave ...


3

Never used matrices so I could be wrong. But I would create a buffer from a central point (which you can add manually) and use the radius of a circle (I'm assuming the radius is the same for all of them otherwise you may have to create more buffer layers). When buffering, set the segments to approximate to 99 to have a smoother perimeter: You can then use ...


2

If I understand it correctly, you are trying to rotate symbols for point features. Rotating the point features themselves won't work. A point is a point, and has no direction. You should be able to perform symbol rotation through the layer's symbology tab, choose advanced and then rotation. You will need a field with rotation values for this in geographic or ...


2

Try this in the python window in ArcMap: points = [] for row in arcpy.da.SearchCursor('C:/Temp/line.shp', ["SHAPE@"]): # change this to your source line layer length = int(row[0].length) for i in xrange(0, length + 10, 10): # assuming units are in meters for feature spatial reference point = row[0].positionAlongLine(i) ...


2

I clearly don't know the "best" solution between ST_PointFromText and ST_MakePoint. The thing you should notice is that ST_PointFromText and PointFromText are the same function (syntax change due to function normalisation SQL MM). Now, the right ones are ST_* So what you want is something like below (|| are for concatenation) UPDATE points_of_interest SET ...


2

I think this may create the points you need, in a simpler manner (I used a spreadsheet, because it is easier, but this could be done inside QGIS, too: a) You want "n" points, in your case, 23. Calculate the value of 2*pi/n. This is the angle between each of your points [ "angle" ] b) Create a column ["ID"] with the numbers 1 to n ; n=23 in your case c) ...


1

If you want your tool to interact with the map, you need to write a python add-in. To retrieve the X and Y coords of the point you click, use the x and y values of the onMouseUpMap() or onMouseDownMap() function of the Tool add-in class. You have a nice example of code that corresponds to this in this article: HowTo: Capture map coordinates with a mouse ...


1

Just wish to add two things to John Barça's fine answer: First, ST_PointFromText() would be most useful if your coordinate data were already in the form of lines of text like this POINT(xxx.xx yyy.yy) where each xxx.xx yyy.yy were actual coordinates, perhaps as output from another process/system. Going out of your way to add in the text "POINT" is ... ...


1

With the advanced licence, you can select by attribute all your P lines, then use the "Near" tool in order to get the coordiantes of your nearest points (equivalent to the point on the perpendicular) on the lines (Near_X and Near_Y fields). Then you can create points from these coordinates (see here or with the "add XY event" tool.) If not, you can use the ...



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