More

QGIS distance matrix in meter instead of decimal degrees

QGIS distance matrix in meter instead of decimal degrees


I'd be thankful for your help. i created a point layers of store locations and customers in Florida by given coordinates (WGS 84 EPSG: 4326). Now i need a distance matrix between stores and customers but the result is in decimal degrees i think. I understand i have to reproject the 2 layers so that i can work with meter but how dows this work in QGIS? Which projection should i use and which setting should i use?


You have to reproject your coordinates to a cartesian system, like UTM. To do this, first, look at the UTM zone for your region, for example in this site and take note of the EPSG or Proj4 definition. Then, in QGIS, save the vector layer with another name, using "save as". You will be given the opportunity to specify a new SRS. Lastly, open the new layer and compute the new distance matrix. It will give you the results in meters.


QGIS for distance learning and teaching GIS at Universities¶

The University of Southern Queensland (USQ) is a regional university located in south-east Queensland, Australia. It has 28,000 students studying both on and off campus. The access of off-campus students to modern technologies such as Internet services varies widely. They also use different types of computers (e.g. Notebook, Desktop etc.) with different operating systems (e.g. Windows, MacOS, and Linux).

Providing education in both an On-campus and Off-campus mode has many technological challenges. Teaching a GIS course requires overcoming these challenges. On average, 300-350 students enrol in the basic GIS course every year. About 80% of them study in the off-campus mode.

USQ Main Campus Map created using QGIS ¶


Jrtdrbd

Would a two-seat light aircaft with a landing speed of 20 knots and a top speed of 180 knots be technically possible?

First-year PhD giving a talk among well-established researchers in the field

Is there a maximum distance from a planet that a moon can orbit?

What are the benefits of using the X Card safety tool in comparison to plain communication?

What is the legal status of travelling with (unprescribed) methadone in your carry-on?

Links to webpages in books

Low-gravity Bronze Age fortifications

Using “sparkling” as a diminutive of “spark” in a poem

How well known and how commonly used was Huffman coding in 1979?

Is there any set of 2-6 notes that doesn't have a chord name?

Is this one of the engines from the 9/11 aircraft?

Employer wants to use my work email account after I quit, is this legal under German law?

Why does the numerical solution of an ODE move away from an unstable equilibrium?

Can you apprehend something instead of someone?

How to split an equation over two lines?

Require advice on power conservation for backpacking trip

What happens when your group is victim of a surprise attack but you can't be surprised?

Going to get married soon, should I do it on Dec 31 or Jan 1?

Hot coffee brewing solutions for deep woods camping

What sort of mathematical problems are there in AI that people are working on?

Why aren't (poly-)cotton tents more popular?

Distance Matrix (plugin) - QGIS

Distance Matrix in QGISDistance Matrix QGISProblem with Distance Matrix in Qgis 2.83CRS transform from EPSG 4326 (WGS 84) ? to EPSG 27700 (OSGB 1936 / British National Grid)QGIS Distance Matrix OutputDistance matrix returning incorrect values in QGIS 2.18Creating a distance matrix for line and/or polygon layers?Distance matrix in QGIS shows distance zero to all pointsFixed distance buffer is oval in QGIS?QGIS 3.4 distance matrix returns the wrong point

I have two points in OSGB 1936 (EPSG 27700):

Distance Matrix produces a result between A and B which is not exactly 100m (100.03935792736038 to be precise!). Why is that?

4cm in 100m is almost certainly better than the measurement error in each point

I have two points in OSGB 1936 (EPSG 27700):

Distance Matrix produces a result between A and B which is not exactly 100m (100.03935792736038 to be precise!). Why is that?

4cm in 100m is almost certainly better than the measurement error in each point

I have two points in OSGB 1936 (EPSG 27700):

Distance Matrix produces a result between A and B which is not exactly 100m (100.03935792736038 to be precise!). Why is that?

I have two points in OSGB 1936 (EPSG 27700):

Distance Matrix produces a result between A and B which is not exactly 100m (100.03935792736038 to be precise!). Why is that?

