Tag Info

Hot answers tagged

5

You could try the Identity tool, using your line features as the input, and polygons as the identity features: "When the Input Features are lines and the Identity Features are polygons, and the Keep relationships parameter is checked (relationship set to KEEP_RELATIONSHIPS), the output line feature class will have two additional fields, LEFT_poly and ...


4

I think that "node centrality" concepts, in the graph theoretic literature, may be helpful. Here is an introduction to centrality measures in graphs.


4

Update you roads direction using a formula something like if (45 <= (360 + math.atan2((!Shape.lastpoint.X! - !Shape.firstpoint.X!),(!Shape.lastpoint.Y! - !Shape.firstpoint.Y!)) * (180 / math.pi)) % 360 % 180) < 135): dir = 'W-E' else: dir = 'N-S' Then for each direction group number them in order using the first opposite ordinate to sort. ...


3

I think you are going to have to break (as a node) the road at the polygon edges to do this in vector space. 1) Use Identity Tool in ArcGIS and this should do the trick. Just option that is something like Just ID Remember to recalculate lengths in the attribute table after the identity (just to be sure) It will add the polygon details (in this case thee ...


3

Without an Advanced level license of ArcGIS for Desktop your best alternative may be to use ArcPy and Geometry objects. Upon seeing the Comment from @Michael Miles-Stimson I looked in the ArcGIS 10.2 Online Help and found that the Polyline object has a queryPointAndDistance method which: Finds the point on the polyline nearest to the in_point and the ...


3

That's a known issue of QGIS 2.2 but it should be fixed in the dev version and will be in 2.4. See http://hub.qgis.org/issues/9780


3

You can download the data from open street map .Use the Export button on top left option to download data. Additionally if you are looking for an routing/ networking algorithm you can have a look at project OSRM which uses the above mentioned data for routing. hope it helps. good luck .


2

To answer this another question ("How to identify front of land lot?"), we need also to separate "property boundary" of land lot from public boundary of lanes, sidewalks and other public parcels of a city block. There are another concept, between "privately owned" and "public" (not privately owned): the condominium, where the lanes, sidewalks, gardens, ...


2

You do not specify which GIS system you wish to implement your analyses so you could investigate the sDNA which can be run in ArcGIS, python or AutoCAD.


2

Apologies if I misunderstood your question but perhaps you could create a new attribute column and calculate the length of each feature from there using: $length Hopefully others will help if I am indeed mistaken.


1

EDIT : The default output of line density is in kilometer per square kilometer. So the output of the tool is already what you are looking for (you don't need to divide it again by the size of the circle, this is done automatically). Note that the vector-based approach from @Anggik will be more precise, however you will not have overlapping window analysis.


1

in my point of view, you should decide your unit area (it could be county boundary or certain grid). after that, do some geoprocessing to divide roads in each unit area. Then you calculate each of roads length in each unit area and divide with the hectarage (or km2).


1

I don't know what could be the difference between console and plugin, I think it should to work either way. Also you try to replace layer.commitChanges() (which makes not sense there) with layer.triggerRepaint() and look if that helps (note it is not necessary to call mapCanvas.refresh()). You can also use custom properties for the layer to enable labeling, ...


1

Here is a decent start to what you're asking. It can be more accurate if you somehow gathered the "mean direction" of all the vertices and used that to determine the azimuth for a given road segment. Also, this uses an arcpy.Sort_management function that sorts the feature table spatially starting, in this case, with a particular corner of the data (like "LR" ...


1

You have to distinguish between the Openstreetmap database and the extracts that are based on it. The website shows the current content of the database. With the link "Download XML" you can download the xml, and import it into QGIS using the OpenStreetMap plugin or "Add Vector Layer". The pbf files from Geofabrik offer you the same database content, cut to ...


1

Metadata is data about data - the coordinate system of a layer, what the allowable attribute values are, or what a given attribute is/means. In a shapefile (which is a database) what you're asking about is an attribute. However in the OSM data this information is stored as tags because it is xml (Extensible Markup Language) document and not a database. See ...


1

For advanced editing, I suggest to switch over to the editor JOSM. In JOSM, the way gets arrows in the direction while the way is in editing mode.


1

Softree Technical Systems has been working with the University of British Columbia's Mathematics Department on vertical alignment and earthwork optimization technologies. See: http://www.publicaffairs.ubc.ca/2012/12/18/revolutionizing-road-design/ Please refer to our website http://softreeoptimal.com/ for further details or send me an email at ...


1

While there is some degree of convergence happening between GIS and civil engineering CAD tools, you are probably much better off with the latter type of, much more specialized, tool. Some examples of suitable civil engineering CAD tools: Softree's RoadEng is very good (I worked on it briefly) and relatively low-cost. Autodesk's (AutoCAD) Civil 3D is ...


1

Ok a lot of questions, so I will start with a general hint: What you are looking for is just a 'routing graph' for a geodata set (here: OSM). As you say this graph needs to fullfil certain properties (as connectivitiy, level of detail, ...) but IMHO your cell approach sounds a bit complicated. There are existing solutions to turn OSM raw data into graph ...


1

Very late reply but I posted a similar answer not long ago. You can download .csv file which contains roads of GB (not UK unfortunately but still might be useful) with the length measured in miles: http://data.dft.gov.uk/gb-traffic-matrix/Traffic-major-roads-miles.csv It also contains coordinate data for it to be immediately imported into various GIS ...


1

If your a student, you can access the OS's ITN which will give you the best results. If not this dataset is very expensive and I'd use the OSM version.


1

When you say United Kingdom, you mean England, Wales, Scotland and Northern Ireland. The data from the Ordnance Survey for Great Britain is for England, Wales and Scotland only, not Northern Ireland. See Ordnance Survey Products for free sources. Mid Scale 1:30,000-50,000 Meridian2 vector data 1:10,000 (could be used a 1:5,000 as vector data) For the ...



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