0
votes
0answers
4 views

How can I display annotations for certain features?

I am trying to display annotations for single features. I know it is possible to display annotations for layers, and for that entire map, but I would like to display them based on a SINGLE selected ...
0
votes
0answers
4 views

Error using UpdateCursor to copy a GlobalID field

I am trying to use an Update Cursor to copy a GlobalID field into a string field. However, I keep getting an error saying "Objects in this class cannot be updated outside an edit session [Medians]". ...
0
votes
0answers
4 views

How can I get back to the Feature that my Geometry is the geometry of?

Let's say I have some Feature and just got its Geometry out of it. Geometry geometry = feature.getGeometry(); Is there a way to get back to the "originating" feature if I did not have the variable ...
0
votes
0answers
3 views

load raster (geotiff files) to postgis with url

I tried to load rasters to postgis with raster2pgsql but this not satisfy my project because it uses local files. i have 5000 and will be more in future geotiff files in cloud host. is it possible ...
0
votes
0answers
4 views

Need help for a Field Calculator function in PyQGIS

I need help for a program I'm trying to use in QGIS. Let me explain: I have two files: A polygon shapefile that comes from a DXF file A dbf with information As you can imagine, dbf file has ...
2
votes
1answer
11 views

problems overwriting files in ArcSDE with python script

I'm having a great deal of difficulty overwriting files when using ArcSDE. The usual 'arcpy.env.overwriteOutput' method doesn't seem to work. When I run this script: import arcpy from arcpy import ...
0
votes
0answers
3 views

Rasterizing a SSURGO shape file with GDAL — Choosing right number of Pixels

I am trying to rasterize a SSURGO shape file into UTM coordinates with 5m resolution. My first step gives me a GeoTiff with 3000x3000 pixels in lat/lon. gdal_rasterize -a MUKEY -ts 3000 3000 -l ...
0
votes
1answer
11 views

Incorporate treeline in viewshed analysis

I have performed a bare-earth viewshed analysis of a roadway corridor using a DEM, but upon further inspection on Google Streetview, realize that part of the road has dense trees along it. I need to ...
1
vote
0answers
14 views

QGIS shuts down when I try to open a “.sos” file

I am trying to open a ".sos" file in QGIS. I have QGIS installed using OSGeo4W and added the gdal-sosi package. This should do the trick. But QGIS just shuts down when I try to open the file. It ...
0
votes
0answers
3 views

Can you force cartoDB to read a file as a synced table

I'm writing a script that downloads from a data source every hour. I then do some processing on it and convert it to a kml saved in my google drive. As the data is updating every hour I want to be ...
0
votes
0answers
21 views

How to ceate new vector layers / save output in QGIS scripting?

I need to create a script in QGIS which stores outputs. In this case, official documentation didn't help to me. When I use geoprocessing (processing.runalg()) for vector layers. In some cases, output ...
2
votes
1answer
15 views

QGIS leaflet web map layers - spaces

When I export a QGIS project to a leaflet webmap using QGIS2Leaf, is there a way I can have my layer names display with spaces. So for example in the image I would like OffshoreSACS to display as ...
1
vote
1answer
30 views

“Get” results of PostGIS [on hold]

I am getting warm with post PostGIS. I am working in the Command Line. What I am wondering is how do I "get" the results of PostGIS. So imagine I have this select name, neighname from neighborhoods ...
1
vote
1answer
5 views

Max Zoom Level in Mapnik

A question regarding mapnik: Is it possible to configure a custom max. zoom level? I am trying to find a way to get mapnik to render tiles for zoom levels 20+ (till 28 would be nice). PS: The ...
0
votes
0answers
7 views

How to do NETWORK kernel density in ArcMap for road crashes?

I wish to know steps to be followed for carrying out NETWORK Kernel Density Estimation (KDE) in ArcMap (Arc GIS 10) for point events (road crashes). In ArcGIS 10, there is command do kernel density ...
0
votes
1answer
11 views

Which suitable buffer distance to choose for a kernel density analysis to deal with edge effects?

I would like to run a Kernel density analysis on point features in ArcGIS 10.2 for hotspot detection, and to do it is recommended to apply a buffer zone to the study area in order to reduce the edge ...
0
votes
0answers
11 views

Importing large tiled datasets (e.g. Ordnance Survey) into MapInfo?

