Tag Info

New answers tagged

0

Here's one ESRI plugin for "weighted voronoi diagrams". @martinf pointed me in the right direction. An ArcGIS Extension for Generating and Updating Ordinary and Multiplicatively Weighted Voronoi Diagrams for Points, Lines, and Polygons Unfortunately I don't have access to ArcGIS, so this particular solution isn't much good to me. It's still useful to see ...


0

The solution for my problem was the Nearest Neighbor Join Plugin.


0

I found the (or one) solution: One needs the Tool "Service Area" in Network Analyst. First, you need to have some necessary prerequisites: a) Set up a Network in Network Analyst. You need to have the Length of the roads/rivers/etc. as an attribute added while setting up the Analyst, name it e.g "Distance" b) You need a column in your location file which ...


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


0

A non Arcmap answer. load your tables in PostGIS. Run something like: SELECT DISTINCT ON (pid) pid,rid,ST_Length(dist_line) dist FROM (SELECT points.id pid, roads.id rid ST_ShortestLine(points.geom,roads.geom) dist_line FROM points, roads) a LEFT JOIN rivers ON ST_Intersects(dist_line, rivers.geom) where rivers.id IS NULL ORDER BY dist; It will not work ...


0

You need to turn your analysis to Raster. Try the Proximity analysis set of tools found in ArcMap http://resources.arcgis.com/en/help/main/10.1/index.html#//018p00000007000000 You can use the Cost Allocation tool to set the barriers http://resources.arcgis.com/en/help/main/10.1/index.html#//009z00000016000000


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


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


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


0

Minor Typo ,Replace esriSRGeoCSType.esriSRGeoCS_WGS1984 with esriRSGeoCSType.esriSRGeoCS_WSG1984


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


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


0

If I understand your data corectly this might work. Assuming that you have a point shape file with each point, anywhere on your model, stands for 10 people. Than you might want to create a "grid" of polygons using the fishnet tool. Then you can create a buffer with the 3,000 meters for your grid (do not dissolve your output). At this point it would be best ...


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


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


0

Ok, the solution is Create a 2D point shapefile from current 3D point shapefile and remove duplicate points (Delete Identical) Right click in the TOC and select Join A window like below will open and set a. "Join data from another layer based on spatial location" b. "1. Choose the layer ... " > your 3D point shapefile c. "Each point ... " > Select ...


0

PointConnector is now updated to support integers as input, which should solve this issue. Please let me know if it doesn't!


0

It was a bug in QGIS 2.4 (as shown at https://hub.qgis.org/issues/10747), which has been fixed for the upcoming 2.6 release.


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



Top 50 recent answers are included