jgm_GIS
• Member for 7 years, 3 months
• Last seen this week

In your example of y ~ x1 + x2, x1 is an independent variable this is perfectly collinear to the lat lon. X2 is also perfectly collinear to the spatial variables used to calculate the amount of ...

In the example below, thepolygon table is called poly_coverage and the output table is fixed_polygons. Select the polygons that cross the anti-meridian, cast to geom and shift to 0-360, then split ...

You could open the python console and execute the code below, for QGIS 3.X, to randomly change all the layers' colors. from random import randrange layers = [layer for layer in QgsProject.instance()....

It looks like you are trying to apply a list index to objects that are not lists. In your code you loop over the list of files like this: for (i in 1:length(files)){ r <- raster(files[i]) rq &...

This Physics stack exchange post contains a link to this page, with an algorithm for calculating day/night with Lat, Lon and time. Using the formulas on this page you could calculate the lat lon, at ...

This tutorial explains how to summarize attributes when performing a spatial join. QGIS Spatial Join tutorial

This link to PostGIS documentation recommends the following steps in order to ensure indexes and query planner are optimized: Make sure statistics are gathered about the number and distributions of ...

Adding lyr.getSource().refresh() will redraw with an empty layer when an invalid cql expression is used. var filterParams = { 'FILTER': null, 'CQL_FILTER': null, 'FEATUREID': null }; if (...

Are you willing to do this in R or python by linking to your PostGIS database? If you used ST_DumpPoints on all the lines in each 1x1 km cell, you should be able to use one of many available ...

Remove the ; at the end of where st_contains(ST_asText( ST_Polygon('LINESTRING(5.303 51.629, 5.387 51.626, 5.393 51.588, 5.281 51.592)'::geometry, 4326) ), visvangsten.locatie); You also have to ...

The query below creates a linestring from the multilinestring provied. select st_astext(st_makeline(geom)) from ST_Dump(ST_GeomFromText('MULTILINESTRING((-3.16420835153456 55.9269166007097,-3.164222 ...

You could store 120,000 points in a PostGIS database and serve them with GeoServer using OpenLayers or Leaflet. To improve performance you could create rules in an SLD to filter which points are ...

The high negative and positive StdResiduals are areas that the model poorly fits the data. They do not indicate positive or negative association. See the ArcGIS documentation here, where you will see ...

According to this post, your problem is here: <wps:Input> <ows:Identifier>classification</ows:Identifier> <wps:Reference mimeType="image/tiff" xlink:href="http:/...

I found a few issues with this question and the data in the answer. First, you said you are using ST_segmentize to split your linestring into 20 meter segments. It doesn't actually create a ...

You need to decide if the weights are linear, exponential, logarithmic, etc. A simple way to do this, assuming weights are linear, would be to pass a list of points to a function that would use the ...