I am currently using MapInfo and have several large Ordnance Survey datasets, which require updating. They are tiled .tiffs and need to first, be registered as .tab files. Second the .tab files need ...
0
votes
0answers
16 views

Using forEachFeatureAtPixel without mouse

I've an HTML with a list of data's : <select id="searchinput" align="top" maxlength="120" name="zl_choix">(...) And the button search with this code: <input type='button' value='Search !' ...
0
votes
1answer
12 views

Gdal/OGR LayerMetaData not parsing its value

To start off with: Using Gdal/Ogr compiled with Xerces to read a WFS Reading from a WFS version 1.0.0 Compiler is QT version 5.4.1 ( C++ ) So I'm trying to get all the capabilities of a WFS via ...
0
votes
0answers
9 views

Georeferencing CAD drawings

I am trying to Georeference CAD Drawing in ArcMap by adding the Control Points. But it is taking a long time to load the CAD file. I could not do snapping and every time I hover over the mouse, it ...
0
votes
0answers
25 views

Checking for overlaps using python

Trying to write a code where python checks for overlapping polygons within a file geodatabase in the current mxd and basically prints the feature class names overlapping. Here is what i have: import ...
0
votes
0answers
9 views

Calclulate the shade from a DSM and from sun elevation and azimuth angle

I have a mosaic of about 5000 tiles of aerial orthophotgraphy taken at different dates and thus with different sun angles. Furthermore, I have a Digital Surface Model (1 m resolution). My goal is to ...
0
votes
1answer
15 views

Filter OGR datasource in Python (or XML)

I'm trying to streamline the process whereby we build tiles (of ~30 layers, representing planning zone and zone-overlay boundaries). I have a strong preference for FOSS tools. A couple of our people ...
0
votes
0answers
4 views

Legend & Teaser tilemill didn't show

i have to make map using tilemill, using tilemill i can add a legend to the map like this : but, when i try to show the map with google map, i export it to *.MBTiles. I can show the map.mbtiles ...
-1
votes
0answers
17 views

How do I center a custom control in Openlayers 3 horizontally?

Ok, this is more like a CSS question than a GIS one. But I don't have any clue how to center an element that has an absolute position.
0
votes
0answers
6 views

Negative reflectance values from raster calculator computation of GeoEye-1 image

I tried to convert DN values of a pansharpened 2010 GeoEye-1 image into radiance then reflectance in QGIS using raster calculator with the following formulas: (1) L= gain* DN + bias; (2) p = pi* L* ...
0
votes
0answers
8 views

Preprocessing GeoEye-1 in GRASS iatcorr

I am trying to do a study on land use change using three high-res images of an area from three sources (Quickbird, GeoEye-1, WV-3). I have managed to calibrate the Quickbird data using QGIS raster ...
3
votes
1answer
48 views

How to center continuous raster layer by subtracting mean and dividing by standard deviation using QGIS raster calculator?

I'm trying to extrapolate a spatial model to a map in QGIS using the raster calculator. The model predicts the value of a pixel given the environmental conditions at this location (e.g. elevation, ...
0
votes
0answers
10 views

Selected Feature how to zoom in ArcMap viewer window

I will selected one feature in ArcMap that feature zoom in viewer window in ArcMap i tried in ArcMap VBA but no result Public Sub zoomtool() Dim pDoc As IMxDocument Set pDoc = ThisDocument Dim pMap ...
0
votes
1answer
10 views

Exporting KML from QGIS with relation (one-to-many) table as popup

Here is a challenging one for someone. I have two tables in QGIS. Holes (parent) - Which contains the borehole locations. Strata (child) - which has many rows that contain the strata for each ...
1
vote
1answer
33 views

Field Calculation Python acceleration of gravity [on hold]

In my problem i have a column DISTANCE and a column TIME and i want to calculate with python in field calculator how much time it needs to make that distance (for example 1000m) if you are moving with ...
1
vote
1answer
10 views

Openlayers 3 containsExtent

According to the API: ol.extent.containsExtent(extent1, extent2) checks to see whether extent1 is contained by extent2. With the following variables: extent1 = [-93, 44, -94, 45]; extent2 = ...
1
vote
0answers
15 views

Assign Z value to new coordinates based on interpolated response surface in R

