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 am trying to make query with GeoServer SQL View. However, GeoServer fails to make a successful query when I use values with spaces. Below is my setting. <pre><code>SELECT name, orig_name, desig, desig_eng, desig_type, iucn_cat, int_crit, marine, rep_m_area, gis_m_area, rep_area, gis_area, ...
GeoServer SQL View with parameter value having space not working
gis
2017-06-23T15:11:06.793
[ { "message": "I have a difficult situation, I'm trying to draw a polygon through markers (points), what I need is for the polygon to be drawn automatically after tracing the points.The problem is that most of the polygons will be irregular, because the points indicate a route through the roads, and the polygon ...
Draw a polygon automatically through markers (points) in google maps
gis
2017-06-23T16:08:06.393
[ { "message": "Is there any way to load a geopackage file into any mapView in Java?Is there any library to do this?", "role": "user" }, { "message": "This is pretty easy in <a href=\"http://geotools.org\" rel=\"nofollow noreferrer\">GeoTools as GeoPackages are just another datastore type. So here is ...
Loading geopackage into mapView in Java?
gis
2017-06-24T20:08:00.443
[ { "message": "I'm currently trying to produce simplified field slips on QGIS for an undergraduate mapping project in Villamanin, Northwest Spain. I've imported vector map layers from the download centre from the IGN for Spain and have been working through them to produce slips suitable for mapping contacts/etc ...
Small coordinate offset on QGIS using CRS ETRS89 / UTM zone 30N
gis
2017-06-24T20:49:34.310
[ { "message": "I would like to display the value of a raster (at least one band) as a tooltip next to the mouse in Qgis.The process would be : I select the raster layerwhen I move the cursor over the map (or maybe each time I click with the mouse),I can see the value next to the cursor. I know the plugin ValueTo...
Display raster value as a tooltip
gis
2017-06-25T06:10:47.357
[ { "message": "does anyone know how to go about converting lat, long, alt to x, y, z where you have an origin for x/y coordinate (specific place in London)? In other words, I have a lat long and alt data and would like to convert the to x,y,z with respect to a specific place, not the Earth center.For example, la...
Latitude Longtitude to X, Y, Z coordinate system using python
gis
2017-06-25T23:00:37.827
[ { "message": "I am now using the Colour Scale Bar for one-band rasters. I have saved my style as the .qml as shown in Fig. below.<a href=\"https://i.stack.imgur.com/V4OlE.jpg\" rel=\"nofollow noreferrer\">And then I tried to input the .qml to Colour Scale Bar for one-band rasters. And the error occured as - wro...
wrong input file - Colour Scale Bar for one-band rasters
gis
2017-06-26T03:46:22.753
[ { "message": "I'd like to color the map using the \"select by expression\". I tried to use color_rgba(255, 0, 0, 255) for example. It only changes the color to be completely yellow which is the \"selection color\" in the general settings and project settings. So do I have to disable the selection color in the g...
QGIS: Coloring a map relative to the values of certain attributes
gis
2017-06-26T07:42:36.580
[ { "message": "In my Leaflet application (version 1.0.1 1.0.3) I connect to ArcGIS Server via the Esri Leaflet plugin. I load the layer as dynamic layer:<pre><code>var layerUrl = \"http://localhost:6080/arcgis/rest/services//service1/MapServer\";var layer1 = L.esri.dynamicMapLayer({ url: layerUrl, });</code><...
Leaflet error: h.fn is undefined when using layer.on('loading') event
gis
2017-06-26T08:10:29.533
[ { "message": "I trying to clip a raster (either by Clip or Extract by Mask) with a polygon.The original input raster is not aligned to the north but it is aligned to the satellite track.I have two question:How do I clip the input raster using a polygon without changing the cell alignment?How do I clip the input...
Clip raster without changing cell alignment and avoid resampling on ArcGIS?
gis
2017-06-26T12:42:33.757
[ { "message": "We are in the process of migrating to ArcGIS Server 10.5 and stuck with a strange issue:ArcGIS Server 10.5 is installed in Windows Server 2012 R2 (virtual machine). Whenever I try to remote login to that machine using Remote Desktop it takes at least 20 minutes to login. But if I remotely stop the...
ArcGIS Server 10.5 service conflicts with Remote Desktop login into Windows Server 2012 R2 machine
gis
2017-06-26T15:42:18.067
[ { "message": "I have a working stand-alone pyqgis application that can display vector and raster layers, the question is how to access the layer style manager as in QGIS's layer property, where users can change the symbology of a layer? I am hoping there is a class already defined in the QGIS core library that ...
Access QGIS layer style manager in stand-alone pyqgis application
gis
2017-06-26T16:28:42.587
[ { "message": "I have seen the different solutions that store the info window in a variable and close it from outside of the info window, however I would like to have a possibility to close the info window from within itself, like having a button that closes the info window (in addition to the close button). I h...
Close CartoDB Infowindow from Template
gis
2017-06-27T09:54:34.460
[ { "message": "I want to convert or reproject in the fly some shape files and raster between between different datums using custom transformation parameters (7 parameters) but don't know how to do that in QGIS. I want to know the string of the final transformation, transformation matrice of rotation (my paramete...
Project data between different datums using custom parameters in QGIS!
gis
2017-06-27T15:39:45.330
[ { "message": "Stats Canada released new census data in false northing and easting format. The shapefile from 2011 on long/lat format worked fine, but now the map is rotated and distorted.The code below downloads the shapefiles, extracts them and plots the data.I tried various \"coord_\" options without any succ...
Ggplot: Incorrect aspect and map position for northing and easting shapefile
gis
2017-06-28T02:55:42.077
[ { "message": "I am keen to compute a windowing function on values in QGIS. I was not able to find a lag/lead function. I think this could be emulated using <code>@rownumber</code> and <code>$currentfeature</code>, but I am not expert in using these. I need to find a value for an attribute for a current feature....
Is there a way to use windowing functions (lag, lead) within the QGIS Field Calculator?
gis
2017-06-28T05:47:09.597
[ { "message": "I have a continuous line which represents the watercourse and I would like to color the parts that pass through pipes.I would like to color differently the part that is between two selected vertices, knowing that the part is not segmented and it should not be segmented because the line constitutes...
How to color differently a part from line that lies between two selected vertices
gis
2017-06-28T12:52:40.333
[ { "message": "I am currently trying to create an interactive 3D surface plot using plotly in R. My dataset includes a matrix of Latitude and Longitude and I have a DEM for the region I would like to make this surface plot for. However, I am unable to do the same.I have a dataframe Points.sp that contains a list...
Create a 3D topographic map with locations marked on the map using R
gis
2017-06-28T15:13:38.543
[ { "message": "I kept my original question clear and concise to make it easier to answer. This is a response to requests for more information.IntroductionI am using QGIS version 2.18.9. I created about 20 new memory layers by clicking on \"Layer\", then \"Create Layer\", then \"New Memory Layer\". I want to cr...
Duplicating memory layers in QGIS
gis
2017-06-29T10:53:38.367
[ { "message": "I am trying to automate buffering of objects in QGIS using Python. The function below using QgsGeometryAnalyzer works but the output is blocky. I understand that the smoothness of the buffer edge can be improved by <a href=\"https://gis.stackexchange.com/questions/93425/qgis-radius-buffer-question...
Improving buffer smoothness using PyQGIS?
gis
2017-06-29T13:24:08.437
[ { "message": "I am working on a project where I am classifying different types of shorelines in the Hudson River near Manhattan. My adviser is interested in seeing the depth changes along the different shorelines. The depths are a raster so I used the Raster to Point tool and then used the Spatial Join Tool (An...
Joining Data that don't overlap
gis
2017-06-29T13:53:28.567
[ { "message": "I have a JSON data in a text file. It contains some GIS data in form of WKT geometry and its attributes. I want to view this file in GIS and save it as shapefile, so I can work with the data. There are tools in ArcGIS that convert JSON to feature class (JSON to Feature), but my JSON is not in the ...
How to convert JSON from web service into shapefile
gis
2017-06-29T14:11:15.147
[ { "message": "I have a georeferenced mesh produced by photogrammetry software such as Agisoft Photoscan. Within this mesh, I have some areas of interest, which I can define with 2D vector masks (on the x and y plane) in the form of a shapefile or a SpatialPolygonsDataFrame (<code>R</code>). Can anyone reccomend...
How to clip mesh files with a mask, and calculate the (3D) area of triangles inside?
gis
2017-06-29T16:00:57.723
[ { "message": "Running Windows 7 Professional (64bit) SP1. I have QGIS 2.18.10 installed from the standalone installer. The GRASS commands (161 algorithms) are present in the toolbox and seem to run ok. However the GRASS GIS 7 commands (314 algorithms) result in the following message box:<br/><br/><a href=\"http...
Unable to run any GRASS 7 algorithms in QGIS 2.18.10 on Windows 7(64)
gis
2017-06-30T16:59:21.860
[ { "message": "I have a Shapefile layer with thousands of polygons. I want to edit the vertices of just a few, but when I select them to try to modify them it becomes very slow. How can I isolate those few to make this work faster? <a href=\"https://i.stack.imgur.com/jnXlh.jpg\" rel=\"nofollow noreferrer\">Here`...
Isolating only few polygon parts for editing in shapefile with many polygons in QGIS?
gis
2017-07-01T18:18:31.357
[ { "message": "I am studying on concrete technology, I have jpg image of concrete which is taken by digital camera .I am working with arcgis 10.1 version. I need to convert it into greyscale and get attribute table for further analyasis and classification.How can I get that ?", "role": "user" }, { "m...
Conversion of jpg image to greyscale and how to get attribute table?
gis
2017-07-01T20:44:31.027
[ { "message": "I work with \"line pattern fill\" in polygon layer with distance value: 5<a href=\"https://i.stack.imgur.com/AlRgv.jpg\" rel=\"nofollow noreferrer\"><a href=\"https://i.stack.imgur.com/t2HqA.jpg\" rel=\"nofollow noreferrer\">and the legend is:<a href=\"https://i.stack.imgur.com/ZLzgT.jpg\" rel=\"n...
Line pattern fill in legend symbology- QGIS 2.18
gis
2017-07-01T21:09:28.390
[ { "message": "Sorry for the confusing question. I have a shapefile and I need to draw a polygon in the middle of it. I know I can use the \"create features\" function, but that creates a polygon on top of the first one, whereas I need it to cut into the main polygon and reduce the area of it, rather than being ...
How to add a polygon within another polygon as opposed to on top of it?
gis
2017-07-02T10:47:59.597
[ { "message": "I am trying to set style to my WMS layer in my script like this : <pre><code>http://opendem.info/ol3/wms_sld.html</code></pre>but I got nothing.This is my code : <pre><code>var sldBody = '&lt;?xml version=\"1.0\" encoding=\"ISO-8859-1\"?&gt;&lt;StyledLayerDescriptor version=\"1.0.0\" xsi:schemaLoc...
SLD_BODY in WMS Layer params is not working
gis
2017-07-02T18:18:56.077
[ { "message": "Software UsedQGIS 2.18.10MS Excel 2016GitHub Repository With Files (<a href=\"https://github.com/RanaDataViz/Graffiti\" rel=\"nofollow noreferrer\">link)Update 3Blank file when reprojecting1. Open the layer<a href=\"https://i.stack.imgur.com/aCs3X.png\" rel=\"nofollow noreferrer\">2. Double-click ...
Geometry Errors with Imported Shapefile, Unable to Fix
gis
2017-07-02T21:23:53.937
[ { "message": "I was trying to merge a bunch of SRTM rasters in QGIS as I've always done, but this time some of the rasters included large areas of pixels in the sea. The result is that only pixels near the shore are showing any visible contrast. Pixels on land are all white (no information there)(figure). Howev...
Merging SRTM rasters that include sea pixels in QGIS?
gis
2017-07-02T22:29:53.627
[ { "message": "I want to use the \"clip raster by extent\" tool of PyQGIS.The doc <a href=\"http://docs.qgis.org/2.18/en/docs/user_manual/processing_algs/gdalogr/gdal_extraction.html?highlight=clip%20raster%20extent\" rel=\"nofollow noreferrer\">Clip qgis doc says that there are five parameters :<pre><code>proce...
Wrong number of parameters in PyQGIS tools
gis
2017-07-03T11:43:12.097
[ { "message": "I want to use the \"clip raster by extent\" tool of PyQGIS.The doc <a href=\"http://docs.qgis.org/2.18/en/docs/user_manual/processing_algs/gdalogr/gdal_extraction.html?highlight=clip%20raster%20extent\" rel=\"nofollow noreferrer\">Clip qgis doc says that there are five parameters :<pre><code>proce...
Wrong number of parameters in PyQGIS tools
gis
2017-07-03T11:43:12.097
[ { "message": "I am trying to add photo files to specific points in QGIS 2.18 using the instructions found in the training manual section 6.4 <a href=\"https://docs.qgis.org/2.2/en/docs/training_manual/create_vector_data/actions.html\" rel=\"nofollow noreferrer\">https://docs.qgis.org/2.2/en/docs/training_manua...
QGIS Identify tool Browse button not working
gis
2017-07-03T21:23:10.917
[ { "message": "I have a local setup of the geocoder, after some test, I realized that the time for the states is different. Some states have more data and the geocoding takes much more for these. E.G. for MA the average time is around 300ms but for CA the time is around 20-30 seconds. I have this on a Ubuntu mac...
Is possible to create a set up of the tiger geocoder in different hardrives?
gis
2017-07-04T03:19:49.263
[ { "message": "I've been reading up on Overpass syntax and I think I get the basics. For example, let's say I want to get the IDs and coordinates of every town in Andorra that OSM has a record of:<a href=\"http://overpass.osm.rambler.ru/cgi/interpreter?data=[out:json];area[%22ISO3166-1%22=%22AD%22][admin_level=2...
Can you restrict which OSM tags are returned by Overpass API?
gis
2017-07-04T05:02:14.427
[ { "message": "I know how to crop a raster by providing coordinates in a CRS:<pre><code>Envelope envelope2D = new ReferencedEnvelope(envelopeStartX, envelopeEndX, envelopeStartY, envelopeEndY, obj.targetCRS);GridCoverage2D tile = (GridCoverage2D) ops.crop(obj.coverage, envelope2D);</code></pre>How do I crop by p...
Cropping GeoTIFF with GeoTools using integer indexes
gis
2017-07-04T13:45:46.090
[ { "message": "For fetching data from a feature layer, I've been using QueryTask service, <pre><code> var deferred = new Deferred(); var queryTask = new QueryTask(featureLayerurl) var query = new Query(); query.geometry = geometry; query.where = \"document='100'\"; query.returnGeometry...
What is the difference between QueryTask and featureLayer.queryFeatures
gis
2017-07-05T07:57:33.937
[ { "message": "I regularly use land registry data from <a href=\"https://www.gov.uk/government/collections/download-inspire-index-polygons\" rel=\"nofollow noreferrer\">https://www.gov.uk/government/collections/download-inspire-index-polygons however at present the .gml, when adding a vector layer, renders point...
GML vector layer not rendering polygons
gis
2017-07-05T15:00:55.427
[ { "message": "I have ONE layer of linestrings and some of them are overlapping, I need to display the overlapping lines with an offset.I have seen the solution using the offset in style for the whole layer but it applies it to all the lines.Is there a way to do it either with qgis or programatically using pyqgi...
Adding offset to overlapping lines in qgis in same layer?
gis
2017-07-05T15:24:09.013
[ { "message": "I've been asked to map an area of land using QGIS, so I created a new vector layer polygon and saved it to my PC without problems. They've asked for the following files: .shp, .shx, .dbf, .prj and .cpg. When I go to the folder containing my saved polygon files, all files except .cpg are there. How...
How do I create/find .cpg files after creating a shapefile in QGIS?
gis
2017-07-05T18:30:39.887
[ { "message": "I have followed the guide <a href=\"https://docs.djangoproject.com/en/1.11/ref/contrib/gis/install/#windows\" rel=\"nofollow noreferrer\">here and many others but no luck so far.I am wondering if the two Operating systems are even supported by geodjango due to the dependencies. I have set the envi...
Installing GeoDjango dependencies on Windows 10 or Windows Server 2012 R2?
gis
2017-07-05T21:26:22.093
[ { "message": "I am implementing the routing machine wich is leaflet extension for routing analysis but by default the routing in routing machine is for demo based on OSM data.I want my own route ;How I do to build my OSRM server for route and how I make route of public transport based on bus lines not roads .",...
Create my own OSRM for routing machine on leaflet
gis
2017-07-05T22:14:15.890
[ { "message": "I'm currently trying to develop a LAStools specific routine, setting all the parameters for <code>lasheight</code> then using the output of that to run <code>lasclassify</code>. The closest thing I've found to being able to write this in Python is in <a href=\"https://gis.stackexchange.com/questio...
Using Python to send arguments to LAStools basics
gis
2017-07-06T00:22:39.230
[ { "message": "I found this code on a youtube tutorial (<a href=\"https://www.youtube.com/watch?v=u26Kpe4NBqU\" rel=\"nofollow noreferrer\">https://www.youtube.com/watch?v=u26Kpe4NBqU) for batching exported attachments from arcgis online.<pre><code>from arcpy import daimport osattachTable = arcpy.GetParameterAsT...
Exporting attachments gives RuntimeError?
gis
2017-07-06T00:58:52.843
[ { "message": "I am working on a feature merge Operation, able to stick features together, if they have the same attributive values (e.g. TP_RKZ1 &amp; TP_RKZ2 are empty so stick the multiple features to one single feature together if the following feature is not equal to the feature before [like in the Image])....
Merging features from equal attributes in QGIS 2.18.3?
gis
2017-07-06T07:46:25.537
[ { "message": "I have put this together after reading <a href=\"https://gis.stackexchange.com/questions/217165/how-to-create-polygon-shapefile-from-a-list-of-coordinates-using-python-gdal-ogr\">How to create polygon shapefile from a list of coordinates using python gdal/ogr?, and <a href=\"https://gis.stackexcha...
How to create line/polygon shapefiles from geojson using gdal in Python?
gis
2017-07-06T14:31:25.430
[ { "message": "I've been following along with this Ansible Playbook to get PostGIS Tiger data setup:<pre><code>https://github.com/enigma-io/ansible-tiger-geocoder-playbook</code></pre>Everything worked great, and it said everything was setup correct with no error messages. The only thing is that it took about 1 ...
Populating postgis tiger tables
gis
2017-07-06T15:07:02.353
[ { "message": "What I've been trying to do is I have a ton of geoJSON files (a few thousand) and I need to load them, change the colors of the Polygons and background to white and black, then export them as an image. Like the one below...<a href=\"https://i.stack.imgur.com/pY55T.png\" rel=\"nofollow noreferrer\"...
Screenshot every layer from a geoJSON object, failing to zoom to extents of each layer correctly
gis
2017-07-06T16:01:31.843
[ { "message": "In my macOS system RStudio, plotting spatial data (statialpolygons, points and lines) is extremely slow, making it impossible to work with. When I try to plot the shapefile in this link (@<a href=\"https://drive.google.com/drive/folders/0B0XRH7FN95-RSzFRckhXNjVWYlk\" rel=\"nofollow noreferrer\">ht...
Slow plotting of spatial data in macOS RStudio's plotting device
gis
2017-07-06T16:49:52.810
[ { "message": "I want to calculate the frequency of observation of an animal in a forest habitat within the different zones of my study area. To do this I will use the simple equation (number of individuals)/(survey effort). I want to do this within a grid of 150mx150m, where a greyscale gradient will indicate t...
Adding attribute features from the intersection of a grid with a point shapefile?
gis
2017-07-07T05:49:33.047
[ { "message": "In Vaclav Petras' <a href=\"https://github.com/wenzeslaus/python-grass-addon/blob/master/07_next_steps.ipynb\" rel=\"noreferrer\">GRASS add-on guide it is stated that GUI toolboxes for GRASS add-ons are defined in the <code>toolboxes.xml</code> file, that must then be added to the main installatio...
Creating a GUI toolbox for a GRASS add-on
gis
2017-07-07T08:00:26.807
[ { "message": "I'm having a lot of floating point raster datasets in GeoServer. GeoServer automatically uses a dot (.) to separate the decimals of a value. Is it possible to change this into a comma (,)? Either within GeoServer, or by modifying the GetFeatureInfo response so it replaces . with ,", "role": "u...
Replace a character in the GetFeatureInfo response
gis
2017-07-07T08:47:18.980
[ { "message": "I am trying to export the legend into an image using Print Composer into its 100% size as it is in the composer window. To be sure it is the intended size I want, I clicked Zoom to 100%:<a href=\"https://i.stack.imgur.com/Dp4Kd.png\" rel=\"nofollow noreferrer\">But upon clicking Export as Image, I...
Export the legend into its 100% size using Print Composer
gis
2017-07-07T09:22:03.887
[ { "message": "I'm currently using Esri Leaflet with authenticated user services. Authenticated services are set up and work fine for displaying geographic data after login, however, I want to create a dashboard and visualizations (mostly graphs) from the data in the SDE within our mapping platform. eg.\"Your t...
Using ArcGIS Tokens to visualize user authenticated data in Esri Leaflet?
gis
2017-07-07T16:46:27.347
[ { "message": "I know this has been discussed before, and I used the code provided by @Joseph in <a href=\"https://gis.stackexchange.com/a/187067/84870\">How to join data from excel to an attribute table in QGIS without creating duplicates for my Macros.I am trying to achieve what @Joseph said, but I am attachin...
Automating the updating of the attribute table of a shapefile that is linked to a CSV file
gis
2017-07-08T06:27:28.057
[ { "message": "I have a raster layer and a vector point layer. I calculated distance between center each pixel and each point based on @YoLecomte and @mgri, <a href=\"https://gis.stackexchange.com/questions/246601/measuring-distances-from-each-pixel-center-in-raster-to-each-point-in-vector\">this link and xunilk...
How to sum multi values for each pixel in PyQGIS?
gis
2017-07-08T10:57:44.057
[ { "message": "I used a script from the <a href=\"http://docs.qgis.org/2.2/pdf/en/QGIS-2.2-PyQGISDeveloperCookbook-en.pdf#page=37\" rel=\"nofollow noreferrer\">PyQGISDeveloperCookbook and another <a href=\"https://gis.stackexchange.com/questions/233740/rendering-a-custom-bounding-box-to-an-image-file-using-pytho...
How to input correct coordinates depending on various CRS with Python in QGIS
gis
2017-07-09T11:36:55.120
[ { "message": "I have a csv file for pavement survey (potholes). It maps the pavement based on number of potholes in each segment divided into equal 100 meters. I am attaching a picture of it to view. How do I do this on QGIS? I tried different plugins but wasn't anywhere near to what I was looking for. RED indi...
Dividing tunnel into segments of 100 meters using QGIS?
gis
2017-07-10T05:13:52.687
[ { "message": "My attempt to extract building footprints from Sentinel-2 images using machine learning algorithm trained on Sentinel-2 images produced a lot of false positives and there is no sign that the algorithm actually learnt anything. When I tried the same architecture on another kind of dataset (MNIST, C...
Extracting building footprints from Sentinel-2 imagery
gis
2017-07-10T08:24:46.747
[ { "message": "I have been practising <a href=\"https://developers.arcgis.com/javascript/3/\" rel=\"noreferrer\">ArcGIS in JavaScript (for WMS layers ) and have always faced numerical values of <code>SpatialReference</code> like <code>wkid: 102100</code>, but now I faced in this format: <pre><code>'PROJCS[\"NAD_...
Working with ESRI WKT Spatial Reference in ArcGIS API for JavaScript?
gis
2017-07-10T13:46:37.310
[ { "message": "QGIS version 2.18I am trying to code a function that creates some multi ring buffer. The algorithm is as below:Take a featureBuffer it by a set of distancesDo a difference of the buffer geometry minus the feature's geometry to keep the \"ring\" onlyReplace the initial feature by the \"ring\" and s...
ring buffer code not working with pyqgis
gis
2017-07-10T14:53:27.947
[ { "message": "In the Site I am building a user can login and view a map that shows the Region under him (a GeoJSON layer). The user need to split this region into a number of subregions and assign it to some other users(sub users under him)to take care of the operations in that subregion and can view the map of...
Split GeoJson Layers into multiple layers in Javascript
gis
2017-07-11T10:48:42.430
[ { "message": "I am trying to create several buffer layers around a simple box shaped polygon based on distance in km. CRS is World Mercator(EPSG:54004) and was reprojected beforehand. I am getting buffer polygons with rounded corners (green is box, pink is buffer) but need straight / sharp corners:<a href=\"ht...
Creating straight sharp buffer corners instead of round ones
gis
2017-07-12T11:22:08.147
[ { "message": "I have just started working in PostGIS. I have a table in PostgreSQL that stores Latitude,Longitude. I want to create a rectangle of 500*500 foot around every point. Therefore, used the below given script.<pre><code>INSERT INTO GridData(latitude,longitude,geom)SELECT latitude,longitude, ST_Buff...
Create a Rectangle around a point in PostGIS
gis
2017-07-12T11:36:56.463
[ { "message": "I understand that others have encountered the problem of SLD exports running in Geoserver, and I have taken several steps recommended elsewhere on this site to fix the code but it still won't run, so if anyone can spot any glaring errors in the below, code sample, please let me know. The only err...
SLD file exported from QGIS not working in Geoserver?
gis
2017-07-12T20:55:26.980
[ { "message": "From a standalone python script (i.e. not running within QGIS) I am manipulating QGIS a project file (<code>*.qgs</code>) to have its layers point to different geometry data.That geometry data can be in different spatial reference systems (SRS), so I'd like to also adapt the <code>&lt;maplayer&gt;...
How can I create a consistent <srs> element in a QGIS project's layer?
gis
2017-07-13T12:02:00.007
[ { "message": "From a standalone python script (i.e. not running within QGIS) I am manipulating QGIS a project file (<code>*.qgs</code>) to have its layers point to different geometry data.That geometry data can be in different spatial reference systems (SRS), so I'd like to also adapt the <code>&lt;maplayer&gt;...
How can I create a consistent <srs> element in a QGIS project's layer?
gis
2017-07-13T12:02:00.007
[ { "message": "Due to my small colorblindness I face difficulties in recognizing red text in black text. In the FME Translation log errors are always shown in red. Is it possible to change this color (or that of the black text)? Because in this setting I can't use the software. I couldn't find it in the FME Appe...
Can I change the colors in FME translation log?
gis
2017-07-13T13:39:22.653
[ { "message": "I have an ajax link getting data from GeoServer. When a user selects features on a map, a new bounding box is calculate and sent via Ajax to GeoServer and the features within that bounding box are sent back.I have a handleJson function for the selected features returned from GeoServer:<pre><code> ...
Create a table from GeoJSON Data from Ajax link - Using Leaflet Javascript
gis
2017-07-13T16:17:20.907
[ { "message": "BackgroundGoogle Maps nowadays shows \"areas of interest\" in pale orange. <a href=\"http://mashable.com/2016/07/26/google-maps-areas-of-interest/\" rel=\"nofollow noreferrer\">(Source.) As far as I can tell, \"areas of interest\" are basically just high-density commercial districts.I think it mak...
I'd like to see where commercial districts are, using color-coding. Is there any free map website, other than Google Maps, which can help me?
gis
2017-07-14T10:26:51.527
[ { "message": "As part of my position, we're required to randomly select townships in our state, select forest, wetland, or grasslands and then throw random points into those habitats to create site for plant and bird samples. We've created shapefiles and points in R, but what we'd like to do is create a web-ba...
How to create a web-based GIS that can be queried by multiple users?
gis
2017-07-14T14:14:25.350
[ { "message": "I have a polygon shapefile of geological units. Someone has already created a symbology and assigned standard colours to the units, available as a .lyr file.What I need to do is create a list of the the 40+ units with their assigned RGB values using an ArcMap tool or maybe ArcPy.I have been able t...
Extracting RGB values from symbology of .lyr or polygon file using ArcGIS Desktop?
gis
2017-07-14T22:06:35.303
[ { "message": "I have this parameters for my python script:<pre><code>import arcpyLayer1 = arcpy.GetParameterAsText(0) Tabela1 = arcpy.GetParameterAsText(1) Estado = arcpy.GetParameterAsText(2)Ano = arcpy.GetParameterAsText(3).split(';') mxd = arcpy.mapping.MapDocument(\"CURRENT\") Saida = arcpy.GetParameterA...
Wildcard for field in arcpy.GetParameterAsText
gis
2017-07-15T15:56:31.813
[ { "message": "I started with a line vector file consisting of several creeks. The problem with that file was that most of the creeks within the file were broken illogically into segments, even those that should have been contiguous. (I.e. Whoever initially created the vector file and attempted to digitize the c...
What tool could I use to merge separate line vectors?
gis
2017-07-16T04:03:48.753
[ { "message": "This code is not working ! Please help !!!Why can't I load my basemap from the arcgis rest services using leaflet ? do I need to include\"the esri-leaflet\" package as well to use arcgis rest services in leaflet?<pre><code>&lt;!DOCTYPE html&gt;</code></pre> ...
Why can't I load my basemap from the arcgis rest services using leaflet?
gis
2017-07-17T09:10:11.560
[ { "message": "I have downloaded a raster with land cover data from <a href=\"http://www.diva-gis.org/gdata\" rel=\"nofollow noreferrer\">http://www.diva-gis.org/gdata.<pre><code>library(tmap)library(raster)grid_cov &lt;- raster('VEN_cov/VEN_cov.grd')grid_covclass : RasterLayer dimensions : 1416, 1656, 23...
How to correct link a set of colors to a rasterLayer
gis
2017-07-17T14:23:34.457
[ { "message": "I'm trying to create a new raster from three bands (rgb). I got the script mostly from <a href=\"https://pcjericks.github.io/py-gdalogr-cookbook/raster_layers.html\" rel=\"nofollow noreferrer\">here. I can create a single band raster with no problems, but I'm having trouble inputting a tree band n...
How to create an rgb GeoTIFF file raster from bands using the GDAL python module?
gis
2017-07-17T15:23:36.823
[ { "message": "How is the <code>st_length</code> function stored in an Oracle geodatabase? Is it in a:PL/SQL functionSeparate <code>.dll</code> librarySomewhere else?I've noticed that the <code>sde.st_length</code> function works, even when the <code>st_shapelib.dll</code> library is not configured. I can call <...
How is the st_length function stored in an Oracle geodatabase?
gis
2017-07-17T17:54:24.130
[ { "message": "I have a Postgres table \"files\" with a lat/lon location field of type <code>geography(GeometryCollection,4326)</code>. Right now the field only contains lat/lon polygons. I have succeeded in creating a gist index for the field and in doing a bounding box search with a search polygon:<pre><code>s...
In PostGIS how can I do an ST_Intersection() search with a GEOMETRYCOLLECTION Geography field?
gis
2017-07-17T19:56:05.690
[ { "message": "I need to analyze the area defined by a polygon that I drew (call it 'X') of the images of Modis Terrra. What is the difference between filtering bounds and clipping to define the area of interest?I'm confused about the following alternatives:option 1.<pre class=\"lang-js prettyprint-override\"><c...
Clipping vs Filtering Images with a Polygon - Google Earth Engine
gis
2017-07-17T21:51:36.877
[ { "message": "I have US interstate ramp end location data points that I need to match road network data. All the points are off by a few meters as they were collected in the field. I am hoping there is a way to automatically match/snap all the points to the end nodes of the ramps if within 20 meters. I can't...
Automatically snapping points to line ends on two separate layers?
gis
2017-07-17T23:37:08.117
[ { "message": "I have been trying to publish a zipped up shapefile to GeoServer.For background, I am using DotSpatial to create a Line shapefile based on uploaded points. Once I have created the shapefile, I compress all files generated (shp, prj, dbf, shx). Then I want to publish it to GeoServerI am able to cre...
Web request to upload shapefile to GeoServer
gis
2017-07-18T03:46:45.143
[ { "message": "My goal is to get a fishnet inside the rectangles of 'ov_boxes' (image below) with the given extends from the attribute-table ('width' and 'height' in relation of 'scale').<a href=\"https://i.stack.imgur.com/snoRG.jpg\" rel=\"nofollow noreferrer\">I used ST_CreateFishnet and modified it: But the f...
ST_CreateFishnet inside given rectangles: Getting two geometry's instead of one
gis
2017-07-18T05:38:14.127
[ { "message": "I am trying to clip an aerial map in QGIS 2.18 with the layers simultaneously in this map:<a href=\"https://i.stack.imgur.com/fOiSd.jpg\" rel=\"nofollow noreferrer\">My purpose is to get the aerial map clipped by the red layer that includes all layers like this image (i did that image with draw so...
Clip rasters and vectors simultaneously in QGIS 2.18
gis
2017-07-18T07:04:26.073
[ { "message": "I have a layer with lots of features. Every feature has the <code>data</code> attribute. I could select some features by <code>Select by location</code> based on other layer(s) or just by free hand (yellow points as example). <a href=\"https://i.stack.imgur.com/7FFmD.png\" rel=\"nofollow noreferre...
Extending selections based on value of selected features in QGIS?
gis
2017-07-18T09:37:17.213
[ { "message": "I am trying to download spatial data (points) from a site that offers it in two forms: a KML and a tab-separated list. Unfortunately when I download the KML file, the attributes table is basically blank, and even more importantly, I can't clip the points to a polygon in QGIS (I posted a question a...
Need to get spatial data from tab-separated list into csv or similar
gis
2017-07-18T18:28:59.530
[ { "message": "I have two raster datasets, the first an 800 meter digital elevation model, the second a corresponding set of temperatures at the same resolution and identical spatial reference. I've extracted each into a smaller selection (elevation &amp; temperature below): Does a chunk of code exist that pulls...
Extract Max & Min Values of Two Rasters
gis
2017-07-18T21:21:16.027
[ { "message": "I am looking for some advice for clustering points around other defined centres while maximising the density i.e. I need to identify clusters but constrain the cluster densities to be <code>&gt;= MinRequired</code> and <code>&lt;=MaxCapacity</code>while also keeping the clusters as compact as poss...
Maximising cluster density around geo points using qgis
gis
2017-07-19T09:06:20.490
[ { "message": "I would like to calculate the shortest distance between each building and nearest sewage pipe. I followed steps described on <a href=\"https://carto.com/blog/lateral-joins\" rel=\"nofollow noreferrer\">CARTO blog but I encounerd an error.I have data in same database but in different schemas:table ...
Calculating distance to nearest object using PostGIS?
gis
2017-07-20T12:36:19.127
[ { "message": "I am trying to update the area field in sqkm of my table using Search and Update cursor from the arcpy library. The area needs to be updated using the different utm zone. I intersected my shp (that I called \"outIntersectPath\") with the utm zone shp. Now my intersected shp has a column with the U...
Calculate the area in sqkm across UTM zones using arcpy cursors
gis
2017-07-20T18:23:47.293
[ { "message": "I'm downloading TIGER data from the census site for the TIGER geocoder, but the computers IP has been blocked.I'm trying the following now:Generate the loader script on the target machine.Copy that file into a different machine that is not banned.Keep only the <code>wget</code> statements in orde...
Working around US Census site blocking of IP addresses?
gis
2017-07-21T01:36:57.543
[ { "message": "I'm trying to migrate from QGIS to ArcGIS Pro (still on trial version) and I have really basic problem. How to quick toggle visibility of object with certain symbology (unique values symbology)? In QGIS there is option to on/of visibility for symbol of every unique attribute value on Layers Pane. ...
Quickly toggling visibility of certain symbology on ArcGIS Pro?
gis
2017-07-21T07:18:35.697
[ { "message": "How do you update a WMS in a LeafletJS Map?Using a simple text box and submit button, as well as a variable to hold a CQL filter (SQL query text) I've been able to update the CQL filter value on the WMS layer but cannot figure out how to refresh the WMS image.The text box simply takes a number, an...
Refreshing WMS based on updated CQL Filter in Leaflet
gis
2017-07-21T16:52:35.450
[ { "message": "I setup a PostGIS/Tiger database and have been going through trying to optimize my queries. At this point I have am having issues with geocoding certain addresses, and I just can't seem figure it out. I wanted to ask for some options to explore.Some addresses seem to geocode quickly (20%), while o...
PostGIS Geocode function taking a lot of time some address, but not others
gis
2017-07-21T17:42:25.473
[ { "message": "I have a question about joining data points (with a large amount of information) with shapefiles in ArcGIS Desktop:I have imported a CSV file into GIS. This CSV File is quite large: each row contains roughly 75 columns. As such, each row in the CSV file contains quite a bit of information. I was a...
Joining CSV-Generated Datapoints with Shapefiles in ArcGIS Desktop?
gis
2017-07-22T04:33:00.957
[ { "message": "I have a polygon which is actually composed of many polygons but it results as unique geometry in the shapefile. It's easier to explain with a picture. The yellow parts are in my shapefile a single polygon.I want to make each part be a different polygon with different attributes.<a href=\"https://...
How to divide a multipart polygon into many polygons using QGIS?
gis
2017-07-23T09:00:28.150
[ { "message": "I have been reading a bunch of helpdocs/whitepapers from ESRI and could not find a solution.My Scenario:I have a multi-user DB and want child 1 edits concile/POST to parent 1 which then parent 1 All this works fine however I foresee a potential issue.Child 1 version is for field crews making edits...
Reconcile/POST version DB edits- only by selected USERS(last edited)
gis
2017-07-23T17:37:09.620
[ { "message": "i have create a simple custom line style in QGIS where i have 10 dash 2 spaces and inside a cross and i have define specific distance in millimeter .<a href=\"https://i.stack.imgur.com/U98w1.png\" rel=\"nofollow noreferrer\">style like this :<a href=\"https://i.stack.imgur.com/gegDe.png\" rel=\"no...
custom QGIS style scale and render
gis
2017-07-23T19:41:25.423
[ { "message": "I'm looking for any link/documentation where the centre wavelengths of Landsat surface reflectance product are stated/written (i.e. the value for each centre band). Specifically, I wanted to be sure the band names are same as Landsat 8. All I've seen so far is the band 1, band 2, band 3..... nami...
band name for landsat surface reflectance product
gis
2017-07-24T07:48:24.533