New answers tagged road
Open ArcGIS (author says it requires Arc 10.1). On the Standard Toolbar, select/click on the ArcToolbox button (ArcToolbox icon has little red toolbox on it). When the ArcToolbox Dialog window opens, right-click in it and select "Add Toolbox". Browse to where you extracted the Sinuosity.pyt file, click "Open". This adds the toolbox to your ArcGIS ...
I have never used the tool you downlaoded, but you can use the following calculation to calculate sinuosity. Open the Attribute Table of the Road feature class, right click the column heading of the Double field you want to hold the Sinuosity value and choose Field Calculator... from the context menu: Select the Python option at the top of the Field ...
The warning message is quite clear here: 1: In RGEOSDistanceFunc(spgeom1, spgeom2, byid, "rgeos_distance") : Spatial object 1 is not projected; GEOS expects planar coordinates It requires planar (Cartesian) coordinates, i.e. in meters, miles, etc. You however use polar reference system (WGS-1984). You should re-project your SpatialPointDataFrame to a ...
suppose that in your edge_table you have a column state_id SELECT * from pgr_dijkstra(' SELECT id, source, target, cost, reverse_cost from edge_table WHERE state_id = 16' <rest of you parameters>);
Top 50 recent answers are included