4cm in 100m is almost certainly better than the measurement error in each point

4cm in 100m is almost certainly better than the measurement error in each point

4cm in 100m is almost certainly better than the measurement error in each point

4cm in 100m is almost certainly better than the measurement error in each point


QGIS distance matrix in meter instead of decimal degrees - Geographic Information Systems

I have two point shapefiles (start/destination) and one sort of street network shapefile. I would like a to create a distance matrix from the start-shapefile to the destination points, using the street network file. It does not necessarily have to be "shortest path", because mostly there is only one way anyway.

I am using QGIS 3.21 at the moment, but I have 2.18 also, so I don't really care on which one.

Is there a proper solution?

You can use the plugin QNEAT3 which is available for QGIS3. It offers multiple processing algorithms that produce origin-destination matrices (OD-Matrix) as line layer, table or csv file. It also supports m:n relations which fits to your two layers in your question. All algorithms rely on the dijkstra() method in the qgis.analysis module, therefore all costs are calculated on the basis of shortest paths.

You can get more information about the plugin at the qgis plugin repository and at the plugins documentation.


QGIS Distance Calculator

I want to find a location that is close to existing industrial areas (red polygons) and away from Sites of Special Scientific Interest (green polygons)

I will do this by using the Proximity (Raster Distance) analysis tool to create distance thematics, then using the Raster calculator to average the distance from each criterion.

Convert to Raster

The process only works with input files that are in raster format. As our source is in vector format (it’s a polygon .shp file), we need to convert it to a raster file.

It is good practice to add an attribute column, set its value to 1 so the resulting raster has a value of 1 for all the polygons. This can be done using the Field Calculator in the Attribute table.

Change display properties

The raster initially appears as a grey box. Don’t worry, this is normal. I am going to adjust its display properties so I can see the information.

  1. Right click on the layer
  2. Select Properties
  3. Select Stretch to MinMax under Contrast Enhancement
  4. Select the style tab
  5. Tick Invert Colour map. This makes the areas with a value of 1 black and the areas with a value of 0 white

The colours look quite stark, so I’m going to apply a transparency:-

  1. Select the Transparency tab
  2. In the Transparent Pixel List box, enter 1 under Gray and 50 under % Transparent

Its appearance is now less over-powering and I can see other layers too:-

Calculate Proximity/Distance

Now to create a thematic based on the proximity (or distance) between each pixel and the nearest point of a SSSI site:-

  1. Open the Proximity calculator by selecting Raster menu, Analysis, Proximity (Raster Distance)
  2. Select the input raster and output raster (I found it works best if the output file is in .tif format)

Proximity (Raster Distance) calculator dialog

  • I want to measure the distance to SSSI pixels with a value of 1 (that is what I set to be the value used for areas with SSSI designation)
  • Distance units are Geo (geographical) rather than pixels

The output is initially a grey square. I have made the following adjustments:-

It is worth exploring the options to invert the colour map and Contrast Enhancement

The SSSI sites are visible as the green polygons, the thematic is red for areas closest to sites and blue for areas furthest away:-

Repeat the process for all the necessary layers:

Proximity Distance Calculator Results

Raster Calculator

The raster calculator is a powerful tool that performs mathematical operations on each cell in a raster. Examples of this can be to calculate elevation, distance or density.

In this case, I am going to use it to identify the areas that are greater than 1km from a SSSI site by applying queries to identify matching pixel values.

The map units are in metres, so 1,000m = 1km

The resulting raster appears as a grey box. As usual, adjust its display properties (e.g. Contrast Enhancement, Invert Map and Transparency). The areas that are further than 1km from a SSSI site are now highlighted in grey, with the sites visible in green:-


QGIS at the University of Southern Queensland¶

GIS education is incomplete without hands-on processing skills. However, providing hands-on GIS skills to off-campus students is not easy because of issues of internet access, cost of software licenses and compatibility with different computer Operating Systems.

