All Questions

0
votes
0answers
3 views

Geoserver and WMS endpoints

I'm trying to access a WMS endpoint through Openlayers to display the data in a slippy map. Here's my code: var basemap = new ol.source.TileWMS( " Layer Name 1", "http://localhost:8080/geoserver/...
1
vote
0answers
7 views

How to force caching of image layers in Leaftlet?

I'm working on a weather map project with Leaflet. I have several weather parameters as PNG overlays. For each parameter there's 60 PNG files, representing different points in time. I have implemented ...
1
vote
0answers
17 views

ArcGIS Pro Login Problems

I am having Problem Logging to my ARCGIS Pro. Having the following Problem in the image. I tried to reinstall the software and delete everything in my computer containing ArcGIS Pro but I am still ...
0
votes
0answers
15 views

How to get compression of raster in R?

I have geoTiff files which looks like be uncompressed. How can I read the value (using tif = raster(file)) to be sure what compression has been used for those files? For example, I have a file of 1.2 ...
0
votes
0answers
6 views

Setting color of Simple Marker Layer from field using python 3

I'm trying to set up the colour of a QgsSimplerMarkerSymbolerLayer. Here is my code : sites=iface.activeLayer() single_symbol_renderer=sites.renderer() symbol=single_symbol_renderer.symbol() symbol....
2
votes
0answers
18 views

Automatically fill gaps and merge freshly generated polygons with the longest adjacent polygon

I get polylines automatically generated from AutoCAD from a colleague. Converting them into polygons with QGIS 3.6, I find out some sliver polygons and gaps in between, as shown in the picture below : ...
0
votes
0answers
16 views

Drawing concave hull in stand-alone PyQGIS app? [on hold]

I know that a concave hull function exists in PyQGIS but I don't find any example anywhere. I would like to draw a concave hull from a point cloud in my PyQGIS stand-alone application.
0
votes
1answer
24 views

Calculating areas of world map in QGIS?

I have a dataset with polygons of administrative areas for the whole world (https://www.gadm.org/download_world.html). I want to have the area size of each polygon in square kilometers. I saved the ...
0
votes
0answers
8 views

Uploading polygons and masking pixels inside the polygons using Python?

I am working on a classification problem on agricultural fields. To make things easier, I first identified road, cities, water, fields and etc. I am planning to eliminate road, cities and water out of ...
2
votes
1answer
25 views

Why is a projection conversion off by factor of SQRT(2)?

I am attempting to draw a 3 km ring around downtown Minneapolis. Let downtown be defined as Government Plaza (-93.2661, 44.9765). I am using this ring to calculate census tracts within a distance of a ...
0
votes
1answer
16 views

GEE- NDWI from Landsat 4

I need to create image collection of NDWI for a polygon I have from 1983-2019. For that, I want to use different Landsat image collection. I saw that there is made a product in Google Earth Engine ...
0
votes
1answer
19 views

Selecting features by id in activeLayer if I have txt file?

An example my txt files line is 3,6,7. How do I select features in activeLayer with this ID in PyQGIS? layer = qgis.utils.iface.activeLayer() query ='"ID" = 3 or "ID" = 6 or "ID" = 7' selection = ...
2
votes
1answer
13 views

Get geometry type from Feature Collection for every row

I want to get geometry type for every row (like point, linestring, polygon etc.) from GeoJSON data. This is my code for reading data. import argparse import geopandas as gpd import os import sys ...
1
vote
0answers
17 views

Spatial operations between WMS geometry and client data

I am using geoserver WMS service to visualize some geometry on the map (via Leaflet) which is working fine. Now I have a requirement to perform the spatial operation (say intersects) between two ...
0
votes
0answers
17 views

Retaining co-ordinate values with 6 significant figures when converting shapefile into Excel spreadsheet? [on hold]

Using ArcGIS-desktop, I converted a shapefile, into an Excel table through the conversion tool Table to Excel, however my co-ordinates previously were specific to the 1x10-6 (i.e. 9.078627) but in the ...
1
vote
1answer
15 views

QGIS 3.6 3D View: Data defined override (expression) button is missing

I am trying to create a 3D View in QGIS 3.6.0, but the buttons for data defined parameters (e.g., width or height) are missing in the Layer Properties dialog (see screenshow below) I want to set the ...
1
vote
0answers
10 views

Explaining pyproj to_epsg min_confidence parameter?

Following on from this question How can I get epsg code in pyproj with version==2.1.3, I discovered that sometimes when intialising a pyproj Proj instance with a string ESPG code eventually results in ...
2
votes
1answer
24 views

Getting EPSG code in pyproj with version==2.1.3?

I'm using pyproj in python and I want to get epsg code based on an existing Proj class. An example in version=1.9.6: from pyproj import Proj CGCS2000metre = Proj(init='EPSG:4544') print(CGCS2000metre....
1
vote
0answers
20 views

GRASS 7.6 v.net.iso not providing output in QGIS 2.18

There are simply two layers in EPSG:31469 both are located on the Server side, see image below: points 'HST_Bestand_GK5' polylines 'vwESKN_1_25000_Teil' On my Windows 10 with QGIS 2.18 and GRASS 7.6,...
1
vote
1answer
19 views

Connection Time out during Terrain Correction in Snap gpt command line process - Sentinel 1

I am processing Sentinel-1 using the Snap command line gpt. The xml file i am using was produced using the graph builder within the SNAP software, and slightly modified to suit my needs. Please see ...
4
votes
2answers
38 views

Getting geometries of hurricane's 'cone of uncertainty' using shapely?

I'm trying to plot hurricane forecast maps using python. I have several forecast positions derived from official advisories, and interpolate them into a smoothed curve, then draw a polygon of 'cone of ...
0
votes
0answers
12 views

Fixing ArcMap colour palette?

My ArcMap 10.2 colour palette seems to be glitching out. What I think are the 'base' colours (those which are always available even when you don't have any style references) keep getting added. I ...
0
votes
0answers
11 views

gdallocationinfo behaviour from windows to linux

I used NETCDF for many years on windows (using GDAL ) now recently i tried on Linux for netcdf data value.I used gdallocationinfo on windows for retrieving atmospheric parameter value from netcdf ...
1
vote
0answers
26 views

QGIS Custom form

I would like to create a custom form in QGIS. Unfortunately I can't manage to disconnect the ButtonBox signals. (Save / Cancel). The form should not close until a condition matches. from PyQt5.QtCore ...
0
votes
0answers
12 views

How to get only Intersected polygon in Open Layers 3

I want to know two things.One thing is,Is there anything like split functionality in OpenLayers 3. I know its there in OpenLayers 2 with reference,same thing I want to do it in OpenLayers 3. Second ...
0
votes
0answers
21 views

Auto zoom when uploading shapefile R / Leaflet

I would like to configure an automatic zoom at the canvas of the shapefile layer that I upload. For that it would be necessary that a function automatically detects the latitude and the longitude of ...
1
vote
0answers
13 views

Is the PDF rendering engine in QGIS atlas reports the same as for single page reports?

I’ve recently created a set of atlas maps in v3.6 that display contours. When I render a single page as PDF it obeys the rule based display settings (for index and intermediate contours). If I run ...
0
votes
0answers
17 views

May I know what these values mean? 'rivers (selected, th > 10000)') 'rivers (selected, th > 1000)') [on hold]

May I know what these values mean? 'rivers (selected, th > 10000)') 'rivers (selected, th > 1000)') https://code.earthengine.google.com/e9f6c746c186935cfbc52befc398b81b
1
vote
0answers
13 views

