All Questions

3
votes
0answers
39 views

How to create the prj file with fiona and geopandas?

I am trying to create a shapefile and a geojson using geopandas and fiona. import fiona import fiona.crs ... geometry = [Point(xy) for xy in zip(df['longitude'],df['latitude'])] crs = {'init': '...
1
vote
0answers
15 views

Raster Average Across Tiles

I have a raster that is tiled and I am looking to produce an average raster with a 3x3 window. I have tried three methods. The first method uses the standard ST_Mean4ma. An average raster is produced, ...
0
votes
0answers
12 views

What subset of bands would be most suitable for crop yield prediction?

I am working on a project to predict crop yield at district level from MODIS satellite data for India. For that purpose I am choosing MODIS product MOD13A1 which provides vegetation indices at 500 m ...
1
vote
0answers
36 views

How to create a subset of a TIFF image and generate its NDVI in Python?

I have two Raster images, one from band4 with a B4 at the end and another with from band5 with B5 at the end. I want to subset the B5 raster to 800x600, then display it and save it as a GeoTiff. Then ...
0
votes
0answers
33 views

ArcMap 10.6 crashing on Windows 10?

I recently received a new PC at work and went through the steps to install ArcMap. Their latest version offered is 10.6, which was on my previous PC and worked completely fine. The issue I am ...
0
votes
1answer
14 views

Calculating percentage of overlap between 2 features from 2 different layers using ArcGIS Desktop?

I have two layers. Layer 1 has features that are property/parcels with area in acres. Layer 2 has features that are wetlands/bodies of water with area in acres. I want to calculate parcels that have ...
0
votes
0answers
14 views

Facing error “workspace in transaction mode” While trying to insert rows in database?

I was trying to insert data from a gdb table to a db table. Here is what I did. def insertDataInDB(self, inputTable, outputTable, conn): try: desc = arcpy.Describe(inputTable) ...
0
votes
0answers
8 views

How to specify custom CSS to an OpenLayers Zoom Control in Angular 6?

I am attempting to modify the Zoom buttons on OpenLayers 5.3 in an Angular 6 component. And I'm using this OL3 question as a starting point: Creating new buttons and removing default ones - Openlayers-...
0
votes
2answers
18 views

Seeking boundary shapefiles for US museums? [on hold]

I have found some individual cities that have this information, but nothing like a country-wide dataset.
0
votes
1answer
15 views

using st_join for a spatial join

I am using the sf_package to work around spatial data in r. At this stage, I want to make a spatial join so that the tax lots of my area of study inherit the attributes of the floodplain on which they ...
1
vote
2answers
29 views

Converting Floating Point to Integer?

I'm trying to build a raster attribute table since my DEM file does not have one. But I can't because the file is using a floating point. How do I convert the floating point into an integer? I'm ...
-1
votes
0answers
12 views

Sum of all rasters that share the same date within filename, then iterate to next day [on hold]

I have raster format radar data which contains the depth of rainfall in each grid cell. A radar image is taken every 5 minutes, but I want to know the total depth of rainfall in each day. The radar ...
0
votes
0answers
15 views

Save raster (.tif) with R writeRaster function

I'm trying to modify a raster through an R script but I find an error when I try to save in the ".tif" format, while in the ".asc" format I do not find any problem. The script I use is as follows: ...
1
vote
0answers
23 views

How to Enable the QGIS Official Plugin Repository in the 3.4.1 Version?

I am using the 3.4.1 QGIS version. Recently, I cannot install new plugin. I have looked in the plugin setting, it seems that the link is blocked. The address is "https://plugins.qgis.org/plugins/...
2
votes
1answer
25 views

Whitebox's cost distance tool stuck in endlesss loop

Cost distance function from WhiteboxTools (v.0.11.0) gets stuck in an endless loop after execution. The inputs are 8-bit unsigned interger GeoTIFFs. The source raster has values 1 and Null (size: 16 ...
2
votes
0answers
32 views

Nearest Neighbor Analysis Results

I'm fairly new and entirely self-taught in using QGIS 3.4. I'm looking at turtle nest sites and trying to run a nearest neighbor analysis to analyze their distribution and establish whether or not ...
1
vote
1answer
27 views

What are a00000 files and how to control them?

Within my file geodatabase (ArcMap 10.6), I have probably thousands of files that begin with "a00000". Most of them are .gdbindexes, .gdbtable, .gdbtablex, .spx and the full name will be something ...
-3
votes
0answers
21 views

Can Any one resolve this. Here I tried calculation on equals(=) sign using forEach loop. but it is not when I calculate some result was not coming [on hold]

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Calculator</title> <link rel="stylesheet" href="01_styles.css"> <...
3
votes
1answer
28 views

QGIS Put a label only on selected polygons

I'd like to labelling only some polygons of a layer which are inside another polygon from another layer. Have you an idea how to do this? May be with a label rule?
0
votes
1answer
13 views

set raster resampling window in ArcGIS

I would like to resample a number of rasters with a small cell size (i.e., 30 m) to a larger cell size (i.e., 100 m) using either ArcMap or ArcGIS Pro. My new, larger cells will each cover 3.33x3.33 ...
0
votes
0answers
32 views

Getting data from JSON data API?

As asked in previous question: Displaying icon name next to icon using OpenLayers? , now I need to change data source to the JSON API data, and used jquery plugin bypass CORS (http://www.ajax-cross-...
2
votes
1answer
15 views

With which version of ArcGIS (Desktop and Server) does MrSID Generation 4 (MG4™) work?

I haven't really been able to find anything on LizardTech's site with those details or the difference between Generations but not compatibility with GIS systems. Reference links - Esri Supported ...
0
votes
1answer
22 views

Why is arcpy.FeatureClassToFeatureClass_management with an event layer as input creating an empty output?

I have a line with begin and end node XY data (IHS_NET_EDIT_DISSOLVE) and would like to create a point feature class representing the begin and end nodes. With the following code I am able to ...
0
votes
0answers
13 views

Earth Engine classification filter by area

So I want to a supervised classification on a Landsat 8 scene, where i want to distinguish between forest and non-forest. Therefore i only want the forest classified as such if the continuous area ...
1
vote
2answers
39 views

QGIS plugin development environment variables?

I want to develop a plugin gor QGIS3. I downloaded Osgeo4w network installer 64Bit. I created a bat file as following for set my environment variables; @echo off call "%~dp0\o4w_env.bat" call ...
1
vote
0answers
18 views

How to get fast writing with Geopandas & Fiona?

I have a GeoDataFrame with 1,2M records, and want to write it into a GeoPackage file. Currently, it takes >20 minutes, and, as I calculated, average write speed is 100 recs/sec. As I read in the ...
0
votes
0answers
12 views

Reproject Using DotSpatial returns NaN

I am trying to create a grid that is reprojected to Sphere Azimuthal Equidistant. I normally have a map behind it. The screenshot shows the errors. For certain values of Lon, I am getting Nan returned....
1
vote
0answers
8 views

How to filter polygons by long/lat values using sf package in R?

Suppose t is: t <- structure(list(structure(list(structure(c(-89.990791, -89.990772, -89.990901, -89.99092, -89.990791, 30.727025, 30.727083, 30.727114, 30.727057, 30.727025), .Dim = c(5L, 2L))),...
0
votes
0answers
10 views

Coordinate system of OpenDroneMap georeferenced PLY

I'm trying to work out the coordinate system of the georeferenced PLY from opendronemap. I have found a proj.txt file that contains the proj4 projection: +units=m +no_defs=True +datum=WGS84 +proj=utm ...
0
votes
0answers
31 views

Estimate spatial kernel density from raster and output kernel values in a grid

I would like to use a raster map (find below) to estimate or create a kernel density distribution. The objective is to extrapolate the kernel density function and re-use it in order to distribute a ...
1
vote
0answers
32 views

Create points along line and apply a 90° offset to them - pyqgis

I want to create points along a line (works!) and then additionally move the points by a certain offset (perpendicular to the line) with pyqgis 3. See this sketch for further illustration: My ...
0
votes
0answers
10 views

Where is flat-nodes file located?

I would like to use osm2pgsql to load the europe.osm.pbf to the database. I've already read about the optimalization to make the osm2pgsql do it as fast as possible. However, there's one option, that ...
1
vote
1answer
9 views

Geoserver How to call existing functions inside new WPS process

I am pretty new to Geoserver and programming processes for it. I having trouble to find the information I need. Is it possible to call a existing function inside my own WPS class? I want to clip some ...
1
vote
0answers
19 views

translate point based on the point side attribute and link direction

I have address points with house number and their side. For instance, there is a point of house number 10, and it's side is Left (whether Right or Left) I also have the link that has relationship ...
0
votes
0answers
22 views

Writing Python script or Tool to extract data from feature layer using polygon feature in ArcMap? [on hold]

I built a model that extracts selected attributes from my TCAD feature layer by Polygon. I am looking for a way to convert this model to a functional tool using python script such that when the tool ...
1
vote
1answer
26 views

QGIS Custom Python Function to Return Current Extent QGIS 2.18LTR

Related Question Charts and Graphs that only display features in current extent Trying to write a custom function to return the current view extent. The below code is what I wrote based on the QGIS ...
1
vote
1answer
20 views

Network Has Slow Performance in SDE

I am working with ArcGIS Network Analyst (10.5.1). I created a network in SDE and everything worked fine. The network is versioned on SDE. I updated the source line features of the network in a ...
0
votes
0answers
21 views

In QGIS 2.18.2/Windows 7, how can I get clicked coordinates with a different CRS?

I want to be able to call a website by clicking in the mapwindow in qgi2s. This is done by creating an action, that opens a URL looking something like this: "https://mywebsite.dk/somemorestuf&lon=...
0
votes
0answers
14 views

How can I calculate a route between two Points according to a Network and get the links with their attributes along the calculated route?

I have a point table with start- and endpoints. I want to calculate the shortest path between the start- and endpoint. The points are not exactly on the edges of my road network. The ideal result ...
2
votes
0answers
29 views

Seeking UNIX alternative for ArcMap Union with good performance?

I've been trying to create a union* of two shapefiles using a Unix-based approach. So far without success. My two shapefiles can be found here. The process using Union (analysis) takes ...
0
votes
0answers
9 views

ATCOR values of bands

I´m currently working on a study of urban heat islands with ArcGIS and calculated the land surface temperature through various steps (as shown in papers) for uncorrected Landsat 8 images, and now also ...
1
vote
0answers
27 views

Encoding in Python toolbox?

My Python toolbox uses a function (code below) to save values to a CSV file. When I was using the same code in a Jupyter notebook, saved records were properly encoded (I am dealing with Polish letters ...
0
votes
1answer
17 views

OpenLayers: cannot register custom projections

I'm trying to load an OpenLayers map with UTM projection. If I try to register custom projection, the map becomes blank. proj4.defs('EPSG:32640', '+proj=utm +zone=40 +datum=WGS84 +units=m +no_defs'); ...
0
votes
2answers
39 views

Error from create a reference to the QgsApplication

I followed these getting started instructions to create a standalone script in pycharm. The only thing I did differently was to download the standalone installer, not the network installer. I'm ...
1
vote
1answer
13 views

Edit exporter.py file in plugin qgis2web?

I wanna change a small piece (a string) of "exporter.py" code in qgis2web Plugin, but when I change and save the .py file on "C:\Users...\python\plugins\qgis2web", changes doesn't apply. I also tried ...
1
vote
0answers
16 views

Accessing QGIS Interface in standalone PyQGIS script?

I try to set the extent of my QgsProject to the extent of one of the layers in it. I know how to do that with qgis.utils.iface but it works only when the script runs inside QGIS' Python console. What ...
0
votes
1answer
26 views

VBA Labeling works on some symbol classes but not other [on hold]

VBA Labeling formatting works on some symbol classes but not others. For some symbol classes it will work but others it won't register the formatting and I can't figure out why! CLR red = '56' ...
0
votes
0answers
23 views

Create contours of the interpolated raster

I am trying to create contours of a raster which has bilinear interpolation applied, and for the contours to inherit the bilinear interpolation resample display. When I create the contours, it assumes ...
0
votes
1answer
17 views

ImageCollection.map() with multiple input function

I have an Image Collection, I want to Calculate a Normalized difference and got this Function called ND /////normalized Differense/////// function ND(Im,B1,B2){ var four = Im.select(B1) var eight = ...
1
vote
1answer
34 views

Changing started sequence number?

I have code like this from Xander Bakker def main(): import arcpy fc = r'Drive:\Path\To\Source\FC' fld_seq = 'SequenceLbl' # Add field if it does not exist already AddField(fc, ...

15 30 50 per page