1
vote
2answers
963 views

Changing color and transparency of layer using ArcPy?

I would like to create an ArcPy script to change the color and transparency of a collection of layers. The color and transparency would be based on wildcards such as "_dog" or "_chicken". The ...
0
votes
0answers
42 views

Preventing North Arrow from jumping around in ArcPy?

I am using a python script, which opens an mxd, loads a feature class, exports the map to a png. That script produces a few hundreds of maps. After my update to 10.4 (maybe that is a coincidence) the ...
1
vote
1answer
23 views

Proportional circles as function of value NOT range

I have two point layers, each containing one column of values. When using the graduated style in layer properties, the size of the points is relative to the total range of values within that layer . ...
2
votes
1answer
42 views

Assign nearest raster cell value to point

I came across to a similar issue described in Finding nearest raster cell value based on vector point? I understand the proposed solution with Raster to Point and then Spatial Join with (for example) ...
0
votes
1answer
225 views

How to specify the lat/long and bounding box of MapServer WMS layer in Openlayers

I am using MapServer to add a WMS layer on a basemap using OpenLayers 3. The mapserver generates a png image from a shapefile, which I need to overlay on a basemap. Below is the code which I used to ...
0
votes
1answer
11 views

Using cursors to summarize per group

I want to summarize fields per Group with python and need help to get unstuck. I'm trying to get the code below to produce a Dictionary of Groups and their total shape areas, like {'Group1':123456, '...
2
votes
3answers
78 views

No Module named qgis

I installed QGIS through OSGeo4W, and I am trying to write a standalone PyQGIS script, however, I am unable to import the qgis, qgis.core, processing ect… modules, as shown in the picture, I get the ‘...
6
votes
2answers
2k views

How to completely uninstall and remove QGIS 2.8.1?

I want to uninstall and completely remove QGIS installation from my computer(windows vista). I have uninstalled it and when i try to reinstall it says it is already installed on the system.
2
votes
1answer
55 views

How to set “draw line inside polygon” using Python?

In the QGIS properties of a layer I want to activate "draw line only inside polygon" for a specific layer, but using Python. I don't want to use the GUI for it. Can this be done? I set the line ...
1
vote
0answers
23 views

Is there a Python equivalent to QGIS Raster Calculator's “file1.asc” AND “file2.asc”

I would like to script a calculation equivalent to QGIS Raster Calculator's "file1.asc" AND "file2.asc". I have 18 data raster files which I would like to do the equivalent of ADD to each of five ...
2
votes
2answers
27 views

Google Earth Issue Adding Overlay - Unknown error on image ingest

I'm trying to add a .tif into Google Earth Pro as a superoverlay. The file is a large island survey I georeferenced in ArcGIS, and I'm trying to preserve its high quality and coordinates. When I try ...
0
votes
0answers
22 views

Changing add vertex snap distance in ArcMap?

Editing polygons from with ArcMap 10.2.2, whilst using the add vertex tool: Is it possible to adjust the snap distance to which the tool selects a previous established vertex rather than creating a ...
2
votes
0answers
16 views

Connecting QGIS 2.14.3 to SQL 2012 both on LocalHost or Remote

