1
vote
1answer
58 views
Looking for PyQGIS Syntax Examples/Guide
I am a long-time user of arcgis with intermediate experience python scripting for automation of geoprocessing workflows. I am moving towards using QGIS on the regular and I would like to dive into ...
0
votes
0answers
10 views
Working with ambiguous AddGeometryColumn functions
I'm using PostGIS to add geometry columns to tables, but keep receiving the error:
ERROR: function addgeometrycolumn(character varying, character varying, integer, character varying, integer) is not ...
1
vote
0answers
12 views
Making Tiles - Varying the Zoom Level by Population Density
I want to create map tiles for all of the United States at high zoom level (12 or 13). I am using TileMill and mapping census tracts (income).
However, I only need the high zoom level for populated ...
0
votes
0answers
25 views
Census Demographic Data from DMA ID
How can I go about finding demographic data by DMA ID? Is there a data file I can download from somewhere that I can use to import into my web application?
1
vote
0answers
15 views
Network Analyst: editing the “Name” field in the route sublayer
I am solving routes for origin-destination pairs (1 start, 1 end) using the tool "Make Route Layer" then adding locations to the Stops sublayer. I establish the identity of each route by a unique ID ...
0
votes
0answers
13 views
How to put markers from geoJson to MarkerClusterGroup?
How to put markers from layer WTGS (which reads geojson from php file returned from postgis database) to L.MarkerClusterGroup?
WTGS = new L.geoJson(null, {
pointToLayer: function ...
3
votes
1answer
56 views
Iterating through an numpy array and index to a value in another numpy array
I am struggling to get this code to work I want to iterate through an numpy array and based on the result, index to a value in another numpy array and then save that in a new position based on that ...
6
votes
1answer
65 views
Open source implementation of “feature density” algorithm
I'm working on a dataset of house searches - 1 polygon for each area in which people want to find a house from an online search tool.
This produces many overlapping polygons. It would be great to ...
0
votes
1answer
19 views
Reference Error: selectZIP is not defined
In Firebug I keep getting this error when I try to click a button I made.
<button type="button" onclick="selectZIP()">Execute</button>
I declared a function called selectZIP in a .js ...
1
vote
0answers
40 views
Validation of Regression Kriging
I am interested in exploring the idea of generating a predictive model for a target variable in a spatial context. I would then like to correct the residuals of this model using kriging, i.e. in a ...
1
vote
0answers
34 views
Unable to open project
I recently got a virus in my computer and, after having that fixed, was unable to open my Quantum GIS project. I received an error message:
Microsoft Visual C++ Runtime Library
Runtime Error!
...
0
votes
0answers
11 views
Tiles caching - Best process to update part of cached tiles
I use Mapnik and TileStache to create and cache tiles. I wonder what is the best process to recreate part of the tiles collection when some features of a dataset are updated. How to recreate the tiles ...
7
votes
2answers
72 views
How to use the ESRI JS API to map SQL Server Spatial Types without ArcGIS Server
I have heard of people using the ESRI Javascript API to create webmaps with spatial data from SQL Server or other RDBMS's. From what I can tell, they are not using ArcGIS Server as a middleware. In ...
4
votes
0answers
83 views
Finding the “center of gravity” of multiple points where points have unequal weights [closed]
I'm trying to reduce a set of lat/lons (each with it's own weight) into one lat/lon that is the center of mass of all of the points.
however when I map the results the average point falls no where ...
0
votes
0answers
32 views
OpenLayers: show polygon of images in mobile
I'm using Phonegap 2.6 and OpenLayers 2.12 for my mobile application.
Feature:
in a panel (jQuery Mobile), I'm clicking in a checkbox and georeferenced images are displayed in the map that is ...
2
votes
2answers
50 views
buffer operation of polygon in ArcGIS 10.1
I need 5 km buffer of a basin boundary of Brazil using ArcGIS 10.1. The basin boundary is in GCS. I have tried it giving buffer distance 5km and 0.0454545 degree decimal (assuming 1degree=110km). I ...
1
vote
1answer
24 views
opening dbf without losing ObjectID and geometry?
I found a lot of related questions, but not completely an answer to my struggle. I can open the dbf-file in ACL and save it as dbf. I added some attributes and wanted to open it again in ArcGIS, but ...
5
votes
1answer
57 views
Raster smoothing
I am an italian student. I'm using ArcMap 10. For my thesis I need to simulate a debris avalanche, but in my elevation raster the avalanche deposit is included so I'd need to take it off to simulate ...
1
vote
0answers
23 views
QGIS Atlas generation - crash dumped
In QGIS 1.9.0 there's a new funcionality named Atlas generation.
Everything works fine until I start generating more 5000 images.
Now, after some time (not always the same) the QGIS crashed with the ...
1
vote
0answers
26 views
Spatial Filter in Qgis Using Python
Is it possible to create buffer and get intersected features in Qgis using Python?
I did in ArcObjects.but i need the same in QGIS also.
Dim topo As ITopologicalOperator
topo = chkPoint
Dim sFc As ...
0
votes
2answers
32 views
OpenLayers shows empty tiles if I toggle my layer
I display my custom tiles with OpenLayers and I have set .olImageLoadError{display: none !important;} in my CSS to avoid displaying pink empty tiles (as described here).
In this way empty tiles are ...
2
votes
2answers
44 views
How to travers fields of records without introducing them all in the function?
In my previous question I wanted to reach a field in the field calculation; however, it was pretty easy to introduce a few more inputs for that function.
Now, I am facing a problem which needs around ...
0
votes
1answer
24 views
Openlayers 2.12 - add selectFeature to button results in “Geometry Undefined”
I have modified the Openlayers mobile Vienna WMS example, and am trying to change the labelButton to allow selecting of features to open a popup. I think it is necessary to do this as on a touch ...
0
votes
1answer
43 views
Can we use ArcGIS (sampleserver1.arcgisonline.com) API to get House-holds for area without any license ? Is it free or not?
In my website I am using "sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer" API for get house-holds for area on google map.
Is this API is free ? or Did I ...
1
vote
1answer
32 views
How do I obtain layout coordinates of features using arcpy?
I just read the topic about Convert point XY to page units XY using arcpy? but I didn't find a solution to my problem.
I have a point layer file, I know coordinates in map view, I'd like to know ...
2
votes
1answer
33 views
Google Maps API: how to get the street name in multiple languages
I'm trying to get the street name in multiple languages from the Google Maps API V3. For example in Belgium there are multilingual street names:
If i set the language=FR i will get "Rue Brogniez" ...
0
votes
0answers
35 views
Confusing offsets in shapefile written by QGIS/OGR
I think I'm stuck here.
A shapefile has been updated in QGIS. Records have been deleted and those records have been marked with an asterix in the first byte of the record in the dbf file.
I open the ...
2
votes
0answers
20 views
Display GeoJSON layer on top a SVG image instead of a map.
I'm very new to GIS, so hope this is the correct place to ask. Not sure if this will even be possible.
This is what I want to achieve:
In short, I want to display a set of polygons, lines etc. in a ...
1
vote
1answer
28 views
c# How can I get the spatial reference of a ArcGIS layer?
I m using the following c# code to add my layer dynamically on a arcgis silverlight application:
ArcGISDynamicMapServiceLayer mylayer = new ArcGISDynamicMapServiceLayer()
{
ID = layerName,
Url ...
1
vote
0answers
20 views
Oracle spatial. Cannot load data
Have just installed QGIS 1.9 with Oracle spatial abilities. We maintain geodata in an Oracle 9.2. spatial database. I get connected to the database but I can not load the data. The table shows up ...
0
votes
0answers
31 views
Adobe Illustrator to Interactive Web Map. Need the basic requirements and steps
I have a set of city maps designed and customized in Adobe Illustrator with me. This is the first time I'm involving a GIS project. I need to develop an API & GIS supported interactive Web Map ...
0
votes
2answers
65 views
Save Google maps as ecw or tiff
I've downloaded this Google Maps XML:
http://ttmaps.free.fr/files/google_maps_20.xml
I can load it in QGIS, for example, and view it as a raster.
I want to save an small area (a town) in an ecw or ...
-2
votes
0answers
21 views
Where get data of automobile models in use by country [closed]
After a trip to a foreign country, I noticed that most people use other car manufacturers and more important other types of body dominated by the number of uses. I want more information on this topic.
...
0
votes
0answers
15 views
Using OGRLayer::GetNextFeature() in OGR/GDAL? [closed]
I am trying read features in a dgn file and convert to shape file. Everything is ok before I adding the last while loop. After adding this while loop, I can't exit the program. Please see my below ...
0
votes
0answers
24 views
Intersects Filter on WFS 1.0.0
I use WFS=1.0.0 on the Mapserver v5.6.6 and v6.0.1 with MS4W package. I want to get the Intersects of Spatial Operator. When I make getcapabilities request I see just "Intersect" like:
...
0
votes
0answers
28 views
QGIS - Intersect two shape files
I need to create a new shapefile from two existing shapefiles with QGIS. The original shapefiles are both for the US and contain the borders of congress districts in different years (the borders ...
0
votes
0answers
22 views
Query OSM ids by name in PostGIS
I installed PostGIS on a server and now I want to query the OSM ids referring to a name, in order to get a list of all geometries according to this name.
Is there an efficient way to query this ids ...
3
votes
2answers
83 views
Move the cursor backward - opposite of row = rows.next()
I'd appreciate if anyone could please tell me if there is a way to go up one row in python cursor. opposite of row = rows.next()
Thank you!
0
votes
0answers
39 views
Bearing Distance to Line tool from dBASE table only draws one line in ArcGIS 10
I am using the Bearing Distance To Line tool to draw geodesic lines to points defined by a bearing and distance.
This is an aside, but I will then use the Feature Vertices To Points tool to convert ...
1
vote
0answers
40 views
What are the default units of elevation/altitude/z in GeoJSON?
The GeoJSON spec says "The default CRS is a geographic coordinate reference system, using the WGS84 datum, and with longitude and latitude units of decimal degrees". It doesn't say seem to specify ...
2
votes
1answer
51 views
How do I get that polygon from Javascript ArcGIS API?
I would like to have a user draw a Polygon (or Line) onto a web map with the Javascript ArcGIS API drawing tools. For the life of me I can't figure out how to pull that polygon from the client and get ...
0
votes
0answers
18 views
Fatal error: Call to undefined function pg_connect() in /var/www
I have seen this error online, I have followed the online instructions. However when i do this and restart wamp it wont load up, it stays amber, as soon as i recomment in the lines and restart wamp ...
2
votes
2answers
41 views
Distribute ArcGIS services across multiple servers
What do you do when you have so many published services in ArcGIS that running even one instance of each service maxes out RAM/CPU?
We've grown to the point where we have more published services than ...
0
votes
1answer
45 views
How to select all cities in Germany from city and country layer?
I have 2 layers: layer_1: countries of europe, layer_2: cities of europe
I want to create (and then save) a layer_3 which would be all the cities of Germany.
Is there any good tutorial of how can i ...
1
vote
1answer
55 views
Shapefile to X3D
Does anyone know of an effective workflow to convert 3d-enabled shapefiles to X3D format? I have several projects containing anywhere from 10 to 5000 features (building sections) that I would like to ...
4
votes
1answer
44 views
arcpy “The table name is invalid”
I wrote a script that, ideally, loads raw .las (LiDAR data) files into a geodatabase, then creates a terrain from the multipoint files that are created. When I run the script though I get:
...
4
votes
2answers
69 views
How to remove white gap in ArcMap Legend
I have a legend created in ArcMap 10.1 which appears to be generating an abnormal white gap to the right of the legend content. Any tips on how to possibly remove this would be appreciated.
0
votes
0answers
13 views
Find the vertices of an ROI in XROI using IDL
I need to find the vertices of an ROI shape created in IDL's XROI, so that I can redraw the ROI on multiple images. I know you can find the centroid, area and perimeter with the GEOMETRY command, but ...
0
votes
1answer
23 views
How to load layers from postgis to dotspatial or sharemap viewer
I want to develop a PostGIS viewer for PostgreSQL (with SQL query editor) to visualize PostGIS layers.
Which spatial library (.net C# supported) do I have to use?
2
votes
1answer
30 views
Is it possible to set the color of a symbol from an attribute of the graphic?
I have a feature layer used in a client flex application.
The feature layer is used to publish a feature class that has many attributes. Among those attributes there is one named "color". As its name ...





