0
votes
1answer
175 views

Is it possible to define a part of a geometry column as the Primary Key in a PostGIS database?

Is it possible to define a part of a geometry column as the Primary Key in a PostGIS database? For example, when I want to store 3D points in a database, using the x/y coordinate as the primary key. ...
10
votes
3answers
2k views

How to apply the four colors theorem in a polygon map in ArcGIS/ArcToolBox automatcally?

I need to apply the four colors theorem in a polygonal shape in a way that I do not need to choose manually each color to put in each region. I wish to knows if there is any extension, plug-in, script ...
4
votes
1answer
690 views

What functionality exists to calculate Cut and Fill for excavation?

Does qgis have the ability to compare and quantify existing versus proposed elevations?
3
votes
3answers
122 views

How to match air photo to existing vector layers on Mac OS?

I'm trying to add an air photo to a project and match it to existing data. CanVec data is mostly based on the old CIA dataset of the 60's and is hopelessly out of date, but the roads are up to date - ...
1
vote
1answer
602 views

How to create a new service area analysis?

I need to create and run a new service area analysis. I'll need to do an analysis of how far you are coming by car from one hospital in 30 min, 60 min and 90 min. Is there anyone who can help me with ...
2
votes
1answer
126 views

GRASS : r.resamp.rst error : “Not enough disk space--cannot write files”‏

Today, I am confronted to a difficulty I cannot manage. When I try to use the tool "r.resamp.rst", it gives me as answer: *r.resamp.rst input=map@PERMANENT ew_res=11 ns_res=11 pcurv=curv ...
6
votes
1answer
214 views

Which training courses in Geodetics can you recommend?

Can anyone recommend any training courses in geodesy which would cover the following objectives: Case studies on coordinate issues Overview of geodetic datums, coordinate reference systems and ...
4
votes
1answer
416 views

Can county level info be brought into a map?

I have a csv file of Clovis projectile points that were recorded only with the county in which they were found, no coordinates at all, no shapefiles. Is there a way to bring these into a state map ...
8
votes
2answers
2k views

QGIS, Postgis: Is it possible to create a new postgis layer?

Situation: I have a postgis vector lay that has lots of line segments (the features). I want to create a set of new layers each of which contains a subset of the features of the original layer and ...
0
votes
1answer
394 views

How to export Spatial data from MsSQL to MySQL using OpenSource/Free tools

I have a few tables with geometry fields in MsSQL Server 2008. I would like to export the whole table with data to MsSQL Server. Are there any open source/free tools that does this job?
2
votes
1answer
67 views

QGIS: Making changes to vector layers stored in PostGIS

I have a vector layer stored in PostGIS. I split several lines in the layer and simplified others by removing vertices. When I tried to save the changes to the layer I got postgres more postgres ...
7
votes
4answers
4k views

Garmin etrex raster maps support

I currently use an excellent set of printed topographic route maps for mountain biking. I would like to scan the maps, georeference them, and upload the maps to a handheld GPS device. Does the etrex ...
17
votes
2answers
2k views

How to create contiguous area cartograms in QGIS or R?

Here is what I want to achieve (on the right): I am looking for a tool or a method to transform a shapefile (with QGIS or R) into this form. And please be aware: It's not just clipping a hexagonal ...
10
votes
2answers
2k views

Why is this simple arcpy script so painfully slow?

I have a simple arcpy script to update a field in a point shapefile with info from the polygon feature that it is within. It takes 9 minutes to do 100 points in arcpy but a spatial join in arcmap is ...
2
votes
2answers
391 views

Exception handling in ArcGIS .NET custom geoprocessing tools?

I'm working on a set of C# GP tools for use both in Desktop and Server 10.1. The only soup-to-nuts treatment of writing geoprocessing tools in .NET appears to be Building a custom geoprocessing ...
1
vote
0answers
981 views

OpenLayers and GeoJSON - possible to create, modify and delete features?

I wondered if anyone has some OpenLayers GeoJSON code to read, create, modify and delete features (i.e. instead of using WFS-T)? This is how far I've come - I've no problem changing the pop-up to a ...
2
votes
0answers
296 views

Processing arcobjects cursor is taking long time

