All Questions

Filter by
Sorted by
Tagged with
0
votes
2answers
30 views

Map contents don't print when using CSS media print queries in a Bootstrap modal

My goal is to show an ArcGIS Server JavaScript v4 map in a Bootstrap modal popup (displayed over a page containing other content), and to print only the contents of the Bootstrap modal popup. I'm ...
1
vote
1answer
37 views

Converting abbreviation street type names to full names using dictionary for Python script tool? [on hold]

I have a data table with a column 'STREET_TYPE' which are street types (RD, LN, ST, AVE etc.). I want to make a custom tool in ArcMap's toolbox that will expand these abbreviations to their full names ...
0
votes
0answers
45 views

Dataframe of points to PostGIS

I have a csv file with some info and coordinates and I want to create a table in PostGIS with that CSV file. This is what I have so far: import pandas as pd import geopandas from datetime import ...
-2
votes
0answers
16 views

Seeking MODIS Point Collection with more specific Time Of Day for Google Earth Engine?

I am trying to find a more specific time of day (hourly data) for MODIS satellite imagery at specific feature points across the United States with Google Earth Engine, and I am only finding metadata ...
0
votes
0answers
10 views

Converting feature from draw interaction to WKT string

I've problems with converting the feature which I'm getting in draw interaction into the WKT string. I saw multiple examples which looks like it should be simple but I'm always getting the following ...
2
votes
1answer
36 views

Copying feature from one layer while mapping fields in QGIS?

I am trying to copy features from one layer to another. What I would like to do is for QGIS to ask me which field should each field copy to. For example, layer A has 4 features that I am trying to ...
0
votes
1answer
14 views

mapbox gl - multiple styles and filters per layer

The intention here is to determine the proper convention for adding multiple styling rules for a single layer in 'layers' list. My impression was such that multiple layer entries would mean a call to ...
-1
votes
0answers
11 views

Seeking mapping technologies/APIs/tools for Nautical and Land Mapping? [on hold]

What mapping technologies/APIs/tools would you use if your mobile app needed to seamlessly bridge both land and water? For reference, considering using React Native as the development framework.
1
vote
1answer
115 views

Seeking tutorials online explaining how to draw squares (having specific length) in QGIS?

I need to produce in QGIS a square having a specific dimension (1km x 1km). First I created a new polygon layer, but when I start editing through the Advanced editing tool, the program crashes. I ...
1
vote
0answers
49 views

Speed up PostGIS raster query

I have a simple PostGIS table as follows: \d rad; Table "public.rad" Column | Type | Collation | Nullable | Default ...
0
votes
0answers
18 views

Zonal Statistics for Overlapping Zones Consistent failure

I am trying to run Zonal Statistics for Overlapping Zones on some Buffer feature classes that overlap. I downloaded and ran the script and it succeeded in calculating the zonal statistics for my first ...
0
votes
0answers
5 views

Iterating feature classes in multiple geodatabases using ModelBuilder?

I have 5 geodatabases. All have a feature dataset that contains a point feature class called "Point" and a line feature class called "Polyline." I want to go through these feature datasets, take only ...
-1
votes
0answers
17 views

Raster package in R - “Error in filename != ”“ : comparison (2) is possible only for atomic and list types”

I get the above error when using calc to retrieve values from two rasters (propSummPCP, propWintPCP) in the raster package of R. It works for a single raster (either one). Looking to return NA, in ...
2
votes
0answers
21 views

Clip Raster in ArcGIS Desktop 10.3.1 writes NoData border

I'm trying to clip a DEM raster using a rectangular polygon shapefile as the extent. The Clip Raster tool will add/write a NoData border surrounding the output raster. The NoData pixels are ...
0
votes
1answer
22 views

Geoserver's JSON axis order and WFS versions

It has been discussed how different versions of WFS output lat/long in different orders: https://docs.geoserver.org/latest/en/user/services/wfs/axis_order.html This URL, for instance, in GeoJSON with ...
0
votes
1answer
16 views

Setting raster symbology to standard deviations in ArcPy [on hold]

I have an ArcPy routine and I would like to set the symbology of a derived raster to standard deviations, so that I can then reclassify on that basis and convert to polygons. Is this possible? I ...
-1
votes
0answers
14 views

Converting NetCDF dataset array to GeoTIFF using rioxarray, xarray Python [on hold]

