All Questions

0
votes
0answers
2 views

pyqgis intersects and update field

i have two different polygons layers(one postgis layer and other is temporary shp from QGIS) That layers they have common fields names (id,field_1) but different geometries. i want the first polygon ...
1
vote
1answer
54 views

QGIS 3 Processing Script refer to input layer

I'm new to Python and trying to figure out how to write my first Processing Script using QGIS 3.6 on Windows 10. I'm using the default template provided in QGIS 3 (Toolbox > New script from template)....
0
votes
1answer
8 views

Determining Appropriate DBDB-V Subdataset

I am using DBDB-V v6.2 and GDAL, specifically the dbdbv6_level0c.h5 HDF5 file and the GDAL 2.3.3 C# binaries. Using these lines of code I can easily find the full list of Subdatasets used in the ...
-1
votes
1answer
30 views

ArcMap Raster Calculator with Python code

I'm trying use raster calculator that can export a raster to do different average values for for multiple layers. For example, I want to do averages for only the values and layers that are greater ...
0
votes
0answers
6 views

Iterative Processing for make netcdf table View IN ARC GIS?

I am trying to process NetCDF file using Make NetCDF view table but didn't understand where it stores output? I have 32 nc file for which I am using model builder.
0
votes
1answer
20 views

What algorithm is used by the $geowithin operator of Mongodb

