0
votes
0answers
289 views

OpenLayers Mapserver spatial filter INTERSECTS format problems

Trying to get hand-drawn polygon delimiter for spatial query via OpenLayers to mapserver (then postgis). I can get the WKT of the drawn polygon and can substitute the dynamic values, but am having ...
0
votes
1answer
210 views

How to Import Metadata of feature classes with them into ArcSDE?

I have a database that has numerous feature classes of different types. None of these feature classes have metadata. I understand that when you import feature classes to a database, the metadata ...
1
vote
1answer
316 views

Unregistering Addin using ESRIREGADDIN

I am struggling to find right syntax for unregistering addin using a bat file. path=%path%; "%CommonProgramFiles(x86)%"\ArcGIS\bin\ESRIRegAddIn.exe {5980f3b2-f335-47c4-bfd4-bfa181dd9c4d} /u Problem ...
2
votes
2answers
317 views

How to create a network from nodes and boundaries?

I have a table of nodes (points) and i wish to route between the points. Its my understanding that i first need to build a pgrouting compatible topology (graph ?) that connects all the nodes using ...
2
votes
1answer
248 views

What the difference: mapnik and mapnik2?

I use Ubuntu 12.04 LTC, postgres 9.1, postgis 2.0. I install mapnik. $ sudo add-apt-repository ppa:mapnik/nightly-trunk $ sudo apt-get update $ sudo apt-get install libmapnik mapnik-utils ...
1
vote
1answer
338 views

How to install two versions of Qgis on Ubuntu 12.04?

I would like to run multiple versions of QGIS on Ubuntu 12.04. Can I do that, and how if so?
2
votes
0answers
700 views

How to programatically set default Geodatabase and Workspaces for a map document?

I have a QC process that has a bunch of models that need to be sequentially run, and then the results manually inspected between each model. I know how to manually set the default GDB for the Map ...
9
votes
3answers
717 views

Best practice in writing automated tests for QGIS plugins

I'm looking for some best practice advice on writing automatic tests for QGIS plugins written in Python. I have written tests for Python scripts in the past using PyUnit (the unittest module), but ...
0
votes
1answer
385 views

How to rubberband zoom w/o the shift key: arcgis api for javascript

I want to enable the rubberband zoom effect without users having to hold the shift key down. This behavior is found is Esri navigation bar dijit. I don't want to use the dijit. How can I get a zoom ...
3
votes
1answer
603 views

How to check if shapefile is empty using ArcPy?

I have a number of shapefiles in a folder but some of them are empty i.e. there are no rows within the shapefile. Is there a simple way to find those empty shapefiles using ArcPy?
6
votes
1answer
523 views

Too many features selected with the ArcMap Select by Polygon tool

Here is my problem: First of all you have to know that I have ArcMap 10.1 SP1. My features are stored in Oracle 11g database in SDO_GEOMETRY format. I have imported a layer of accidents location in ...
-1
votes
3answers
204 views

Is AMEOBA ArcToolbox compatible with ArcGIS for Desktop 10.2?

Is the AMEOBA ArcToolbox compatible with ArcGIS 10.2? My error (when trying to run one of its tools) is noted below. (click to enlarge)
0
votes
1answer
591 views

qgis — style edges of layer shapefiles to have thicker borders

I have two layers I'm working with here, both of North Carolina. One is "townships" the other is "counties". I want the counties shapes to have thick edges with no fill-in color. I couldn't find ...
4
votes
1answer
303 views

Consuming ArcGIS Server map services from WCF

I am consuming some map services in my WCF services and for each service that I have I get the client object via this code. Every new service that I add, I get the client object this way. I am curious ...
2
votes
2answers
2k views

Programmatically converting arbitrary XML data to shapefile?

Based on the answers below I decided to do some programming. I'll be using GEOtools for this, a java lib: http://www.geotools.org/ I have the following XML: <shapes ...
4
votes
1answer
1k views

Setting proxy url for larger request [closed]

When I query for larger features I get esri.config.defaults.io.proxyUrl is not set error. Can someone please explain why proxyurl is needed, how I should set it up, what should it point to, and any ...
1
vote
0answers
173 views

New python GIS Programmer : Fundamentals of the Python Language for ArcGIS [closed]

I am new to programming and I'm trying to learn "Fundamentals of the Python Language for ArcGIS" and then I've been trying to compile an example code but python GUI keeps throwing throwing this error ...
4
votes
1answer
2k views