import rioxarray import xarray as xr xds = xr.open_dataset(r'S5P_NRTI_L2__NO2____20190513T181819_20190513T182319_08191_01_010301_20190513T185033.nc', group="/PRODUCT") data = xds....
1
vote
1answer
23 views

Creating triangles from points with a given bearing and leg length

I have a spreadsheet that contains ID, LAT_DD, LONG_DD, Bearing and LEN fields. I need to automate a way to create a triangle for every point identified in the table and I have no idea how. I know the ...
0
votes
0answers
16 views

Automation of drawing adjacent triangles sharing same origin point using ArcGIS Desktop? [on hold]

I'd like to come up with a script or ArcGIS model to automate the drawing of conjoining triangles coming out of a single X,Y origin point. I am looking to create broadcast antenna coverage polygons ...
0
votes
3answers
37 views

Seeking data for São Tomé and Príncipe?

I am a total GIS beginner and have been trying to make some simple maps of the nation of São Tomé and Príncipe using QGIS and publicly available data. The readily available data I find comes from OSM. ...
0
votes
0answers
5 views

TOA Reflectance and BOA Reflectance Matlab Sentinel 2

How to convert DN into TOA Reflectance and BOA Reflectance in MATLAB? If I have to use Sen2Cor for do that. How can i use Sen2Cor in MATLAB?
2
votes
0answers
19 views

Correcting forestry acreages due to slope to get actual acreages treated [duplicate]

I came up with a process to get actual acreages vs map acres of steep slopes, but I am wondering what others do to correct for steep slopes and get actual acreage treated? For mine, In ArcGIS Desktop, ...
0
votes
0answers
7 views

Inserting current filename into Layer Properties => Defintion Query [on hold]

I want my Layer Properties => Defintion Query to look like this: Table.Field like "name of opened mxd" Every time I open a new mxd with this layer added it will grab the active mxd file name and ...
-1
votes
0answers
22 views

Calculating forest loss within individual zones

I am using the Hansen forest cover and loss dataset in ArcMap in order to calculate both forest cover and forest loss within specified zones. I basically am using Modelbuilder to iterate through all ...
3
votes
1answer
37 views

Exporting attributes from QGIS to .dxf/dwg

I have a QGIS point layer with attributes in table. I want to export a layer with some of the attributes as a CAD block with attributes. Is it possible to do something like this?
0
votes
1answer
27 views

Add more than one layer of GeoJSON data to Leaflet?

This is my code for loading one layer of .geojson data to Leaflet. The data is basically in the form of markers and it's demonstrating different location in Saudi Arabia. It's saved as "saudi_location....
0
votes
0answers
16 views

“addItem” in Portal for ArcGIS not working?

I'm trying to upload a PDF file to my content in Portal for ArcGIS using python. So far, I'm able to succesfully create a token, but I'm having troubles using REST operation : Add Item/Add ...
1
vote
1answer
29 views

Exracting data fromSpatialPolygonDataFrame conditionally in R?

For some research I am working on, I have a dataframe called charters of charter schools in New Jersey. Simplified it looks like this: school.name school.id district.id lat ...
1
vote
1answer
16 views

How to return object or string value with arcpy.SetParameter

I am creating a geoprocessing tool in ArcMap 10.5.1. I have the following code: import arcpy event_data = arcpy.GetParameterAsText(0) event_data_id = arcpy.SetParameter(1, event_data) event_data_pc = ...
0
votes
0answers
29 views

Seeking arcpy.SetParameterAsText equivalent in ModelBuilder?

I know it sounds weird, but I would need a tool made with ModelBuilder that output two parameters: a layer a message (a string) The constraint derives from the need to share it as a Geoprocessing ...
2
votes
0answers
16 views

How to set the extent with gdal_rasterize, the “-te” does not work

I use gdal_rasterize to clip mask by shpaefile. however, the parameter "-te" does not work. get subprocess to call GDAL util import subprocess # define paths to raster and vector inraster = r'I:\...
0
votes
0answers
15 views

Create distinct raster layers from ArcGIS Server Map

My original objective is to find the least cost path between two points. I am planning to do it with the "Cost Path" function of ArcGIS. Therefore, I have to construct a cost surface map for ...
0
votes
1answer
32 views

Add a local GeoJSON file as a layer with GeoJsonLayer