MongoDB can perform geospatial query such as finding restaurants inside region with the operator $geowithin. For example: db.places.find( { loc: { $geoWithin: { $geometry: { ...
1
vote
0answers
9 views

Getting attribute information from layer in OpenLayers

I just want to add a layer that represents a city with its city districts. When the user clicks on a district, the site fires an alert presenting the population number. It looks like that: ...
8
votes
1answer
216 views

Remove “Save As” from QGIS Context Menu Using PyQGIS

I want to remove an existing option ("Save As") from context menu of QGIS layer, what I have found so far is, to add new action in the LegendItems, or overwrite completely with new options. But could ...
-1
votes
0answers
14 views

MODIS (MOD11C3) dataset [on hold]

I have been trying to reproject MODIS (MOD11C3) LST datasets from past three days, always error in MCiDAS, SeaDAS, GRaDS yet no solution for the same. How can I reproject and analyze MODIS (MOD11C3) ...
1
vote
2answers
266 views

Failed to install Potree on Ubuntu 18.04 Bionic

I am trying to install Potree on my computer and I am stuck. I am following these instructions: $ sudo apt-get install python-software-properties git $ sudo apt-get install build-essential cmake g++ $...
0
votes
0answers
5 views

How can I specify dimension for a variable in NetCDF input file using GDAL

I have a data which is in .nc format. I want to extract a variable which is in XxYxZ dimensions for example 4032x496x3 inside the netcdf file. But the problem is when using gdal_translate it is ...
0
votes
1answer
23 views

Select latest date with field calculator

My shapefile contains columns like "Street", "number" and "date". What I want to do is, to find the latest date (where we have done house services). If we have 2 dates for one house number ("number"), ...
1
vote
1answer
129 views

approximation position in RINEX file header

In RINEX observation file header, there is a line with APPROX POSITION XYZ label. Value of this line is approximate marker position in geocentric coordinate-system (unit: meter). Following Example ...
0
votes
0answers
9 views

Is there any way to save QgsRasterBlock object as .tif, or to add it as QgsRasterLayer?

I am currently working on a qgis plugin and I need to simulate each pixel value in raster. I read that the best way to read each pixel value is by using QgsRasterBlock object and I assigned simulated ...
0
votes
1answer
17 views

Convert CRS for spatial join for GeoDataFrame

I have the following 2 GeoDataFrame variables in GeoPandas. # shp.csr {'init': 'epsg:2953'} # line.csr {'proj': 'sterea', 'lat_0': 46.5, 'lon_0': -66.5, 'k': 0.999912, 'x_0': 2500000, 'y_0': ...
0
votes
0answers
8 views

Disconnect between raster symbology in Layers Panel and Layer Properties (QGIS 3)

I'm working on a Python plugin for QGIS that applies a customised colorRampItemList to a single band raster. The result displays correctly on the map and in the Layers Panel but incorrectly in the ...
0
votes
0answers
10 views

Connecting line with polygon edge using ArcGIS Topology?

I have to connect many of these points with the edges of polygons. I am using Topology, but the "must not have Dangles" allow to connect two lines together, not a polygon edge and a line. Can ...
0
votes
0answers
3 views

pyqgis processing, grass: --overwrite does not work

I have a QGIS plugin that tries to call the v.clean algorithm multiple times in a row and use the same output file each time the algorithm runs through. But even though I set the --overwrite parameter ...
1
vote
0answers
26 views

QGIS temporary layer to PostGIS table database

I have an empty polygon table in PostgreSQL/PostGIS database with fields (id,field_1). after some processing in QGIS using pyqgis and processing toolbar I create some temporary layer like this case : ...
0
votes
1answer
18 views

Projects feature with attachments from one coordinate system to another

I'm trying to projects a feature with attachments from one coordinate system to another without loosing the attachments. I'm using the GeoTagged Photos To Points function to create a point feature ...
0
votes
0answers
7 views

Reclassified Raster To Polygon with mulitple features

How can I take a raster that has been reclassified into 8 classes and convert it to a polygon with 8 features?
0
votes
0answers
9 views

How to change NoData cells to a value in a raster with ArcPy? [on hold]

I have a raster created from a point shapefile, so I have some pixels with specific values and others with NoData. I would like to assign a value to NoData (example: 12345) but I need that the other ...
-1
votes
0answers
6 views

Overlapping points converted into separate distance in ArcMap [on hold]

How can I convert overlapping points data into separate distance in ArcMap or PostGIS? Something like Disperse Markers in ArcMap but this is representation only. I need a shapefile.
7
votes
1answer
4k views

Enable 'on the fly' CRS transformation in QGIS 3?

In QGIS 2.8 there is a clear button to 'enable on the fly CRS transformation' in the "project properties" for a new project. Seen here: But in QGIS 3.0, I cannot find it to save my life. Can ...
0
votes
1answer
26 views

Generating Tiles with QGIS

Is there any in the year 2019 working plugin? I try QTiles but this make errors (https://github.com/nextgis/QTiles/issues/100). So I need an alternative that is working with QGIS 3.6 How I can produce ...
1
vote
1answer
18 views

Why is the difference between 005 and 006 versions of MOD13Q1 data?

I tried to repeat a project that used EVI in MOD13Q1. I failed and found that the project used the 005 version of MOD13Q1, and I can only download the 006 version on NASA's ftp. I compared the 005 ...
0
votes
1answer
17 views

Style a feature in one layer based on an attribute in another layer in Print Composer Atlas

I have two layers; one is the foreground and the other a background. Both layers have fields containing similar values (field values in the foreground layer (mun_code) is also present in the ...
1
vote
1answer
49 views

How to add legends in map canvas when exported to PDF ol5

Here is my code to export map in PDF and map is successfully exported to PDF Now i want to add legends in map canvas but i do not know how to do that. var exportElement = document.getElementById(...
0
votes
1answer
38 views

Storing spreadsheets and .mxd inside .gdb folder?

To set the stage. When you create a file Geodatabase in Arc, it then creates a .gdb folder in your connected folder. My supervisor has asked that once that folder is created, to move all documents (...
0
votes
1answer
12 views

Location is not accurate when replicating an existing feature and zooming in

I am trying to resolve an issue with the accuracy of a selected point using queryRenderedFeatures. The accuracy is fine when zoomed out, but when zooming in it appears off. I am using the ...
0
votes
1answer
151 views

Getting width of road segment given its end points using Leaflet?

I want to highlight a road segment on a Leaflet Map. I have the coordinates of the end point of the road segment, so could plot it as a linestring. But the problem is how can I get the width of the ...
0
votes
1answer
5 views

MapBox Text Layer is adding multiple text instead of single centered text

I am trying to use data from my tileset (.zipped shape file) to show Text Label over my tile layer. However, instead of adding a centered label, it's adding multiple-texts sometimes. For example 38 ...
1
vote
1answer
22 views

Merging NDVI classified and unsupervised classified image?

I have clipped forest area from an image and apply NDVI classification on forest area and in the remaining, I have done unsupervised classification. So, I want to know after NDVI and unsupervised ...
2
votes
2answers
332 views

OpenStreetMap - Determining number of nodes, ways, and relations in a PBF file?

I'm currently importing a subsection of North America into PostGIS to render my own basemap tiles using osm2pgsql. Is there any way to get an accurate count of the number of nodes, ways, and relations ...
1
vote
1answer
245 views

Paths layers disappear on map after saving in QGIS 3

I am quite new to GIS. I am working on a historical map with three sets of points. When I create a path between those points with the "Points to Path" tool (via Ctrl+Alt+T), it shows up nicely. ...
-1
votes
0answers
39 views

QGIS - merged/serial maps printing/exporting possible (like a merged letter in Word)? [on hold]

I need to create around 50 maps (= export PDFs) that all contain the following elements that remain the same for each map: Background map (raster) Polygon Each of this map should contain property ...
-1
votes
1answer
18 views

Fishnet overlaid on shapefile centroids with Python [on hold]

I am a newcomer to the GIS world so I'm not 100% confident with the terminology, but I am trying to overlay a grid (fishnet/raster?) over top of a set centroids that I have calculated from the ...
-2
votes
0answers
9 views

AttributeError: 'NoneType' object has no attribute 'Show' [on hold]

enter code here sys.path.append(r"D:\\DIGSILENT\\PowerFactory 2018 SP5\\python\\3.6") import powerfactory app=powerfactory.GetApplication() app.Show() The program made an error in line 1,it shows ...
0
votes
1answer
64 views

How do fix OSM scale in MapInfo?

Ive got Open Street Map in MapInfo and would like to export a County but when I zoom out to view the county the map scale changes. Does anyone know how to set the scale of OSM so I can export it at ...
1
vote
4answers
66 views

How to hide individual labels in QGIS?

I enabled labels for a streets layer in my QGIS 3.6.0 project via Properties > Labels > Single labels. The following screenshot shows an example of such labeling: How can I hide individual labels if ...
1
vote
0answers
11 views

How to properly uninstall OSGeo4W+GRASS+QGIS on Windows7 64bit

Over the years I have tried QGIS and other mapping systems. Lately I wanted to make a go at using the newer versions of QGIS but wanted the ability to run the new one, 3.4 or 3.6 and to keep the old ...
0
votes
1answer
33 views

Searches by area names in OpenLayers with request of AJAX in the PostGIS database

We built a GeoJSON: {"type":"FeatureCollection","features":[{"type":"Feature","id":0,"geometry":{"type":"Polygon","coordinates":[[[669023.843,415221.025],[669031.588,415222.415],[669059.365,415154....
0
votes
1answer
14 views

Testing for Pixel Agreement in ArcMap

Say I have 2 rasters with same spatial extent and same resolution and same number of classes: Raster 1: Ground Truth. Raster 2: Result of some algorithm. I want to see what % of pixels have same ...
0
votes
1answer
25 views

Different area values from Zonal Geometry and Tabulate area

I am working on Landcover map for Ghana. I calculated the area of each landcover type with Zonal Geometry in ArcMap. Then I wanted to know the area of landcover in each region (as in location). But ...
1
vote
1answer
27 views

Getting angle of point generated from DEM in Raster using Field Calculator in ArcGIS Desktop?

I am trying to calculate the angle of some specific points generated from flow direction in ArcMap 10.2. I converted the DEM to flow direction and then to points. I am trying to convert the grid_code ...
0
votes
0answers
20 views

How can I calculate the direction of a Google Maps polygon?

To create a hole in a polygon, you need to know if the inner polygon is in the opposite direction as the outer polygon (See here). How can I calculate this? Here are some examples: var ...
0
votes
0answers
6 views

Mapping GeoJSON polygons onto leaflet Eckert IV projection using Proj4leaflet

I am trying to draw polygons (using a collection polygons in a GeoJSON object) on a world map that is projected in the Eckert IV projection in Leaflet. The code I am using is as follows: ekertiv = ...
0
votes
0answers
7 views

Unable to save point features to QGIS on MySQL database

I created a table with point geometry in MySQL. Subsequently added a vector layer from MySQL table. The table could be accessed from QGIS. However on pressing the add button the system threw warning ...
0
votes
0answers
11 views

How to insert result function in raster created pyqgis3

I am doing a script, but I have a problem with the insertion of the result that my calculation function provided in my raster output that I created. Does anyone know how to insert the output result ...
0
votes
0answers
23 views

Converting large NetCDF daily precip data to monthly averages

I have a large NetCDF file containing daily gridded precipitation data for around 30 years and I'd like to create monthly average precipitation rasters from this. I've had a look around and the only ...

15 30 50 per page