Where can I download the last default.style for osm2pgsql?

Where can I download the last default.style for osm2pgsql? I get http://svn.openstreetmap.org/applications/utils/export/osm2pgsql/default.style - this directory does not exist when I try to download ...
0
votes
0answers
388 views

Creating a BATCH with multiple INPUTS (variables) to run a workbench that intersects LINES AND POLYGONS

I'm trying to create a batch file to run my workbench.fmw in which I have two input files: 8 pipeline shapefiles and 96 communal areas shapefiles. The workbench allows cutting pipeline relative to the ...
3
votes
2answers
621 views

Can QGIS use a non-spatial Oracle Database?

I'm building my first plugin in qgis, that needs to read some coordinates from an oracle database (not oracle spatial database) and create a shapefile with this points. I'm searching but only find to ...
2
votes
2answers
495 views

How to save colour (color) ramps in QGIS

This strikes me that it should be simple, but efforts in QGIS and research here and elsewhere are not providing a solution. I have a (vector) map which I have to mark out in colours according to the ...
0
votes
2answers
726 views

How to find and replace all null values in multiple columns?

To find and replace all null values in a specific column I am using: case when "myColumn" is NULL then '99999999' else "myColumn" end But how can I use the QGIS calculator to find and replace all ...
3
votes
1answer
204 views

ArcGIS JSAPI - web workers CORS issue

In my JS web-application, I'm trying to store the tiles in my localstorage using web workers.I'm using the code from this Esri sample. I just deleted line 20 in the ioWorker.js file: url = ...
5
votes
2answers
231 views

Field calculator script to work out first 5 dominant area fields?

I have 5 fields of different landcover types with areas of each and found below: > PRC_Water| PRC_Bare| PRC_Urban| PRC_LVeg| PRC_LVeg| > 5 20 40 20 15 I have ...
0
votes
1answer
406 views

mapserver layer classes display order

My layer Point (OGR geojson) has several classes: CLASS NAME "Station1" EXPRESSION ([extrude]=0) STYLE COLOR 0 0 250 OUTLINECOLOR 255 255 255 SYMBOL ...
5
votes
0answers
461 views

How do I install Orfeo toolbox and Qgis 1.9?

I'm having a lot of trouble getting Orfeo toolbox and Qgis 2.0 working. I followed the qgis wiki instructios, added the ppa, installed qgis 1.9 (it's beautiful, great work!). But when i tried to ...
1
vote
1answer
462 views

OpenLayers Vector polygon and Jquery Droppable

How can I use Jquery Droppable to drag and drop an Icon over an openlayers polygon vector and select the polygon while over on hover? I have managed create a create a popup when over a div element, ...
2
votes
0answers
137 views

Is the TIN created out of several cross sections different from merging the TINs created out of each set of two cross sections?

I have a river with cross sections that have the water surface elevation values. I am trying to create TIN from the water surface values and then compare it with the topo (to see the flooded areas). I ...
2
votes
0answers
80 views

Convert absolute file path to raster databaset [closed]

I wrote a simple python script that outputs an absolute path as string to a GeoTiff file. So this file can be treated as Raster. In a Model, the GeoTiff file is to be the input raster of a CopyRaster ...
9
votes
2answers
340 views

Are “gridded data” and “raster data” the same thing?

I'm working on a project that will involve both "raster data" (aerial imagery and DEMs) and "gridded data" which I understand to be other kinds of numerical measurements taken at grid points, and ...
2
votes
1answer
353 views

QGIS Georeferencer, unexpected transformation, and GCP placement

Im trying to get the sample map which i believe to be EPSG:3112 into QGIS and geo referenced. In my screenshot, on the right is the raster in georeferencer with the points i have added. On the left is ...
2
votes
0answers
134 views

Applying rules to FrameCloud popups in OpenLayers

I have style rules for features that enable the map to display the features based on its rule. For example, the map displays a feature from specific scale. I do this in this way newRule = new ...
1
vote
1answer
212 views

Can SQLite and SpatialLite files be linked

Coming from a ms-access background, it is common to split up larger applications into several database files. An ms-access database can then access data that is in another database via a linked ...
5
votes
3answers
9k views

How to create a new 'gis' database in PostGIS?