The traditional GIS education program at USQ was originally designed to provide different levels of access to GIS learning resources. On-campus students received simultaneous hands-on GIS instruction while the Off-campus students attended a residential school at USQ’s main campus later on to receive hands-on GIS instruction. Providing different levels of instruction to different groups of students enrolled in the same course at the same time wasn’t considered fair to the students. Removing this inequity became a priority.

Different open access geospatial software programs were evaluated for our needs. QGIS was found to be the most suitable to overcome almost all of the challenges we faced. The particular advantages included its free availability, user-friendliness, adaptability and platform independency. We adopted it and enriched it with additional learning resources developed at USQ.

The traditional ‘cook-book’ tutorial method of teaching was replaced with contemporary audio-visual demonstration presentations followed by problem-based hands-on learning exercises. The course assessments (assignments) were rewritten to require use of GIS software. Students completed more than 24 QGIS based hands-on exercises and an assignment during the semester.

On average, 93% of the students in the course used QGIS software and the instructional resources. Voluntary feedback was received from 51% of the QGIS users. The results (Figure 2) show the majority (82%) of the students rated QGIS software and the hands-on learning resources as, ‘helpful’ to ‘very helpful’ in learning GIS. Most others rated it as ‘reasonable’.

Feedback comments to the question, „what were the best aspects of this course“ included:

The detail in the recorded QGIS audio-visuals.

Using and learning QGIS software

The QGIS software was interesting

I liked the course especially using QGIS

Good choice to use open source software

Videos to help navigate QGIS were fantastic

The practical activities and teaching of QGIS

Having hands on use of programmes through QGIS

QGIS was great to get experience using GIS software

The QGIS training videos helped to learn the basics of a GIS package

The lectures helped with the QGIS by showing you exactly how to use the program

The use of QGIS helped break apart and understand theory delivered in this course

The QGIS exercises are well designed and take students step by step through the process of using a GIS

It is clear that student’s benefited substantially from the use of QGIS. QGIS provided the same learning opportunity for each student enrolled in the course irrespective of where they were or how they accessed the material


Ytdjtkui

Do I really need to have a message in a novel to appeal to readers?

Understanding p-Values using an example

What initially awakened the Balrog?

How to draw this diagram/graph using tikz?

Mechanism of oxidative dearomatisation with hypervalent iodine

Why is std::move not [[nodiscard]] in C++20?

Cut your dress down to your length/size

A term for a woman complaining about things/begging in a cute/childish way

Strange behavior of Object.defineProperty() in JavaScript

Co-worker has annoying ringtone

How much damage would a cupful of neutron star matter do to the Earth?

Is multiple magic items in one inherently imbalanced?

Plot data from external file with floating numbers

What does this say in Elvish?

Can the Flaming Sphere spell be rammed into multiple Tiny creatures that are in the same 5-foot square?

What are the geometrical meaning higher Chern forms and classes?

Is there public access to the Meteor Crater in Arizona?

"klopfte jemand" or "jemand klopfte"?

Why is it faster to reheat something than it is to cook it?

Can red LEDs be used as darkroom safe lights?

Did Mueller's report provide an evidentiary basis for the claim of Russian govt election interference via social media?

Comparing distance matrices in R

Unicorn Meta Zoo #1: Why another podcast?Strange distance measurements in distance matrixQGIS distance matrix: wrong metric distanceDistance Matrix in QGIS, which SRIDEfficiently calculate distance between raster patch edgesHow to visualise change matrices over timeQGIS Distance Matrix OutputDistance Matrix outputQGIS Distance Matrix execution failsDistance matrix (nearest neighbour) with polygonsDistance matrix in QGIS shows distance zero to all points

I am trying to compare a distance matrix of microbial communities to a distance matrix of geographic sample locations to understand if there is a distance decay relationship in my dataset. The end goal is to plot geographic distance against community dissimilarity scores with a trendline from a least squares regression.

Distance communties (samples with species counts) and between the sample locations (lat, lon values) are being evaluated as follows currently:

Does anyone have thoughts on the best way to accomplish my end goal?

Soliciting the "best" of anything, especially when it's thoughts, is likely to run up against our opinion-based close reason. Can you Edit the question to phrase it less like you're soliciting multiple opinions?