I am maintaining a code on arcobjects 10.1, and there is a bug happening. I have a code that is parsing through a cursor, and generate a where clause statement to run it on a second query. So the code ...
2
votes
0answers
2k views

How to include WMS, WMTS and WFS services using ArcGIS for Server Silverlight Builder?

Hi I am new to arcgis for server (silverlight builder) and I am wanting to include public WFS,WMS and or WMST services in an application I'm building but I just cant seem to do it. I have read that ...
0
votes
1answer
610 views

Defining SQL 2008 store within GeoServer 2.3

I want to define a SQL server 2008 store within Geoserver 2.3. I installed the sql Extension. After defining the different attributes, I get the following error message : Error creating data store, ...
4
votes
0answers
243 views

Proj4 inconsistent longitude after projection

All coordinates expressed in this question are (longitude, latitude), the default for proj4. London is at (-0.1460838, 51.5170986), and San Francisco is at (-122.419302, 37.775549). According to the ...
3
votes
1answer
421 views

Converting from shp to geojson fails

I'm following Mike Bostock's tutorial, let's make a map, but for a map of Mexico. I want to display state boundaries. I was able to get the map of Mexico from Natural Earth Data's world maps. My ...
3
votes
1answer
344 views

st_clip and gdal_translate: “Error browsing database for PostGIS Raster properties” - Why?

Im using shell-script, postgis2.0 and gdal for trying to clip raster apart, using an overlapping raster and a the_geom-object. At first I create a view to clip the overlapping part of the raster. It ...
1
vote
0answers
592 views

How to use raw_input() in QGIS python console?

I'm hoping to use raw_input() inside a loop to prompt the user when s/he wants to continue running the script. However, I'm getting an error: Traceback (most recent call last): File "<input>"...
2
votes
2answers
666 views

Create polygon of buildings from Quickbird images in QGIS

I have Quickbird/Ikonos/GeoEye image and want to extract all the buildings from the image as an independent layer in QGIS. How can i achieve that?
1
vote
1answer
222 views

combine between WFS and WMS

we developing a project which contains a lot of data , using WMS layers for displaying the points, Also we used WMS to return points information in a popup window , however to highlight selected point ...
4
votes
1answer
633 views

Splitting large polygons

We need to split large complex polygons into smaller chunks ( Where the area <= x). The tricky bit is that they can only be split where the distance from one side of the polygon to the other is <...
1
vote
2answers
238 views

Problem using shortest_path with find_nearest_link_within_distance function

I'm tried to work on the scenario that avoiding go through some path if there is a barrier near that path. It can run well with the query below: SELECT * FROM shortest_path('SELECT gid AS id, source::...
2
votes
1answer
848 views

Select top 5 most items in a geodatabase

I'd like to know what is the best way to select the 5 most expensive items (in terms of actual monetary value) in my geodatabase where i have a price field. Prices are not necessarily ordered but can ...
0
votes
1answer
503 views

GeoServer does not show sql data store?

I've just installed Geoserver 2.3-RC1 on windows 7 64bit and JRE 6.43 and downloaded the relevant sql extensions and Microsoft files . As instructed , I've copied "gt-jdbc-sqlserver-9.0-RC1.jar" to "C:...
3
votes
1answer
216 views

Curve from a Douglas-Peucker line

When generating a line using the Douglas-Peucker Algorithm the resulting object is a line with steep angles, I would like to "smooth" that line and making it look less "squarish" using curves, like ...
1
vote
2answers
145 views

osm2pgrouting hangs on “classes table created”

I'm trying to run osm2pgrouting and on Ubuntu 12.04...everything looks like it's working until it gets to "classes table created" when it just stops. I'm watching the process with the system monitor ...
2
votes
0answers
459 views

calculating bounding box from known centre coordinate and zoom

I have a map, the centre of that map (centrepoint) is = -37,175 ( gps) I know the zoom of the map = 13 I know the size = 320x320px I know there is 111111m in a degree of latitude and a varying degree ...
2
votes
2answers
269 views

How to view values from stacked raster maps of a particular pixel at the same time (ArcGIS)

Re: ArcGIS v10.1 Hi. I have a stack of raster maps. I would like to click on a pixel, and view ALL of the values for that particular pixel at the same time. The only tool that I could find is the ...
1
vote
1answer
901 views