I've created a response surface of sorts based on interpolated z values (bottom of post). I'm looking for the most efficient way to assign the respective z value to a new point (actually, a dataset ...
1
vote
0answers
21 views

Clipping Feature Classes by Data View Extents with ArcPy?

Have a fully functional script about 90% of the time. It is that 10% that is really bothering me and I cannot seem to deduce a solution. Script will take the user defined dataframe view extents and ...
1
vote
0answers
20 views

Determining degrees of freedom for Geographically Weighted Regression (GWR) in ArcMap?

I'm doing Geographically Weighted Regression (GWR) analysis in ArcMap and need the degrees of freedom for the model in order to calculate p values. The summary does not list degrees of freedom, but ...
0
votes
0answers
16 views

Least cost path analysis : a lot of sources and destinations

I'm working on a 15*10 km area, splatted in a 50*50 m cell grid. I want to compute the time needed to travel from a single starting point to each cell centroid, combining driving and walking time. I ...
1
vote
1answer
21 views

gDistance to determine closest point to polygon: does changing projection change results qualitatively?

I'm using gDistance from the rgeos package for R to find the nearest point to a polygon. The projection of both points and the polygon is +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 ...
0
votes
2answers
37 views

Making fields conditional using ArcGIS for Desktop?

I am using ArcGIS 10.3 for Desktop to build a large inventory of urban trees to be used for tree condition assessment purposes. In the "Inspection" table, there is a field called "Significant" which ...
1
vote
0answers
20 views

Update Data Driven Pages Index layer via Python

I am trying to find a way to update the index layer for data driven pages through arcpy. I understand that to access DDP from arcpy.mapping you need to be referencing a MXD that has DDP enabled. My ...
0
votes
1answer
18 views

send mail with MapBasic

How can i send mail with MapBasic?? I have already tried this code, but it's not working i used SenMail Application sub send dim cmdstr, subj, msg as string subj = "Hello from MapInfo-L" ' is the ...
0
votes
2answers
59 views

Troubleshooting ERROR 000814: Invalid file type from arcpy.TableToExcel()?

I wrote the script below to iterate through a file geodatabase's feature classes and convert them to an excel table. However, it returns the error ExecuteError: Failed to execute. Parameters are not ...
0
votes
0answers
18 views

What is the best way to get simplified UK boundary data?

I have some recent data that is at the Lower Super Output Area (LSOA) level for Greater Manchester. I wrongly assumed that the data was for the latest LSOA boundaries, i.e. for the 2011 boundaries. ...
0
votes
1answer
12 views

How to create a rule-based gradient using an expression

I am mapping points with values from 0-100 and want to display these using a gradient color scheme. However I also want to specify the breaks as regular intervals along this range. For a gradient QGIS ...
1
vote
1answer
15 views

Converting standard to feature linked annotation?

Is there a way in ArcGIS 10.2.2 & ArcSDE 9.3 to convert standard annotation to feature linked annotation?
1
vote
0answers
24 views

Creating a really large shapefile without eating all the virtual memory

I am doing something similar to below to create a really large (large than memory on my machine) shapefile: shapes = shapefile.Writer(shapefile.POINT) shapes.autoBalance = 1 shapes.field('MyId','N') ...
0
votes
1answer
23 views

Unable to draw shape after shapefile merge

I have merged a bunch of shapefiles in ArcCatalog and get the "the selected file failed to draw...." error. Every thing has merged alright in the db. I'm new to GIS and could use some help. Each of ...
1
vote
1answer
19 views

How to update raster color ramp with new min/max values using PyQGIS?

I'm trying to update a single band psuedo color renderer with new min/max values from the python console. All the code samples i have been able to find deal with constructing a renderer from scratch, ...
-4
votes
1answer
50 views

Python script working incorrectly?

i am writing script which uses different Tools of arcgis and implementing different functionalities .. My script consists in different Functions running in an order. Each function is connected to ...
0
votes
0answers
21 views

Points nearest to polygon: nearest to edge of polygon or centroid?

When using ArcGIS and performing a Spatial Join of points to polygons, there is an option to choose the closest point. Is the point that is chosen closest to the edge of the polygon or to the centroid ...
1
vote
3answers
33 views

ArcPy merge using a list from GetParameterAsText

I am pretty new to ArcPy so bear with me. I am having a hard time understanding how to feed a list of FCs from a "GetParameterAsText" into something like the merge tool. I have my GetParamterAsText ...

15 30 50 per page