I am working on establishing MSSQL (2012) spatial connection from my QGIS 2.14.3, its giving me an error like: (Error opening connection: [Microsoft][SQL Server Native Client 11.0]Named Pipes ...
2
votes
2answers
236 views

Error in displaying wfs layer from mapserver/postgis

I have read and tested all the relative posts but I still don't have a solution for my problem. I have a layer suscribers (points) stored in postgis database with srid=32232. I would like to display ...
0
votes
1answer
15 views

Command line tool for reading .shp, .prj and converting to Google Maps lat lngs

I have a data file exported from an ARCGIS system (parcel data from local government). Its a zip file containing 7 files: f.dbf, f.prj, f.sbn, f.sbx, f.shp, f.shp.xml, f.shx. I have a simple ruby ...
2
votes
0answers
627 views

No tables listed in connection to MSSQL 2012 in QGIS

I've (finally) made a connection to my MSSQL 2012 database, but no tables are listed. Here's the tree view of the connection, and the connection properties: Some notes and questions: I've read ...
1
vote
2answers
970 views
0
votes
1answer
21 views

how to create a grid - create a line of points - in ArcGIS 10.2

I would like to create a line of points spaced at 1km intervals along each of the four edges of my DEM, I was wondering whether there is a way to do this automatically in ArcGIS 10.2 and if so, how ...
2
votes
0answers
225 views

ArcPy Add Graph Window

The arcpy MakeGraph_management tool suggests that a graph is stored via an in_memory representation that can be either: added to the host app or saved using SaveGraph_management. The graph appears ...
0
votes
1answer
252 views

How to check overlap between two sets of Linestrings using postgis

I have 2 sets of LINESTRINGS, each set containing around 50 LINESTRINGS(which form a road), how do I check whether these two sets overlap or not ? Thanks in advance.
3
votes
0answers
522 views

SetNull in Python script for Arcgis assign 0 value

I am writing a script in Python where I assign to few Tiff defined in a function as inputRaster a NoData value as follows: whereClauseSetNull = "VALUE > 100" outSetNull = SetNull(inputRaster, ...
2
votes
0answers
220 views

Use ArcPy to identify annotation reference scale? [on hold]

I would like to retrieve the value of an annotation feature class reference scale using ArcPy (under ArcGIS 10.1). I cannot find where this property is stored (tried to access using the describe ...
5
votes
1answer
269 views

Is it a bad idea to use a geometric network for road editing?

I am producing a road map (for print and online). I was thinking of using creating a geometric network with my roads, for editing purposes mainly, but I would like to know any critical downsides of ...
1
vote
1answer
42 views

Assign row object as field name in ArcGIS

Is there a specific way to assign the object that for example row[0] returns in a SearchCursor to a new field name? I mean how to write it in add field syntax, this doesn't work: arcpy....
1
vote
0answers
14 views

HCS geo HMS slope calculation issue

I am using slope function from geoHMS Toolkit in arcMap 10.3. After the execution of the function the river attribute table is showing 0 in all the fields of slope,ElevUP and Elev down. I am ...
0
votes
1answer
184 views

how to see a base map created by map builder in database?

I am new in oracle, I tried to create a style, then different themes and then a base map. I saved all my work, but I can't see the base map in the database. Did I miss something? The interesting ...
1
vote
2answers
22 views

Wrong min value from ArcGIS 10.4 zonal statistics as table

I used the zonal statistics as table tool in ArcGIS10.4 to calculate SRTM, the in_zone is a gridded shapefile, the in_value_Raster is the SRTM extracted for the region as in the image (90m x90m). The ...
-1
votes
1answer
23 views

export tilesets at specified zoom levels from Mapbox

I have created a style with Mapbox. I would like to export the tilesets. Is there a way to do it?
1
vote
2answers
77 views

How to read geographic coordinates when the Shapefile has a projected spatial reference

I have a polygon Shapefile and want to read the polygon's vertices using OGR and Python. The reference system of the file is projected. However, for further processing I need the geographic ...
2
votes
1answer
25 views

Save edits as Project in Arcmap

This link suggests that you can saves edits (Currently Editor -> Save Edits) as the same time as a project. Is it still possible to do something similar, change the option(s) so it saves edits AND ...
1
vote
1answer
26 views

Deny steps with count more than 3 in osm2po

wtr.tag.highway.steps = 1, 1, 1, foot In osm2po I can deny stairs with count 3 steps like this: wtr.deny.step_count.3 = foot But, I would like to prohibit stairs with a number of stages over ...
0
votes
1answer
18 views

Get OpenLayers 3 to load more than one WKT feature

I have OL3 loading a wkt feature from a string here: http://codepen.io/vbahole/pen/GqWQdJ I'm now trying to load two WKT features at once using the format.readFeatures() method. But i can't get it to ...
1
vote
1answer
3k views

Plotting Multiple Points on Google Map using VB.net

I am creating a database application using VB.net and MSSQL 2012. I have retrieved a list of customer from the database and want to plot them on google map. At it stands, I can only plot the first ...
1
vote
1answer
27 views

ArcGIS raster calculator: ERROR 000539: Error running expression: rcexec() <type 'exceptions.ImportError'>: No module named collections

My raster is in the GRID format, source type is continuous and pixel type is floating point (32bit). If i use the raster calculator ("dem" *1000 or "dem >= 2m" (to highlight certain heights) it ...
1
vote
1answer
16 views

Styling multiple features in shapefile using GeoServer?

I have a shapefile loaded in a GeoServer instance, and I need some guidance on how to best style the output. The file is depicting public/private land ownership in the State of Colorado. The shapefile ...
0
votes
1answer
38 views

How to create Circle using X,Y Coordinate and radius by ArcPy? [on hold]

I have been given three parameters X and Y coordinates and a distance or the radius of the circle. I will have to draw a circle using ArcPy by these three parameters where the center is the point of X-...
0
votes
1answer
8 views

how do I map from a mapbox map or tile to the lat lon extents of the map?

A web app I use displays map tiles from mapbox and then uses leaflet to overlay that map with an svg path representing a route. The problem is that the area given to the map is very tiny, it's short ...
1
vote
0answers
15 views

Leaflet map with 'query of features' on mouseover and multiple layers

I have produced two working Leaflet maps that in total contain the features that I need for my application. However, I cannot solve how to have multiple 'overlay' layers that can be queried with ...
2
votes
1answer
445 views

Set definition expression from click event

I'm trying to set a definition expression according to a user-selected value from a drop down menu, but I can't get the map to update the feature layers according to the expression. The user is able ...
0
votes
0answers
7 views

Extract median slope percentage for a specific plot of land

I'm completely new to GIS, but I have a possible upcoming project that requires tools for assisting people assessing the bushfire safety of specific private and commercial properties. One of the ...
2
votes
0answers
4 views

Mapquest - Distance Matrix presist Data

I am in need for a Distance matrix(driving directions) for multiple locations ~1000 for a web application i am building. The allToall attribute is what i am looking at in the Mapquest API http://www....
1
vote
1answer
278 views

Can't get my QGIS external map to display on Ubuntu trusty: QObject::connect: Cannot connect (null) error

I've been following along the examples from the book "Building Mapping Applications with QGIS and for the life of me I can't figure out why my shape files aren't loading and displaying in the app ...
1
vote
0answers
109 views

Calculating vegetation indices on pansharpened landsat 7 images [on hold]

I have a problem with calculating vegetation indices like EVI, GSAVI, SAVI on Landsat 7 images after I done a Brovey Transform, Modified Resolution Merge and HCS transformation in Erdas 2013. My ...
1
vote
0answers
13 views

Changing colors in SVG file polygon using QGIS?

I try to change colors and lines width in this polygon (this is SVG file): I learn from here SVG symbol colors differences in QGIS 2.12? Using SVG file to fill polygon using QGIS- problem to add ...
1
vote
1answer
484 views

Geoserver PrintingProvider crushes after font color change I do to config.yaml

I've installed OpenGeo 3.1 and I want to do some changes in config.yaml. The thing is that after certain changes like changing font color or adding font type it cause the print provider to crush. for ...
1
vote
1answer
17 views

Exponential function variogram sill values

I am using gstat package for deriving a variogram using exponential model. My R code goes like this: g <- gstat(id= "HV",formula=HV~X+Y,data=vari) vari.var <- variogram(g) vari.var plot(vari....
3
votes
7answers
2k views

Can QGIS export Geospatial PDF for Avenza PDF map app?

Since QGIS uses GDAL, does any map exported as a PDF become a Geospatial PDF? I am hoping to import maps from QGIS into the Avenza PDF Map app on my phone. Previous posts mentioned exporting as ...
0
votes
1answer
240 views

Can't get the correct version of GDAL installed to use ReadAsArray without getting error in Python

Using the instructions here . . . https://pythongisandstuff.wordpress.com/2011/07/07/installing-gdal-and-ogr-for-python-on-windows/ I downloaded the following files: GDAL-1.11.1.win-amd64-py2.7.msi ...
1
vote
1answer
32 views

Multiple Selection

I implemented a map with markers pointing to airports, and when I click on a marker the name of the airport appears in a field. (All date included in a GEOJson external file). I just have a last ...
0
votes
0answers
16 views

Trouble adding and populating field on the fly in ESRI feature layer

I'm trying to build a mashup consisting of a Census tiger web feature layer, and some JSON. I want to make a map of the feature layer, then add a new field to the layer, and populate from the JSON. ...

15 30 50 per page