I'd like to create a new database in PostGIS, so I can load stuff into it while the current database is being used. According to the docs Some packaged distributions of PostGIS (in particular the ...
3
votes
2answers
7k views

Reading National Elevation Dataset (ArcGrid/GridFloat/IMG) with python only tools

I've found high precision elevation (1/3 - 1/9 arcsecond resolution) data from the National Elevation Dataset provided by the USGS. It comes int IMG, Arcgrid, and GridFloat formats. I know ArcGrid ...
3
votes
0answers
166 views

Network Analyst - OD Cost Matrix snapping distance

I am using the ArcGIS Network Analysis - OD Cost Matrix layer tool and I was wondering if anyone knew of a way to incorporate the snapping distance of the origin and destination to my total distance ...
7
votes
1answer
898 views

How to create arrows lines automatically on ArcGIS, for a thematic map of directed flux?

I need to create a map with the Import and Export Flux between countries. I have the needed data in my table. But I wish to know if there is any tool or extension which will allow me to create those ...
1
vote
0answers
185 views

Populate print template title text from a dojo textbox

I have a print widget that starts up great. It's based on the typical ArcGIS print widget sample. However, I want to tweak this a bit. There is a "titleText" property in the layout options that I ...
2
votes
2answers
155 views

Is d.mon xN deprecated in GRASS in favor of something in the wxGUI?

I'm trying to learn command-line GRASS (6.4.3) using the KyngChaos binaries on a Mac (10.8.4) from Neteler and Mitasova's book, Open Source GIS: A GRASS GIS Approach (3rd ed.). I've learned from this ...
0
votes
2answers
149 views

How can I delete dangling paths after merging features

In my previous question I've asked how to can I merge different polygons while converting to GeoJSON and TopoJSON. After a day of researching I've realized that, rather trying to do it command line, ...
1
vote
0answers
105 views

Web-based thumbnail image in 'Item Description' for a Python toolbox [ArcGIS 10.1]

I'm using locally stored images as thumbnails in the Item Description for a python toolbox [ArcGIS 10.1]. I'd like to load the images from an online source so other users of the toolbox can still see ...
1
vote
0answers
211 views

Calculate values to represent bus route attribute

I'm working with bus routes and looking for a way to represent some values in this system. I want each street to be represented by thickness based on value returned in SUM or COUNT. I don't have big ...
0
votes
1answer
40 views

Unable to download osm2po from the original site

I've been trying to download the osm2po tool, in order to import the openstreetmap data into postgis database, from the original site and is impossible for me. All links I find in the page are cyclic, ...
1
vote
1answer
2k views

Problem adding a join to a table via Python using addJoin_management

I am currently building a script for a script tool that will join data from a multitude of tables into a single table based on a common join field. Now, I have attempted to use ...
3
votes
1answer
518 views

How does a newbie get household income data based on address to the block level?

I am beginning a research project and need to find a way to access the census data about household income. We need it at a closer level than by zip code since income varies a lot by zip code in our ...
1
vote
2answers
221 views

Integrate grid and polygon of municipalities keeping the biggest municipality per cell with QGIS (or another)

I have a 9x9 grid and a polygon of municipalities of an extensive area of Brazil. My goal is to have a field indicating the biggest municipality per grid cell. I've been trying with intercept without ...
1
vote
0answers
242 views

Personal Geodatabase not recognized as valid datasource in the last QGIS Windows Weekly build (64 bits)

I was using Personal Geodatabases in QGIS without any problem but it's stopped to work since I installed the last 64 bits weekly build for Windows (1.9.0-35-Setup-x86_64). I'm now receiving an ...
2
votes
2answers
281 views

Change python + ogr2ogr.exe to python + ogr

I have written several complicated python scripts that end up using ogr2ogr to load or translate data. I have been converting these scripts to standalone exe files meaning the team do not require ...
4
votes
1answer
944 views

How to convert all shapefiles in folder into KML using ArcPy?

I was trying to convert all the shp in a folder into kml. featureclasses = arcpy.ListFeatureClasses() for fc in featureclasses: # Set Local Variables composite = 'COMPOSITE' pixels = ...
3
votes
1answer
494 views

Small script crashes Python

I'm running a rather simple script with ArcPy, which extracts values of raster to points of a shapefile: def raster_overlay(input_files): for raster in input_files: in_shp = ...

15 30 50 per page