Hot answers tagged

3

Create a copy of your road. Start editing it, select line and and split into equal length segments, I’d say approximately 50 m. Convert segments to 3D shapes: Calculate field abs( !Shape!.lastPoint.Z- !Shape!.firstPoint.Z)/ !Shape!.length*100 Result: Please note both roads shown are fictions. One of them made of contour line, guess which. I ...


2

I posted this question on the R-sig-Geo listserv and received a helpful answer from Adrian Baddeley, one of the spatstats authors. I will post my interpretation of his response here for posterity. Adrian notes that the function spatstat::pixellate.psp() is a better match to my task. This function converts a line segment pattern (or SpatialLines object ...


2

I think you are correct that the only way to update Waze is manually using the Waze Map Editor. To determine whether there is any unadvertised means to apply updates in the way you seek I recommend contacting Waze using their Contact Us page.


2

As far as I can tell, OSM data does not define the road width, but there is a property named "highway" that describes the road type. You can use this property to symbolize different road types with different widths. For certain features, there may also be a lanes key, which you can use to get an idea of the actual road width. (But I would suspect that width ...


2

You can use the Merge Divided Roads (Cartography) tool for this. Generates single-line road features in place of matched pairs of divided road lanes. Matched pairs of roads or lanes are merged if they are the same road class, trend generally parallel to one another, and are within the merge distance apart. The road class is specified by the Merge ...


2

OpenStreetMap is a crowd-sourced spatial dataset. The free download server (http://download.geofabrik.de/) provides access to daily-updated information. Not sure about traffic volumes though.


2

You might try SharpGIS SqlSpatial Query Tool.


2

There is an experimental QGIS plugin (you need to mark "Show also experimental plugins" in Plugins|Settings) named PointsToPaths that converts points to lines with verticies grouped by a text or integer field and ordered by an integer or date string field. You can try out it.


2

To make this an answer for others: Here those roads are called Frontage Roads. So the road that runs along side I-35 is simply I-35 NB Frontage for the northbound, SB for the southbound. I am not sure if that is a universal naming method or not. Since you are using a road network you will need to give the roads proper classification and possibly ...


2

You could use CASE statements (essentially an IF THEN ELSE statement) to determine the speed limit by road type. First either select to Create a new field (and determine whether you want integer, string etc. I will assume string) or Update an existing field and use an expression similar to the following: CASE WHEN "road_type" = 'lane' THEN '35 mph' WHEN ...


1

Instead of tracing you could try this Polygon to Centerline tool: http://www.arcgis.com/home/item.html?id=bc642731870740aabf48134f90aa6165 I have heard some people have had problems with it and others have gotten it to work just fine but it might be worth a shot and save you a lot of time instead of tracing. There is also a tool called Collapse Polyline ...


1

Thanks for your advice. However, the lines must run along existing roads (marking the buses lines) and this is my main problem. Using these plug-ins I combine points with stright lines.


1

You can also try Points2One plugin. It converts points to lines.


1

Assuming you are only interesting in visualizing these colours and not worried about trying to encode the "distance" into the road network why not simply run the Intersect Tool? Intersecting your road network with your polygon buffer layer. I'm assuming the buffer distance is a field in your buffer layer. By Intersecting these two layers you "chop" out the ...


1

I suggest it would be easier to calculate the slope from the DEM: Calculate a slope surface from your DEM using the slope function in spatial analyst.(mind the choice of slope unit here degree vs. percent rise- for your purpose you need percent rise) Use the extract by mask function from spatial analyst and extract only cells that cover your line from ...


1

Did not find anything native to solve this issue. Instead I wrote a python script that tested each vertex to see if it was on a line segment of another line. Used code below to test if a point falls between points of a line segment. how-can-you-determine-a-point-is-between-two-other-points-on-a-line-segment


1

You can either use pgRouting or if not using your data but the OSM street network would be fine, use the OSM Route plugin: Enter a start point and fill out the Accessibility Analysis options.


1

geocode the points of interest. then take your road centerline shapefile and create a buffer around it that is adequate for your needs (as some points of interest may be 40' off the road, etc) then do a spatial join of all POIs that fall inside the road buffer.


1

The linked post will give you your answer... But those profile graphs are pretty useless graphics. The point thing will work, but might miss the actual maximum or you might needlessly create far too many points. I think you could avoid it all by using the Add Surface Information tool from the 3D Analyst toolbox and asking for Z_MAX. ...


1

I haven't used that particular tool but the results look fairly typical of unsupervised snapping when the line vertex order doesn't respect the street topology and the geometric accuracy is poor. Not sure if by merge you simply mean create a topologically connected set of roads or merging parallel dual carriageway. But one option is to buffer with merge ...


1

From the Google Maps Maker Maker Help page: Lanes designate the number of vehicles that can pass parallel to one another on the route. Select the number of lanes to specify the total number of drivable lanes on the drawn road. Verify the number of lanes selected using satellite imagery and Street View where available. One-way Roads: Use the total ...


1

I might have found the culprit: the code checks the wkbType of the layer https://github.com/qgis/QGIS/blob/master/src/plugins/roadgraph/linevectorlayerwidget.cpp#L135 if ( vl->wkbType() == QGis::WKBLineString || vl->wkbType() == QGis::WKBMultiLineString ) mcbLayers->insertItem( 0, vl->name() ); but it returns a weird value for the ...


1

Here's one approach: Using OSM data from Geofabrik you will have the administrative boundaries and all the roads. Simply load the data into PostGIS (there are plenty of tutorial of how to do that - other spatially enabled databases are available) and then select all roads that intersect the appropriate level of admin boundary. The count of the selection ...


1

First thing first is clean up the data. 1) Use the UNSPLIT LINE tool with the dissolve field set to the street names. 2) Use the 'Plannerize tool' on the output at step 1 to create segments between each crossing 3) Used the 'intersect tool' to create points at each intersection. (Join Attributes set to FID_Only and the output type should be set to ...


1

I don't consider this a complete solution as it relies on non-out-of-the-box tools and isn't fully tested. It also may require an Advanced license. For now I am removing the comments I made linking to questions with methods using the start and end nodes of the lines, as after some testing I'm not sure how to apply that to this problem (while at the same time ...


1

That's a very nice use case for Linear Referencing tools. Have a look at my answer to this post: QGIS Linear Referencing. There I explain the capabilities of the QGIS LRS plugin. That should help you get started.


1

There are several services that will sell you the roads data for your region. You can download the roads and ways data for free from OpenStreetMap if there is data available for your geographic area. You can get the data in XML format and use it for your routing. I did this, for example, to create a map of all the roads in my county. Just follow the ...



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