Tag Info

Hot answers tagged

16

Using ST_Azimuth Planar bearing can be calculated using ST_Azimuth: SELECT ST_Azimuth(ST_MakePoint(1,2), ST_MakePoint(3,4))/(2*pi())*360 as degAz, ST_Azimuth(ST_MakePoint(3,4), ST_MakePoint(1,2))/(2*pi())*360 As degAzrev degaz degazrev ------ --------- 45 225 For spherical azimuth (Quoting potgis-users group): ...


9

Have you looked at a globe lately? :) The prime meridian divides the earth into the western and eastern hemispheres. "West Antarctica" is in the western hemisphere, hence the name.


5

Since you mentioned that are you doing network analysis, I recommend assigning the symbology for your road edges within the network dataset layer in the TOC instead. You are on ArcGIS 10.2, so here are the steps: Add the network dataset into the ArcMap TOC. Open the Layer Properties dialog box by double-clicking the network dataset layer in the ArcMap ...


4

first create the aspect raster with r.slope.aspect then display the arrows with d.rast.arrow.


4

The Weather Underground does this - Road Trip Planner (with Weather) http://www.wunderground.com/roadtrip/ Example Route above: ...


3

Not exactly an answer, but have you seen The Open Source Routing Machine (OSRM) Their routing engine works on OSM-data it seems, but it is opensource, so it could provide som pointers. And their implementation is FAST: http://map.project-osrm.org/


2

A) Direction is calculated from the difference between start and end point B) Distance of line is best to be calculated simpy by $length and is the sum of all individual parts Also note nhopton's comment on how to get bearing of each individual segment: A most elegant solution, thanks. I'd mention that if you need to determine the bearing for each ...


2

The ArcMap Path Distance tools can do this, although it's moderately complex. Specifically, you need to use the horizontal and vertical factors. This looks at the aspect/elevation to figure out whether it's going uphill, downhill, or parallel to the slope, and assigns a different weight to each direction of approach.


1

There are 2 possibilities, what could be wrong. (1) You missed to make use of one-way street information as Uffe answered already. In pgRouting this means, that you need to use reverse_cost and then have different cost values for each direction. See the documentation of Dijkstra algorithm for example, and especially look at the "with reverse_cost" example. ...


1

It seems that all the values in slopes are rounded to the nearest 0,5. So 0,401 m / 2.8284 m = 0,14177, would instead be 0,5/3 = 16,6667. Or if distance is 2 metres, then 0,5/2 = 25 %. In the manual it says the values are rounded in FLAT areas, which seems to be a little off considering it does that where slope is 25 %. Another remark is that in flat areas ...


1

If you are using ArcMap and representing the sewer network using line features go into the layers properties, change the line type to cartographic line symbol. From there you will want to select the line properties tab. In this window you should see a box named Line Decorations with 4 radial buttons. Select the choice that you need. Once you have done so ...


1

It is possible, but it's not a very efficient way of routing. Very few people would want to use the exact starting & ending point as you. It is much more useful to know which are the roads, which are the directions, and the turns and crossroads. The problem with services like Google maps in India, is that while traveling, we use a variety of ...


1

It's possible but performance isn't going to be anywhere near what you'd expect from google api on a small budget for an entire country. You should try it and report back :) ArcGIS Server and Network Analyst is out of the question given the budget. So go with Postgresql, PostGIS and pgRouting. Route Maker did it for a few countries on 4GB RAM


1

You need to typecast each Object on the JSON response to the proper kind. The web service API also doesn't return the ub property of the DirectionsResult (undocumented property), you need that as well. The DirectionsRenderer expects ub.travelMode, ub.origin and ub.destination (all strings). The origin and destination are only used if you enable the ...


1

ITN (Integrated Transport Network) has line direction for the ROADS http://www.ordnancesurvey.co.uk/oswebsite/products/os-mastermap/itn-layer/index.html but for houses/land parcels there is no way - you can add an arrow direction to the digitised line but that will only be the direction the operator drew the original linework to make the parcel polygon. ...


1

I am unsure of anything that already plans routes by weather conditions, but if you were to try to figure it yourself, I would take a look at NOAA/NWS GIS Data. They have both KMLs and Shapefiles for current weather, forecasts, hurricanes, etc.



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