I turned a state boundary feature class into a geojson file called region2_boundary.json: { "type" : "FeatureCollection", "crs" : { "type" : "name", "properties" : { "name" : "...
0
votes
0answers
72 views

Inserting values with arcpy.da.InsertCursor()?

Building on Standalone Python script to split a polyline with a point layer, I don't think I am manipulating geometry objects correctly. I am splitting an original line, preserving all the ...
4
votes
0answers
51 views

Running and scheduling processing jobs in QGIS 3?

Basically I want to write a script that would run on a daily basis on QGIS 3. This tutorial seems to have exactly what I want but the tutorial only works for QGIS 2. QGIS Tutorials and Tips | ...
0
votes
0answers
16 views

Cannot load GeoJSON in OpenLayers 4.6.5

Using just a simple test case, I cannot load GeoJSON into OpenLayers. I've used a base case, with a simple polygon and yet cannot load it. If anyone has any ideas please let me know. I have created ...
0
votes
0answers
15 views

Leaflet check if L.geoJSON layer has any features

I am making my own layer control in a way. I want to check if a named L.geoJSON has any features. If not I will fetch GeoJSON from an API and add it to the layer. But I cannot work out how to check ...
-1
votes
0answers
11 views

Getting Dynamic Output in single code using Google Earth Engine? [on hold]

I want to calculate NDWI for multiple years for a region. I want two outputs: Yearwise output Aggregated merged output Since the area is big, I wanted to calculate NDWI separately and then the ...
0
votes
0answers
22 views

Wrong northing value: standardizing with a correction by 10 000 000 meters

I'm trying to draw points on a map and I have a problem using the projections. I have no problem getting points from longlat to UTM. But it seems that there is a problem when specifying UTM zone 15M ...
1
vote
0answers
30 views

Data is not appearing in OSM tile server after applying changes to it

Our company has an OpenStreetMap tile server hosted on its own server and domain. Our cartographers draw streets and houses there in edit mode. The problem is that the houses are visible only in the ...
2
votes
2answers
39 views

Loading .json files into Leaflet and filtering them [on hold]

I am new to web development and Leaflet/GIS in general. I have a couple of shapefles, let's say they are roads.shp and utilities.shp. And let's say I have the means to convert these shape files into ....
0
votes
0answers
14 views

Provide WMS Service through QGIS Server

I'm trying to figure out how to provide WMS - Services with QGIS and in my Research I encountered QGIS Server. But I'm still uncertain about how it actually works. I install Apache Webserver and ...
0
votes
2answers
32 views

Get geographic coordinates based on pixel coordinates?

I'm working with Mask R-CNN to locate fires. I have the following image. I have info about the geographic center coordinates of the image, and the orientation of the image in degrees let's suppose ...
0
votes
1answer
38 views

QGIS 3.4. project file editing

How can I edit a QGIS project file so that it would open, save and edit data from given folder and save the results for different directory? Kind of like MapInfo's Wor. file. I read from QGIS ...
1
vote
1answer
19 views

Insert multiple value to marker.bindPopup in Leaflet

I have a value in array like this [ { "officer_id": "T001", "officer_name": "Michael", "type_id": "1122", "address": "12th Elm Street", "address_description": "Chloe Toy Shop", "description": "...
1
vote
0answers
22 views

Create shapefile with images as attributes using JavaScript

I want to make a feature in a react.js web application where I can export/download shapefiles from the dashboard. I have implemented shp-write which takes a GeoJSON input. It is working fine with ...
3
votes
1answer
61 views

QGIS make line attribute

How to automatically load all my attribute values into a layer after manually adding an attribute field? Or how to achieve the effect of PointConnector plugin in a more flexible that retains ...
3
votes
1answer
46 views

Eliminate Sliver Polygons QGIS 3

I'm a regular user of the 'Eliminate Sliver Polygons' tool in QGIS. I've just switched from 2.18 to 3.4.4 and the 'Eliminate Sliver Polygons' tool isn't available. Has it been removed from this ...
4
votes
0answers
52 views

Create isochrone along a given road

I want to solve this problem : given a departure point given an arrival point given an amount of time In which areas can I go while coming from departure to destination in the given amoint of time? ...
2
votes
1answer
62 views

Filtering by multiple attributes in QGIS

I have a layer that contains multiple attributes in multiple fields that I would like to select between without needing to type out a query each time. I am able to do this with extract by expression,...

15 30 50 per page