dialog listlengths 4 30 | title stringlengths 15 150 | category stringclasses 14 values | dialog_time stringdate 2016-01-21 01:59:30 2018-07-01 01:34:46 |
|---|---|---|---|
[
{
"message": "I need a areal image or satellite Image as a basemap for some maps. Since I have read that the OpenLayers plugin is no longer supported <a href=\"https://gis.stackexchange.com/q/121821/26687\">here, <a href=\"https://gis.stackexchange.com/a/172022/26687\">here and <a href=\"https://gis.stackexcha... | Aerial Image basemap: Problem with QGIS QuickMapServices Plugin MapQuest Layer | gis | 2017-01-26T12:15:30.107 |
[
{
"message": "I have a large set of linear networks and I would like to find the two ends of each network that are the most distant from each other along the network (on the image below, it would be D to K). The brute force solution to this problem is to compute the shortest path along the network for each pair... | Is there an optimal algorithm to find the longest shortest path in a network? | gis | 2017-01-27T08:55:54.567 |
[
{
"message": "I'm trying to change my map from using JSON to JSON-P for the source of data from my GeoServer. Unfortunately, what should be a vector layer covering the entire North Atlantic displays as a point in the Gulf of Guinea--so a classic projection error. But I can't see what I'm missing.TL;DR: If I act... | readFeatures is returning the wrong (or no) projection | gis | 2017-01-27T12:23:06.597 |
[
{
"message": "I am using the odk app to collect data and a heading of the form is required.This heading is imported in QGIS as column as well, when I add the data as delimited layer, but it does not contain relevant information. Is there a way to remove certain columns while adding the .csv-file (skiping empty ... | Add a delimited layer in QGIS (.csv), but do not add all columns | gis | 2017-01-27T15:27:14.617 |
[
{
"message": "I am trying to automate the downsampling of elevation (and other) data using open source software at command line in an automated workflow via use of windows batch files. Currently the workflow uses only gdal utilities via osgeo4w.I am looking for a command line resample method that will ignore th... | Suggestions for open source command line resample algorithm that ignores nodata? | gis | 2017-01-27T17:31:53.233 |
[
{
"message": "I am querying a map service for a GeoJson format and the GeoJson FeatureCollection geometries from ArcGIS Server 10.4.1 do not include the <code>bbox</code> property.Is it possible to configure this, either as an ArcGIS server configuration or in the query request iI am getting this:<pre><code>{ ... | Can ArcGIS Server 10.4 be configured to include the bbox property in the GeoJson response? | gis | 2017-01-27T20:19:32.913 |
[
{
"message": "I am querying a map service for a GeoJson format and the GeoJson FeatureCollection geometries from ArcGIS Server 10.4.1 do not include the <code>bbox</code> property.Is it possible to configure this, either as an ArcGIS server configuration or in the query request iI am getting this:<pre><code>{ ... | Can ArcGIS Server 10.4 be configured to include the bbox property in the GeoJson response? | gis | 2017-01-27T20:19:32.913 |
[
{
"message": "I have a pre-tiled image for some area, thatTiles are in JPG format.Tiles do not overlap.Each tile has its own world file.All tiles have the same projection.Now, I want to consume those tiles as a tile service,Is there any way to make such service without making a mosaic, i.e. tile service from th... | Tile service from local tile images | gis | 2017-01-28T04:05:37.133 |
[
{
"message": "I often have to reload layers in the layers panel after doing changes in the DB-Manager (add a column, delete a default value, ...). At the moment I use the changeDatasource plugin. Can this also be done using Python?",
"role": "user"
},
{
"message": "if you have your layer as a variab... | Reloading layer in Layers Panel with Python after modifying it in DB Manager | gis | 2017-01-28T18:56:42.627 |
[
{
"message": "I have two polygon shapefiles in QGISI would like to have the polygon IDs of B listed in the attribute table of A for the case that they overlap.As a demonstration:<a href=\"https://i.stack.imgur.com/mKxob.png\" rel=\"nofollow noreferrer\">I tried combinations of spatial queries, intersects and sp... | List IDs of polygons within another polygon in the attribute table | gis | 2017-01-29T09:02:58.983 |
[
{
"message": "I have two polygon shapefiles in QGISI would like to have the polygon IDs of B listed in the attribute table of A for the case that they overlap.As a demonstration:<a href=\"https://i.stack.imgur.com/mKxob.png\" rel=\"nofollow noreferrer\">I tried combinations of spatial queries, intersects and sp... | List IDs of polygons within another polygon in the attribute table | gis | 2017-01-29T09:02:58.983 |
[
{
"message": "I am using Postgres with postGIS extension. I just installed everything a while ago.I'm looking at the documentation (it is really difficult for beginners in my opinion - is there any other tutorial or something you recommend?) and it seems I have to create a point from my lat and long, and that ... | Getting latLng from google maps api to store that in PostGIS? | gis | 2017-01-29T10:00:16.823 |
[
{
"message": "I have a line and a point layer. The points are manually set next to the line at specific places. Now I would like to get the distance between the end/start of the line and the points.Distance from the black point along red line to start and to end of line:Distance from Blackpoint #1 along the red... | Length of line on specific point (from point layer) | gis | 2017-01-30T10:39:16.630 |
[
{
"message": "I was introduced to <code>machine learning</code> and <code>remote sensing</code> recently.My task was to classify the satellite images into <code>vegetation</code> and <code>non vegetation</code>.We were introduced to two approaches. <code>Supervised learning</code> - where we had <code>wkt</code... | Using supervised vs unsupervised classification in identification of region of interest? | gis | 2017-01-30T12:34:20.547 |
[
{
"message": "I have about 1,000 rasters which are around 10km x 10km and partially overlap to cover a whole country.I would like to convert these into a single national raster, and where raster overlap, add the cell values together.Currently, I am using ArcGIS's <a href=\"http://pro.arcgis.com/en/pro-app/tool-... | Combine multiple partially overlapping rasters into a single raster in R | gis | 2017-01-30T14:19:44.527 |
[
{
"message": "I am going to calculate least-cost paths toward a number of location, implementing Tobler's hiking function (i.e., considering slope as factor influencing speed of movement). I want to make sure that the paths will try to avoid some zones according to the land cover. The latter data is available a... | Making least-cost paths to avoid specific land-cover types using ArcGIS Desktop? | gis | 2017-01-31T09:41:53.053 |
[
{
"message": "I am trying to delete first and the last vertex of each line. I created code to delete first and last vertex but it shows me error on line 18:<blockquote> <blockquote> Traceback (most recent call last): File \"D:\\UKPN\\ukpn_CAD\\tet\\Delete_first_last.py\", line 18, in insert = arcp... | Deleting first and last vertices using ArcPy of ArcGIS Pro? | gis | 2017-01-31T13:12:05.920 |
[
{
"message": "I tried to download and install an older version of QGIS, but I don't understand how it works... I downloaded and opened this file: qgis-2.0.0.tar.bz2, but I don't see any program file here. I also tried to download the two .exe-files for this version, but I couldn't open them on my mac. What do I... | Install older versions of QGIS on Mac | gis | 2017-02-01T12:59:02.437 |
[
{
"message": "Getting the following error:<pre><code>ImportError: cannot import name FileImport</code></pre>Code, taken directly from <a href=\"https://github.com/CartoDB/carto-python\" rel=\"nofollow noreferrer\">Carto documentation: <pre><code>from cartodb import CartoDBAPIKey, CartoDBException, FileImportAPI... | Unable to import FileImport from cartodb-python client | gis | 2017-02-01T17:22:03.487 |
[
{
"message": "I have a bunch of data symbolized by categories - unique values. I have grouped together many (10 to 40 per grouping) different values to create this symbology. Now I need to figure out the total areas contained within these symbology classes I have created. For example: I created a symbol valu... | ArcGIS 10.3 - Create/extract/summarize data from unique values symbology | gis | 2017-02-02T21:10:26.233 |
[
{
"message": "I am following <a href=\"https://openlayers.org/en/latest/doc/faq.html#what-projection-is-openlayers-using-\" rel=\"nofollow noreferrer\">these instructions in order to define my projection for my map. And then use the ol.proj.transform function to transform the coordinates. So my code snippet is ... | Adding a projection in OpenLayers | gis | 2017-02-02T21:37:36.313 |
[
{
"message": "I have multiple polygon .shp files that are denoting farm boundaries. The sources are varied and the original fields vary in name and number. These boundary files are to be imported into a Farm Management Software and require specific fields for identifying the data on import. The data in the fiel... | Add multiple fields to a batch of layers in QGIS? | gis | 2017-02-02T21:47:33.477 |
[
{
"message": "What I am trying to do is average a set of points with a separate boundary.<a href=\"https://i.stack.imgur.com/Yh30o.png\" rel=\"nofollow noreferrer\"> Each of the larger circles is a fixed distance around a sample point (typically the area sampled) with each of the smaller points being a yield po... | Averaging points within a boundary | gis | 2017-02-03T04:04:15.523 |
[
{
"message": "I'm rather new to using ArcMap. For my research project, I have a layer of point data. I have been downloading datasets and layers of aggregated annual precipitation across the United States.All I need to accomplish is to simply get a spreadsheet file (.xls, .csv, or similar formats) that simply c... | Getting Spreadsheet Data of Points from PNG using ArcMap? | gis | 2017-02-03T04:15:18.123 |
[
{
"message": "I have a set of LineStrings that I used to merge with ST_Collect. I want my lines to be curved, so I tried to use St_LineToCurve but my features were still MULTILIGNESTRING. I tried to smooth them on geoserver with stroke-linejoin: round but that didn't work.I read it's possible to force lines to ... | ST_LineToCurve and ST_ForceCurve | gis | 2017-02-03T08:39:27.907 |
[
{
"message": "I have difficulty in how to rotating attribute table in QGIS Composer. The default is horizontal, it's because data I have too much around 50 tables. So I want to rotated it to horizontal. Under the map, or maybe there is another way for me to include this all record and print it out?<a href=\"htt... | Transpose attribute table in QGIS Composer? | gis | 2017-02-03T08:46:51.153 |
[
{
"message": "On Ubuntu 14.04 geonode 2.4 pyCSW 1.10I´m trying to create a new schema as <a href=\"http://docs.pycsw.org/en/2.0.2/outputschemas.html\" rel=\"nofollow noreferrer\">plugin based on Dublin Core. This new schema should present additional elements. Therefore I´ve extended Geonodes Base Models with a... | Geonode pyCSW additional elements from ressourceBase in new schema | gis | 2017-02-03T10:08:55.733 |
[
{
"message": "Is there a free tool to import SQL Server spatial data into PostGIS? Specifically I want to be able to provide connection strings to my SQL Server and PostgreSQL instances, specify the table(s) I want to import, and click a button to do the import.",
"role": "user"
},
{
"message": "Yo... | Import SQL Server Spatial Data into PostGIS | gis | 2017-02-03T19:18:28.623 |
[
{
"message": "I am trying to publish a raster layer with qgis2web, when I set the parameters in the popup qgis2web window, the raster doesn´t show up in the preview window (there is a question mark instead). Then, after exporting/publishing, the folder with index.html file and other folders are created, but the... | Cannot export raster with qgis2web or qgis2leaf | gis | 2017-02-03T22:32:05.177 |
[
{
"message": "I am trying to convert pixel DNs to reflectance from a Planet BGRN Analytic Scene (from 2016, I can't tell what level it is processed to). However, I can't find info on the exo-atmospheric irradiance of the 4 bands. Is this available somewhere?",
"role": "user"
},
{
"message": "If th... | Converting DNs to radiance and reflectance for Planet Labs Imagery | gis | 2017-02-04T05:12:17.450 |
[
{
"message": "I'm struggling with QGIS showing certain layers for cities and other places in cyrillic writing (when the encoding is set to UTF-8) inside the attribute table. I'm wondering whether there's an encoding (or a plugin maybe) available to show that cyrillic writing directly into latin writing?",
"... | Any possible way to convert cyrillic encoding to latin in QGIS? | gis | 2017-02-04T08:59:21.337 |
[
{
"message": "Is it possible to set certain parameters of tools within set up models when opening a saved model (not edit, but double click and running)I am talking about being able to set certain tool specific parameters such as distance in the \"fixed distance buffer\" tool as model parameters that then can b... | Setting tool-specific parameters within the QGIS graphical modeler | gis | 2017-02-04T17:21:47.943 |
[
{
"message": "I am having some issues with two things in a Leaflet map 1) custom marker 2) pulling attributes from a geoJSON file and putting it in the pop-up.I should qualify things, I am really new to Leaflet and web development. I have looked at a number of different examples, but I cannot seem to make it wo... | Custom marker and properties from geoJSON in Leaflet | gis | 2017-02-05T08:40:50.753 |
[
{
"message": "I like to close gaps in a raster layer using the Module Close Gaps of Saga. I can not find which interpolation method is used by the module. Which method is used by the module and/or where can I find out?<a href=\"http://www.saga-gis.org/saga_tool_doc/2.1.3/grid_tools_7.html\" rel=\"nofollow noref... | Which interpolation method is used in the close gaps module of Saga GIS? | gis | 2017-02-05T21:19:50.157 |
[
{
"message": "[Working with R version 3.2.2 in a Mac computer.]I am trying to calculate mean values for climatic variables (<a href=\"http://www.worldclim.org/\" rel=\"nofollow noreferrer\">http://www.worldclim.org/) for spatial objects in R. The challenge is that I'm trying to calculate these means for every l... | Extract mean values of climate variables by level 2 administrative area country by country using R? | gis | 2017-02-06T10:47:16.160 |
[
{
"message": "If I have a linestring of objects (different from the road OSM XML file) and an OSM XML file that contains nodes and ways (extracted down to roads only), how can I detect if my linestring passes through a node? This is given that I have already made a script that has the list of intersecting nodes... | How can I detect if my linestring is near an OSM node? | gis | 2017-02-06T11:05:06.087 |
[
{
"message": "I have the datatype geometry defined. But I can't set it to one of the columns geom. as shown in the figure.<a href=\"https://i.stack.imgur.com/V1zQD.png\" rel=\"nofollow noreferrer\">",
"role": "user"
},
{
"message": "First you need to create <code>postgis</code> extension to add spat... | Can't set a geometry data type in PostgreSQL | gis | 2017-02-06T12:19:10.497 |
[
{
"message": "I'm working on QGIS to compute average values attached to polygons around a line.What I'd like to do is compute the average values of polygon data<br>within a user defined range from a line.<br>How would I go about doing this?I have attached a picture below for reference:<a href=\"https://i.stack.... | Get average values in some specific range based on spatial analysis with QGIS | gis | 2017-02-06T17:42:01.683 |
[
{
"message": "I'm beginner at using Cgal .I'm trying to run the examples which included in the CGAl package,I built the examples using Cmake and \"make\" command.but I'm facing a problem in including the header files to run CGAL examplesnote: I'm using Qt creator software, Fedora OS<a href=\"https://i.stack.img... | Adding Cgal headers after building package examples? | gis | 2017-02-06T17:48:57.013 |
[
{
"message": "I'm writing a script that will iterate rasters and do some calculations on each raster. I would like the formula in the GDAL raster calculator to include a variable, which I read from a txt file. I don't want the user to insert the variable but to integrate it in the script.The code of the raster ... | Integrate variable in GDAL raster calculator in script editor QGIS 2.8 | gis | 2017-02-07T09:55:57.370 |
[
{
"message": "We're developing a reverse proxy sitting in front of Carto's API. When a user of our reverse proxy requests data, we'd like the geometry values to be returned as Well-Known Text. And our reverse proxy sits in front of an arbitrary number of tables/datasets, so we don't know the field names ahead o... | Can't re-reference `the_geom` when requesting CSV format in Carto | gis | 2017-02-07T12:45:04.560 |
[
{
"message": "I need census block group (CBG) shapefiles separately for each commuting zone (CZ) in the US (by the 2000 delineation, there were 709 of them).I only found CBG shapefiles by state though, <a href=\"https://www.census.gov/geo/maps-data/data/cbf/cbf_blkgrp.html\" rel=\"nofollow noreferrer\">here.By ... | How to produce shapefiles on census block groups by commuting zone? | gis | 2017-02-07T15:21:52.140 |
[
{
"message": "I have a shapefile that contains several thousand <a href=\"http://toblerity.org/shapely/manual.html#polygons\" rel=\"nofollow noreferrer\">Polygons/<a href=\"http://toblerity.org/shapely/manual.html#collections-of-polygons\" rel=\"nofollow noreferrer\">MultiPolygons and another shapefile that has... | How to efficiently determine which of thousands of polygons intersect with a linestring | gis | 2017-02-07T15:47:25.957 |
[
{
"message": "I have a vector shape with many different sized polygons each with an other id and values. I want to assign a new table with Information of each polygon containing the name of the majority (higher proportion) of adjacent polygons attribute name. Ergo some kind of polygon neighborhood analysis.The... | QGIS neighborhood analysis | gis | 2017-02-07T16:44:33.383 |
[
{
"message": "How can I add features which provided by ArcGIS Online to QGIS map?<br>I'd like to add feature like \"USA Mean Temperature\" with QGIS (2.18.3).<br>These useful features are easy to access when I use ArcGIS Online,<br>by doing \"Add\" -> \"Search for Layers\" -> Select \"ArcGIS Online\".I guess \"... | Adding features from ArcGIS Online to QGIS? | gis | 2017-02-07T19:19:01.853 |
[
{
"message": "I have some code that I am using to determine which Shapely Polygon/MultiPolygons intersect with a number of Shapely LineStrings. Through the answers to <a href=\"https://gis.stackexchange.com/questions/227423/how-to-efficiently-determine-which-of-thousands-of-polygons-intersect-with-a-lin\">this... | RTree spatial index does not result in faster intersection computation | gis | 2017-02-07T21:07:12.287 |
[
{
"message": "I have built PostgreSQL source using MSVC2015 compiler for 64bit support and installed on Windows. Now, I want to build PostGIS also from source (I am referencing from <a href=\"http://postgis.net/docs/postgis_installation.html#installation_configuration\" rel=\"nofollow noreferrer\">this document... | PostGIS compilation error on Windows - missing libpq | gis | 2017-02-08T00:11:07.153 |
[
{
"message": "I would like to enable a Login form for Geoserver. This would means that, when a client makes a request using Leaflet or OL3, with an index file etc. The client would be prompted to log in before the layer would load. Any Advice, I have consulted the security of Geoserver but its like i don't unde... | Geoserver REST Authentication Form | gis | 2017-02-08T11:49:32.003 |
[
{
"message": "I am following <a href=\"https://openlayers.org/en/latest/examples/vector-wfs.html\" rel=\"nofollow noreferrer\">this example from OpenLayers' examples page so I can load a WFS layer pulled from MapServer. I copy and paste the code and the only thing I change is the EPSG in the function as the fol... | Adding a MapServer WFS layer in OpenLayers 3 | gis | 2017-02-08T12:41:32.667 |
[
{
"message": "I have a data set with 1000 different latitudes-longitudes. I wish to extract average annual temperature and annual precipitation for each of these coordinates. These data can easily be obtained from <a href=\"http://www.worldclim.org/current\" rel=\"noreferrer\">WorldClim and processed using DIVA... | How to use R to extract data from WorldClim? | gis | 2017-02-08T15:12:45.733 |
[
{
"message": "Let us assume the following two lines<a href=\"https://i.stack.imgur.com/DUNpp.jpg\" rel=\"nofollow noreferrer\">The two geometries are extracted by two different tables: table_1 and table_2 with respective column geometries geometry_1 and geometry_2. I want to check if the two lines are identical... | Compare linestrings in postgis | gis | 2017-02-08T15:22:31.073 |
[
{
"message": "How to connect a text in the website to a polygon on leaflet map?<br>(I am not refering to labeling - a simple html text)<br>Or a more advanced option: how to highlight this polygon when mouse is over the text?",
"role": "user"
},
{
"message": "For highlighting text in website and poly... | Leaflet; linking text to geometries | gis | 2017-02-08T16:01:44.300 |
[
{
"message": "I have polylines with counted lengths. And i have the polygon shapefile (fishnet). I want to calculate the sum af lengh of polylines and amount of lines that are within the border of each segment of polygon (fishnet). How do I can to do it using ArcGIS Desktop 10.1?By \"Counted lengths\" I mean th... | Count the length of all polylines from one shapefile within the segments of polygon of another shapefile | gis | 2017-02-08T16:23:50.303 |
[
{
"message": "I dont't have any experience with the geographics databases so I hope that you be patiente with me, the thing is: I know that the datatype geography is used if all you care about is measuring distances and lengths and you have data from all over the world and the datatype geometry is used is best ... | PostGis and datatypes WKT | gis | 2017-02-08T16:31:43.437 |
[
{
"message": "I'm attempting to Field Calculate the GlobalID field into a text-equivalent version of it, named GlobalID_T. This new text field will have the exact values for records calculated into it, except for the curly brackets at the beginning and end of the number string. All values the same for all recor... | Field Calculator GUID remove curly brackets from GUID string | gis | 2017-02-08T16:56:39.290 |
[
{
"message": "I'd like to confirm the performance I am observing when utilizing <code>distance</code> from a Geopandas <code>Series</code>. ProblemTime to complete operations appears to be far greater than comparable operation in PostGIS. I would like to understand if this is known and, if so, if there are sugg... | Geopandas performance appears quite slow | gis | 2017-02-08T19:23:51.533 |
[
{
"message": "I've got two GeoJSON files. One is points (gas stations) and the other is the local administrative area. I'm wondering is it possible to calculate the farthest distance in that polygon from the point?",
"role": "user"
},
{
"message": "Have you tried st_MaxDistance?<a href=\"http://post... | Distance in polygon from points in postgis? | gis | 2017-02-08T22:43:45.290 |
[
{
"message": "I call using <code>processing.alghelp(\"grass:r.to.vect\")</code>I looked input:<pre><code> <ParameterRaster>feature <ParameterSelection>-s <ParameterBoolean>GRASS_REGION_PARAMETER <ParameterExtent>GRASS_OUTPUT_TYPE_PARAMETER <ParameterSelection>output <OutputVecto... | Can not run grass:r.to.vect in Qgis console | gis | 2017-02-09T08:59:59.663 |
[
{
"message": "I have a GeoTIFF with cell values from 0.02 up to 0.75 and many nodata values (which are 0). When using GDAL Sieve with Threshold 1 or 100 (no difference in result) and pixel connection 4, my output layer is allover 0.Anybody knows, what could be the problem?<a href=\"https://i.stack.imgur.com/Eni... | Why is all 0 after using GDAL sieve on a raster layer? | gis | 2017-02-09T09:53:35.483 |
[
{
"message": "I was wondering whether there's a way to classify simple non-spectral TIFF images in ArcGIS (maybe based on similar colour values of image pixels like graphic software applications such as Photoshop can do)?",
"role": "user"
},
{
"message": "If the image is in RGB color, you can use <a... | Is there a way to classify simple non-spectral images in ArcGIS? | gis | 2017-02-09T12:04:58.417 |
[
{
"message": "I have dissolved polygons with geopandas. However, the head of attribute table became values of this table.How can I fix this trouble?See:<a href=\"https://i.stack.imgur.com/Y4AB6.png\" rel=\"noreferrer\"><a href=\"https://i.stack.imgur.com/DNzeK.png\" rel=\"noreferrer\">",
"role": "user"
},... | Trouble when Dissolving Geopandas Polygons | gis | 2017-02-09T13:28:57.363 |
[
{
"message": "I'm currently applying a select by attribute query to select null values before applying an increment cursor, but I'm interested in reducing the code by using a where clause and employing the updated da module. Current code:<pre><code>arcpy.MakeFeatureLayer_management (fc, \"fc_update\")gisID = \"... | Incrementing ID with DA Update Cursor | gis | 2017-02-09T18:53:42.953 |
[
{
"message": "I'm new to the pgRouting engine. Is it possible to input my own data and get it restricted when I want to find the shortest path between points A and B? For example I want to height and weight attributes for trucks routing to be restricted. And how do I call it in code? This is just a simple exam... | pgRouting: weight and height attribute | gis | 2017-02-09T20:30:55.813 |
[
{
"message": "I am currently writing a set of batch processing jobs using ArcObjects in C#.NET. I noticed that a lot of ESRI examples pile the code into one static class with each member declared inside each method scope.I am considering using either a factory pattern or a singleton pattern for processing featu... | Unmanaged ArcObjects and C#/.NET Class Design Patterns | gis | 2017-02-09T20:34:25.103 |
[
{
"message": "I have a WPF application called WpfApplication1. In ManiWindow.xaml I have aSnippet<pre><code><esri:MapView x:Name=\"MyMapView\"> </esri:MapView></code></pre>and in ManiWindow.xmal.cs I only have<pre><code>namespace WpfApplication1{ /// <summary> /// Interaction ... | Running ArcGIS RunTime Map With C# Code on WPF? | gis | 2017-02-09T20:42:22.867 |
[
{
"message": "I have imported a <code>raster</code> into PostGIS, and would like to know the \"byte type,\" ie. if the orignal GeoTIFF was a <code>Byte</code> type or <code>Int16</code>. Is this possible to do after importing to PostGIS? If so, how? Or must it be done on the GeoTIFF file itself?",
"role": "... | How to get byte type (eg. Byte or Int16) from GeoTIFF imported into PostGIS | gis | 2017-02-10T13:53:53.273 |
[
{
"message": "I have two vector layers composed of polygons. The polygons of the first layer are contained in exactly one polygon of the second layer.How do I create an attribute on the first layer with the ID of the polygon containing it?The layers are shapefiles.I have tried to use the field calculator to cre... | How to create a new attribute indicating which polygon from another layer contains each polygon on a layer | gis | 2017-02-10T16:03:27.413 |
[
{
"message": "I have a python script that is suppose to merge geodatabases. I have about 10 geodatabses, some of which have feature classes that are not in the others, everything else has the same schema. When I run the script, I get the following error:<pre><code>Traceback (most recent call last): File \"C:... | Merging geodatabases using ArcPy? | gis | 2017-02-10T16:54:35.540 |
[
{
"message": "Is there a way to flip the direction of all selected lines at once?",
"role": "user"
},
{
"message": "The Editing toolbox in ArcToolbox has a tool called <a href=\"http://desktop.arcgis.com/en/arcmap/10.3/tools/editing-toolbox/flip-line.htm\">Flip Line, which will reverse the direction... | Batch flip direction of selected lines in ArcGIS 10.3 | gis | 2017-02-10T21:19:12.253 |
[
{
"message": "I am attempting to provide the user a drop down list of field values based on a predefined shapefile or table. The string value users choose then needs to be taken by the script tool for use later in the script.I have the 'drop down' value list dynamically populated using the following validation ... | Problem getting value from arcpy script tool with validation code driven drop-down: code window popup on tool execution | gis | 2017-02-10T23:50:47.267 |
[
{
"message": "Used this code from <a href=\"http://www.qgistutorials.com/en/docs/building_a_python_plugin.html\" rel=\"nofollow noreferrer\">http://www.qgistutorials.com/en/docs/building_a_python_plugin.html<pre class=\"lang-py prettyprint-override\"><code>layers = self.iface.legendInterface().layers() layer_li... | How to resolve this "IndentationError: unexpected indent" error? | gis | 2017-02-11T06:46:52.300 |
[
{
"message": "I'd like to change the style of certain points based on events, but I can't figure out how to do it.Here's a working <a href=\"https://jsfiddle.net/221te82q/1/\" rel=\"nofollow noreferrer\">jsfiddle for an example.<pre><code>var points = new L.geoJson(pointsData, { pointToLayer: function(feature,... | How do I change the style of points that were created with pointToLayer in Leaflet? | gis | 2017-02-11T20:19:45.800 |
[
{
"message": "I'd like to change the style of certain points based on events, but I can't figure out how to do it.Here's a working <a href=\"https://jsfiddle.net/221te82q/1/\" rel=\"nofollow noreferrer\">jsfiddle for an example.<pre><code>var points = new L.geoJson(pointsData, { pointToLayer: function(feature,... | How do I change the style of points that were created with pointToLayer in Leaflet? | gis | 2017-02-11T20:19:45.800 |
[
{
"message": "Probably OS specific, I see this issue while using QGIS 2.14.11 and 2.18.3 versions on Windows64 platform.When I import a vector to QGIS by <code>Layer | Add Layer | Add Vector Layer</code> the layer source writes backslash in its path. Can I fix this to forward slash? [EDIT] This includes \"Can ... | How to fix (or avoid) backslash in filepath to vector layer (QGIS on windows) | gis | 2017-02-12T02:18:56.007 |
[
{
"message": "I have been trying to rework attributes in a polygon shapefile and think I have figured out how to ask in a sensible manor.I need to fill column Field2 with a 1 IF the value in column Field1 is equal to a certain value.For instance I want a 1 in my field \"Greenspace\" if my field \"leisure\" has ... | Filling Field2 Based on Values in Field 1 using Python Parser of ArcGIS Field Calculator? | gis | 2017-02-13T00:50:12.253 |
[
{
"message": "On my front end, I am using google maps JS api. I am adding markers, the google maps event gives me the lat/lng for where I add the marker.I'm adding that marker into my postgres database:<pre><code>INSERT INTO markers(created_by, title, description, lat, lng, geography)\\values($1, $2, $3, $4::d... | Adding association for location with city or zip code when using PostGIS to add markers using geography? | gis | 2017-02-13T05:47:19.563 |
[
{
"message": "I have latitude-longitude coordinates for a certain region with me. Is it possible that when I enter this data in Google Earth, I can somehow extract the land cover class associated with each coordinate? Or how can I access the land cover data (if GE already has it online)? I am new to Google Eart... | Extract land cover data from Google Earth? | gis | 2017-02-13T06:15:54.287 |
[
{
"message": "Currently, i have a 32 bit float raster (.TIFF) and would like to convert it to JP2000 format. Is there a way to do this?I have tried Copy Raster tool and Raster to Other format tool but both produce the error: <blockquote> 000446: Output file format with specified pixel type or number of bands ... | Convert 32 bit float raster file to JP2000? | gis | 2017-02-13T06:55:43.740 |
[
{
"message": "I often need to view on the canvas the (selected or not) features from the current active vector layer.In this situation, I only need to view something on the canvas, without doing anything on the canvas itself (so, the active window is always the Attribute Table).This is what I usually do:Open th... | Quickly browsing of features for the active vector layer? | gis | 2017-02-13T12:06:01.907 |
[
{
"message": "I am using geojson-vt for genreating polygon on leaflet map.polygon which is genreated is having some color...here i want to give different color to polygon border ...below is my geojson<pre><code>{ \"type\": \"FeatureCollection\", \"features\": [ { \"geometry\": { \"coordinates\"... | How to give color to polygon border in leaflet map | gis | 2017-02-13T13:19:11.600 |
[
{
"message": "I have a spatial data set of a country (England), I am trying to use this dataset to shade out all parts of a background map apart from the country shape.Using wms I can set the bgcolor to black, if I also set the style of the polygon to be transparent it simply means all I see is the black backgr... | Can you style a polygon feature as invisible, and not be affected by the background colour | gis | 2017-02-13T14:45:12.467 |
[
{
"message": "In QGIS, I want to merge features lines that same attribute value and are adjacent. What characterizes a line to be adjacent to another is the final vertex of a line to be coincident with the initial vertex of another line.The Dissolve command does not consider the adjacency criterion. The tool me... | Merging adjacent lines in QGIS | gis | 2017-02-13T18:29:02.210 |
[
{
"message": "I can get polyline labels to appear parallel to the line but I'd really like to have them off the end of the line, not on the line. Is there a way of doing this with QGIS?<a href=\"https://i.stack.imgur.com/VBwKc.png\" rel=\"nofollow noreferrer\">",
"role": "user"
},
{
"message": "Firs... | Label polylines parallel but off line end | gis | 2017-02-13T18:53:36.100 |
[
{
"message": "I have got a shapefile that contains ESRI formatting tags in the column I want to use for labeling the layer in QGIS. The following is an example for a label of one feature (3 Labels in different colors for one feature):<pre><code><CLR red='110' green='110' blue='110'>ST-SUD-VL-03-1</CLR&... | Removing Esri text formatting tags in QGIS? | gis | 2017-02-14T08:17:29.257 |
[
{
"message": "I have a custom form that calculates some area values, I'd like to automatically fill the base field using the geometry of the feature if the user hasn't set some value specifically. So I have the following code:<pre><code>def formOpen(dialog,layerid,featureid): global sqMField sqMField = di... | Finding the layer in a QGIS Custom dialog | gis | 2017-02-14T10:50:04.043 |
[
{
"message": "I want to determine which points from a set of hundreds of geographic coordinates are located into a shape polygon. I was able to convert all the coordinates (latitude and longitude ) into a SpatialPointsDataFrame and I can read and plot the shapefile in R as well. A graph of my shp file together ... | Problem points into a shape polygon | gis | 2017-02-14T11:20:47.843 |
[
{
"message": "We are developing an android application for showing an image with geo referened with .jgw and .prj file as below. we want to identify the geo location coordinate of image coordinate(in pixel) that user touched on the image. How we can use image cordinate to find ts relative latitude and longitude... | How to convert image pixel to latitude and longitude | gis | 2017-02-15T05:51:41.480 |
[
{
"message": "Recently I am investigating case of grounding vessels, one of the findings is the paper chart used for passage planning was using Bessel 1841 spheroids, whilst the GPS system was using WGS 1984 spheroids. The waypoints' coordinates planned in the paper chart then inserted into the GPS (using exact... | Effect on using different spheroids system | gis | 2017-02-15T07:25:36.687 |
[
{
"message": "This is my first time with QGIS and maybe it is an easy question but I can't figure out how to cut part of a layer to add it to another one.In the image you can find (red circles) parts of a layer totally embedded in other layers. I would like to \"cut\" that parts and join/add to the surrounding ... | Cut part of a shapefile | gis | 2017-02-15T09:25:46.190 |
[
{
"message": "I have a menubar (Search, Find, Draw, Measure) in my layout. By clicking on the respective buttons I would like to display the widgets.I am using the CMV widgets in my app.Based on the widgets configure in viewer.js file I would like to create dynamic menu and display widgets by clicking on respec... | Floating pane CMV? | gis | 2017-02-15T13:16:35.930 |
[
{
"message": "I'm working in a case-control study and I would like to ask if it's possible to create a 1km buffer for all cases and select only those ones which at least have one control inside the buffer.",
"role": "user"
},
{
"message": "In QGIS you could use the Distance matrix and then filter th... | Point selection inside buffer | gis | 2017-02-15T14:42:48.137 |
[
{
"message": "I recently clipped a raster layer to a smaller extent. When I import this layer and assign it the same CRS as other layers (EPSG:4326, WGS 84) it does not project with them. The original pre-clipped raster layer projects correctly as do CSV data points that I have imported. I checked the Project p... | QGIS Layers not projecting although Coordinate Reference Systems are the same | gis | 2017-02-15T15:50:18.193 |
[
{
"message": "There are name of toolbar you can see in : <a href=\"https://gis.stackexchange.com/questions/227876/name-of-qgis-toolbar-in-python\">Finding name of QGIS toolbar in Python?But, I want to know the name of children of toolbar. For example, the children of mapNavToolBar are touch zoom and pan; pan ma... | Name of children of toolbar in QGIS python and how to disable? | gis | 2017-02-16T05:36:07.627 |
[
{
"message": "I have polygon coordinates for complete India at district level and I want to just use 2 or 3 districts out of complete polygon.For example : I want to just select district Pune and Nasik and need this two polygon coordinates, but there are 100 district polygon boundaries in .shp file.How to extra... | Using QGIS how to extract single polygon co-ordinates in multiple polygon data? | gis | 2017-02-16T07:29:55.900 |
[
{
"message": "Is it possible to do supervised image classification in QGIS? I require it for the estimation of cover management factor (C factor) in USLE",
"role": "user"
},
{
"message": "You can do supervised classification using the <a href=\"https://plugins.qgis.org/plugins/SemiAutomaticClassific... | Supervised image classification in QGIS | gis | 2017-02-16T08:24:25.877 |
[
{
"message": "I’m trying to solve the following problem. <br/> I have a regular grid of points covering Europe<br/><pre><code>nx <- 361 ; ny <- 181 xmin <- -30.0 ; ymin <- 25.0 dx <- 0.25 ; dy <- 0.25 lat <- seq(ymin, ymin+(ny-1)*dy, dy) lon <- seq(xmin, xmin+(nx-1)*dx, dx) </code></pre>... | Associating country to grid cell in R? | gis | 2017-02-16T10:42:11.417 |
[
{
"message": "I am using this sql-query to execute an intersection:<pre><code>SELECT ST_AsText(ST_Intersection (schablone.geom, eingangsdaten.geom)) --as geom2 FROM schablone, eingangsdaten JOIN schablone b ON ST_Intersects (eingangsdaten.geom, b.geom) WHERE schablone.id = 4);</code></pre>The re... | ST_Intersection with only one polygon type | gis | 2017-02-16T15:04:55.927 |
[
{
"message": "I am trying to implement this solution (<a href=\"https://gis.stackexchange.com/questions/124272/how-to-merge-single-polygons-to-multi-part-polygons-by-maximum-distances\">How to merge single polygons to multi part polygons by maximum distances?), but when I create a buffer around my polygons, tho... | Fixed Distance Buffer distance not working on polygons with holes | gis | 2017-02-16T15:08:01.313 |
[
{
"message": "So I'm coding in arcpy and trying to process all rasters in a geodatabase and output to a new geodatabase. The steps go Minus(constant - raster), 1 divided by output, times 100. Then Reclassify results. Reclassify tool did not work. it would output a raster identical to the input.Tried as a series... | Using Arcmap 10.2.2, Con tool and Reclassify not working correctly | gis | 2017-02-16T22:03:43.917 |
[
{
"message": "I have thousands of pdf's that have meaningless names, and are scattered across several folders. I need to rename them, and fortunately most of them are referenced through links in spatial layers, where the attribute tables have meaningful information about the files and a column called 'hotlinks'... | Renaming non-GIS files through QGIS? | gis | 2017-02-17T03:16:20.293 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.