Geoserver SLD: How to get CENTROID of result of INTERSECTION?

In my GeoServer SLD I need to place a symbol (particularly a piechart) exactly on Centroid of the result of Intersection of 2 geometry: geom field from my PostGIS table AND environment variable ...
2
votes
1answer
89 views

Deleting lines automatically which are not connected

I have a shapefile consisting of polylines. I have managed to explode these polylines (break at there vertices). There are a bunch of lines all over the shapefile which are not connected (shown in the ...
0
votes
0answers
9 views

Lecos plugin for QGIS - Overlay Raster Metrics

I am using the recent release of the LecoS (3.0) plugin with QGIS 3.6.3. I am having trouble trying to run an operation with "overlay raster metrics" to calculate landcover within a vector overlay (a ...
1
vote
0answers
29 views

Definition query not updating

I have an ArcMap 10.3 MXD in which which I am trying to update the definition query of an enterprise geodatabase layer using Python: import arcpy, os, re from arcpy import env inmxd = r'C:\Temp\...
1
vote
0answers
18 views

LASTools path not found in QGIS 3.6.3

Forgive me if this is a duplicate, but I am having trouble getting LASTools to run in QGIS 3.6.3 after following the installation instructions and searching on Stack Exchange. I have installed the ...
2
votes
1answer
36 views

ArcGIS Intersect Tool not splitting lines as expected?

I performed Intersect Analysis on one polygon shapefile and one polyline shapefile. I didn't specify any tolerances, and both SHPs were projected into the same UTM before performing the analysis. ...
0
votes
0answers
15 views

Image referencing using Leaflet overlayer

I've got few old images I would like to extract some info from. On the image I have 2-4 points, GIS points of lat,lan. I want to display it over a Leaflet map and to "draw" the information on the ...
0
votes
0answers
23 views

Assigning values to points based on near polygons using ArcMap? [on hold]

I have two vector files. One with points and the other one with polygons with data of interest (from 1 to 5 as discrete data). I want to assign to the points the same discrete data based on the ...
2
votes
0answers
36 views

Isolating main polyline using QGIS?

I am trying to convert a line shapefile with branches into just one polyline, actually deleting every other diramation. Imagine something like this: :________|__________|____|||______ into :...
0
votes
0answers
17 views

Executing code before a layout export [on hold]

I would like to execute some code before the export of a layout (adding items in the layout) ... I didn't see any available signal i could use ... I had a look into QgsLayout, QgsPrinLayout, ...
0
votes
0answers
10 views

Logging line feature at interval in Qfield

I'm incredibly impressed by the functionality currently in Qfield. I am hoping to use the app for forestry work. If like to be able to log a line as I walk along a trail without needing to manually ...
0
votes
0answers
18 views

How to get pixel per meter in MATLAB

I have a vector shapefile which is in unit of 'Meter' presenting boundary of overall Germany. I am converting it into raster format based on each pixel representing 300 Meters respectively. After ...
-1
votes
0answers
42 views

Extracting data (Longitude, Latitude and Elevation ) from raster using R [on hold]

f <- 'C:/Users/KOTA/Desktop/Elev/Elev_KM.tif' r <- raster(f) Lat.Lon=coordinates(r) z=values(r) DATA=data.frame(Coord=Lat.Lon, Elev = z);DATA Coord.x Coord.y Elev 1 43.104 -11.304 ...
0
votes
0answers
7 views

Getting error while creating createMapSDDraft using python

I am getting error while creating the MapSDDraft using Python. import arcpy import os import xml.dom.minidom as DOM workspace = r'C:\\Users\\xyz\\Documents\\ArcGIS\\' mxd = 'TEST.mxd' con = r'C:\\...
1
vote
0answers
15 views

Scrolling TOC programmatically using ArcObjects in ArcMap AddIn?

I've created the small add-in command for ArcMap, that allows find in TOC and select the layer by it's alias or feature class name. Useful when map document contains several hundreds of layers. The ...
3
votes
2answers
41 views

Creating feature templates in QGIS?

I am drawing points that have different tags, for example, one is a Manhole other is a Headwall. I have my symbology setup in such a way that point displays differently based on tags. Now as I am ...
0
votes
2answers
36 views

QGIS Save location and information to Excel file

I have georeferenced an old map in QGIS and want to save the location of a place and then be able to type information about that captured location (owner, acreage etc) in a table. I am an historical ...
0
votes
0answers
16 views

Adding 3x4 table in popup template using ArcGIS API for JavaScript?

I'm building an arcgis application rendering a csvLayer. I've added a popup template like so: var template = { title: "{SensorTitle}", content: [ { ...
0
votes
1answer
21 views

Imported data to ArcMap but nothing in attribute table?

I imported 1019 sets of data with coordinates and other parameters using ArcMap 10.5.1. I can see all the points plotted in the interface, but when I open the attribute table, there is nothing inside. ...
1
vote
1answer
19 views

Create a new polygon layer containing the extent of a layer [duplicate]

I am trying to create a difference layer from an overlay layer and a base layer. The base layer (colored orange in the image below) has a larger extent than the overlay layer (light brown) when zoomed ...
2
votes
1answer
74 views

Can gpxpy write .gpx file?

I want to build a .gpx file and was hoping to use gpxpy. I can see how to build such a file in memory, but I can't see how to write it out to disk. Is it possible for gpxpy to write files?
0
votes
0answers
21 views

Using Concave Hull By Case in ArcMap?

I'm trying to use Bruce Harold's Concave Hull Estimator Tool and I'm getting some errors. When trying to use the tool on ArcMap, I get this: There seem to be no object that I can use the tool on, ...

15 30 50 per page