Sounds like a statistical modelling question that might be better asked as such on stats.stackexchange.com

WIthout your data its hard for us to help. Can you do plot(geodist, commdist) to get a scatter plot? Can you do lm(geodist

commdist) to fit a regression model?

I am trying to compare a distance matrix of microbial communities to a distance matrix of geographic sample locations to understand if there is a distance decay relationship in my dataset. The end goal is to plot geographic distance against community dissimilarity scores with a trendline from a least squares regression.

Distance communties (samples with species counts) and between the sample locations (lat, lon values) are being evaluated as follows currently:

Does anyone have thoughts on the best way to accomplish my end goal?

Soliciting the "best" of anything, especially when it's thoughts, is likely to run up against our opinion-based close reason. Can you Edit the question to phrase it less like you're soliciting multiple opinions?

Sounds like a statistical modelling question that might be better asked as such on stats.stackexchange.com

WIthout your data its hard for us to help. Can you do plot(geodist, commdist) to get a scatter plot? Can you do lm(geodist

commdist) to fit a regression model?

I am trying to compare a distance matrix of microbial communities to a distance matrix of geographic sample locations to understand if there is a distance decay relationship in my dataset. The end goal is to plot geographic distance against community dissimilarity scores with a trendline from a least squares regression.

Distance communties (samples with species counts) and between the sample locations (lat, lon values) are being evaluated as follows currently:

Does anyone have thoughts on the best way to accomplish my end goal?

I am trying to compare a distance matrix of microbial communities to a distance matrix of geographic sample locations to understand if there is a distance decay relationship in my dataset. The end goal is to plot geographic distance against community dissimilarity scores with a trendline from a least squares regression.

Distance communties (samples with species counts) and between the sample locations (lat, lon values) are being evaluated as follows currently:

Does anyone have thoughts on the best way to accomplish my end goal?

Soliciting the "best" of anything, especially when it's thoughts, is likely to run up against our opinion-based close reason. Can you Edit the question to phrase it less like you're soliciting multiple opinions?

Sounds like a statistical modelling question that might be better asked as such on stats.stackexchange.com

WIthout your data its hard for us to help. Can you do plot(geodist, commdist) to get a scatter plot? Can you do lm(geodist

commdist) to fit a regression model?

Soliciting the "best" of anything, especially when it's thoughts, is likely to run up against our opinion-based close reason. Can you Edit the question to phrase it less like you're soliciting multiple opinions?

Sounds like a statistical modelling question that might be better asked as such on stats.stackexchange.com

WIthout your data its hard for us to help. Can you do plot(geodist, commdist) to get a scatter plot? Can you do lm(geodist

commdist) to fit a regression model?

Soliciting the "best" of anything, especially when it's thoughts, is likely to run up against our opinion-based close reason. Can you Edit the question to phrase it less like you're soliciting multiple opinions?

Soliciting the "best" of anything, especially when it's thoughts, is likely to run up against our opinion-based close reason. Can you Edit the question to phrase it less like you're soliciting multiple opinions?

Sounds like a statistical modelling question that might be better asked as such on stats.stackexchange.com

Sounds like a statistical modelling question that might be better asked as such on stats.stackexchange.com

WIthout your data its hard for us to help. Can you do plot(geodist, commdist) to get a scatter plot? Can you do lm(geodist

commdist) to fit a regression model?