openlayers cluster strategy - exhibiting custom icons for clusters of 1 feature

i have a page that displays a vector layer imported from a kml file (basically like the the sundials example). it works perfectly well, both using fixed strategy ONLY, as well as using both fixed and ...
1
vote
1answer
862 views

Save GPX from drawn feature in OpenLayers

I am trying to modify the Vector Formats example to only display the GPX in the textarea rather than all the options in the original example but I can't get it working. My code below currently ...
1
vote
2answers
960 views

Having problems creating VRT in QGIS from png files

This is similar to a question asked by someone else, re OS tiles, however, there is a difference! I am a bit of a amateur in GIS and python, but if I take it slow I can usually just about work it out! ...
5
votes
2answers
2k views

What causes ModelBuilder error occurred in script on this page MdDlgContent.htm?

I've been creating a model in Arc 10.0 for a few days now without problems. Then I added the Calculate Field Tool. I selected Make Variable --> From Parameter --> Expression. When I check off "Model ...
3
votes
2answers
1k views

Calculating the distance between points and multiple lines?

I have a point shapefile of about 100 points and a polyline shapefile of about 200 lines and I am interested in finding the distance between every point and each individual polyline. My polyline ...
1
vote
1answer
288 views

Arctoolbox and python

I am trying to use arctoolbox and python so that the user can enter in parameters. In my script I have the following lines _StationInterval = arcpy.GetParameterAsText(0) I just want the user to be ...
6
votes
2answers
853 views

Field Calculator decimal places - how can I limit them?

I've added a new column to an attribute table and performed an operation with the field calculator to populate the new column. The result is a column with a percentage. My problem isn't major but I ...
3
votes
1answer
625 views

OGR CreateLayer returns TypeError

I'm trying to create a shapefile layer based on the spatial projection of an already existing raster. (Ultimately, this will be used in gdal.Polygonize to get a shape from my raster data.) However, I ...
3
votes
6answers
14k views

Which US zipcodes map to more than one state or more than one city?

I'm using a zip code listing, and I am curious to know how many (or which) zip codes map to more than one US state or US city? For instance I know that 42223 resolves to the same city which straddles ...
1
vote
1answer
455 views

Is there a way to run your own OpenLS using OSM data?

I'm looking to create my own geocoding service for a client. The web application will run on intranet and won't have access to the internet. Is there a way I can run OpenLS like service of geocoding ...
1
vote
0answers
75 views

Projection for Tracking a Vehicle

I'm looking for the best coordinate system projection to use for cartesian calculations while a vehicle is running from its starting location to about 100 miles from that spot. The offline format ...
2
votes
2answers
976 views

Using arcpy.Describe Method on Annotation layers

I'm testing layers in the current document using the Describe function. My code is: for lyr in arcpy.mapping.ListLayers(df): if(lyr.isGroupLayer == False and lyr.isRasterLayer == False): ...
1
vote
2answers
1k views

styles for QGIS

Could someone point me to a source of line and point styles for QGIS (*.qml) - railways and transmission lines are the first two I've run up against, but I know there will be more.
5
votes
1answer
165 views

Why are z-values replaced with zero after in_memory use in Python?

My script takes separate 3D feature classes, calculates a field, appends to a target feature class, and then deletes the originals. This is a huge data processing task of over 4700 mass point feature ...
1
vote
1answer
306 views

Rpy2 Unable to Load in Fresh QGIS Install

after installing qgis the a message given below is shown Unable to load the plugin: Unable to load required package rpy2. Please ensure that both R, and the corresponding version of Rpy2 are ...
2
votes
2answers
1k views

Convert .mxd to .qgs, MXD2QGS fix?

I've had a look at the following thread about using MXD2QGS and so far I've figured out that this only works with version 10.0 and Python 2.6. I installed MXD2QGS on a machine with Arc10.0 and Python ...
3
votes
1answer
505 views

How to check if geometry is M aware?

I am trying to determine whether my shape file that I pass is in M-aware (has M value). I keep getting an error Attribute Error: 'Polyline' object has no attribute 'hasM' Not sure what I am doing ...

15 30 50 per page