WIthout your data its hard for us to help. Can you do plot(geodist, commdist) to get a scatter plot? Can you do lm(geodist


A comparison of Euclidean Distance, Travel Times, and Network Distances in Location Choice Mixture Models

This article investigates the selection of a distance measure in location modeling. While in the empirical literature the choice usually boils down to picking one single measure, this research proposes a flexible approach in which several measures may be used in parallel to capture the surrounding economic landscape. This is intended to acknowledge that interactions between agents may take several forms, occurring through different channels and as such being based on different measures. The methodology is applied to the location choice of establishments in the Paris region, using a mixture of ”mono-distance” hurdle-Poisson models. Seven distance measures are considered: Euclidean distance, the travel times by car (for the peak and off-peak periods) and by public transit, and the corresponding network distances. For all the economic sectors considered, the mixture of hurdle-Poisson models performs significantly better than the “pure” mono-distance models. This corroborates that local spatial spillovers are indeed channeled by different means, hence best represented using several measures. The combination of peak and off-peak road travel times (slightly) outperforms other combinations including the Euclidean distance, supporting the choice of meaningful over more abstract measures in spatial econometric models. The distance measure most likely to capture local spatial spillovers varies depending on the economic sector examined, reflecting differences between sectors in operations and location choice criteria.

This is a preview of subscription content, access via your institution.


QGIS at the University of Southern Queensland¶

GIS education is incomplete without hands-on processing skills. However, providing hands-on GIS skills to off-campus students is not easy because of issues of internet access, cost of software licenses and compatibility with different computer Operating Systems.

The traditional GIS education program at USQ was originally designed to provide different levels of access to GIS learning resources. On-campus students received simultaneous hands-on GIS instruction while the Off-campus students attended a residential school at USQ’s main campus later on to receive hands-on GIS instruction. Providing different levels of instruction to different groups of students enrolled in the same course at the same time wasn’t considered fair to the students. Removing this inequity became a priority.

Different open access geospatial software programs were evaluated for our needs. QGIS was found to be the most suitable to overcome almost all of the challenges we faced. The particular advantages included its free availability, user-friendliness, adaptability and platform independency. We adopted it and enriched it with additional learning resources developed at USQ.

The traditional ‘cook-book’ tutorial method of teaching was replaced with contemporary audio-visual demonstration presentations followed by problem-based hands-on learning exercises. The course assessments (assignments) were rewritten to require use of GIS software. Students completed more than 24 QGIS based hands-on exercises and an assignment during the semester.

On average, 93% of the students in the course used QGIS software and the instructional resources. Voluntary feedback was received from 51% of the QGIS users. The results (Figure 2) show the majority (82%) of the students rated QGIS software and the hands-on learning resources as, ‘helpful’ to ‘very helpful’ in learning GIS. Most others rated it as ‘reasonable’.

Feedback comments to the question, «what were the best aspects of this course» included:

The detail in the recorded QGIS audio-visuals.

Using and learning QGIS software

The QGIS software was interesting

I liked the course especially using QGIS

Good choice to use open source software

Videos to help navigate QGIS were fantastic

The practical activities and teaching of QGIS

Having hands on use of programmes through QGIS

QGIS was great to get experience using GIS software

The QGIS training videos helped to learn the basics of a GIS package

The lectures helped with the QGIS by showing you exactly how to use the program

The use of QGIS helped break apart and understand theory delivered in this course

The QGIS exercises are well designed and take students step by step through the process of using a GIS

It is clear that student’s benefited substantially from the use of QGIS. QGIS provided the same learning opportunity for each student enrolled in the course irrespective of where they were or how they accessed the material


Scalebar display is wrong when working with different geographic coordinate systems #29441

working with latlong coordinates, I've noticed that scalebar display of QGIS (3.6.0) is wrong when changing from WGS84 ellipsoid to, for example, Mars (GCS_Mars_2000 in the CRS list).

To replicate this, find attached a 10x10 1-degree latlon grid in GML format. Spacing between 1-degree meridians at equator and between parallels should be around 111km for WGS84.

Changing the SRS to GCS_Mars_2000 the same 1-deg distance should be around 59km, using the QGIS distance tool the measure is correctly displayed, but the scalebar is wrong (see the screenshot attached).

It seems that scalebar display keeps using WGS84 when working with different geographic coordinate systems, while the measuring tool seems to work.

The text was updated successfully, but these errors were encountered:

We are unable to convert the task to an issue at this time. Please try again.

The issue was successfully created but we are unable to update the comment at this time.


Watch the video: QGIS Basic #109: Why does my Geoprocessing Buffer Distance show in Degrees and how can can I fix it?