The act or process of planning or writing a computer program.

learn more… | top users | synonyms

44
votes
13answers
10k views

Resources for learning Python programming with generic GIS goals in mind?

In your opinion, what is the best book/site to learn Python with GIS goals in mind? By "best", I mean: not very long (book) easy to understand (book/site) good practical examples (book/site) For ...
19
votes
9answers
5k views

How do I develop my GIS programming skills?

I would like to develop my GIS programming skills, where do I start? People say learn C++ or Python but where can I learn this in a geographic context? Tutorials or anything would be very helpful, as ...
19
votes
5answers
1k views

Looking for a developer-friendly web gis

I'm a recent Computer Science graduate who prides himself in his knowledge of software development and problem solving, but has no idea how gis systems work. (Read: I'm a programmer) I've been ...
17
votes
12answers
510 views

Good conferences for Spatial/GIS developers

What are good conferences for GIS and spatial developers to attend. For ESRI desktop users I think the User Conference is a must attend but if you are an ESRI developer I think the ESRI developer ...
11
votes
8answers
2k views

What are the advantages of using Rails for a GIS/mapping application?

I've heard some good things about Rails, but I don't know much about it yet. There are only a few questions about Rails on GIS.SE (and there's not even a Rails tag). Is it worthwhile to learn about ...
10
votes
8answers
2k views

What programming languages are used by different GIS platforms?

Suppose a programmer has no knowledge of GIS, but wants to leverage his/her programming skills to get into GIS. Please list different GIS platforms, packages, etc. that use a particular language. (I ...
9
votes
5answers
3k views

Compiling Python Scripts that use ArcGIS Geoprocessing Tools?

I've been coding with Python for several months now and have developed some reasonably complex scripts for primarily geoprocessing tasks. That being said, I'm still learning a lot as I'm coming from a ...
9
votes
4answers
3k views

Code to calculate elevation profile along line from a DEM

Given a DEM (Digital Elevation Model) say in and a line (x1,y1) --> (x2,y2) (paired coordinates (x,y)), how can one calculate the elevation profile or cross-section projected on that line ? I am ...
9
votes
2answers
279 views

Instructor led Web mapping development courses?

Hey guys I have been messing around with programing for a while now and have gotten proficient with Python and have some interest in HTML 5 and Javascript. I have recently received a request for an ...
8
votes
3answers
889 views

Map Application Requires Refresh to Initialize

I tried this question over on StackOverflow but didn't get any answers. Hoping you all might be able to help. Creating a web mapping application in Javascript/Dojo: When I load the app in a browser ...
8
votes
4answers
1k views

Flood modelling insights

I am trying to create a flood modelling system. The system consists of two parts mainly a river flooding simulation and rainfall simulation. To do this I am running the latest version of GRASS 6.4. ...
7
votes
4answers
578 views

Newbie to GIS Development

Greetings everyone, I am new to GIS development and was wondering if there are tutorials available for development in ArcGIS 10. I have some experience writing simple scripts in python and fooling ...
7
votes
2answers
2k views

Generating GeoJSON with Python

Hi I want to programatically create a GeoJSON file using polygons from a shapefile but adding attributes from my own application. This is easily done for a shapefile: def ...
7
votes
6answers
3k views

Visual Studio 2008 vs 2010 for ArcGIS 10

Is there any differences, pros or cons between the two? I am going to buy Visual Studio and just want to be sure which one will work the best and have the most support going forward. I I am guessing ...
7
votes
3answers
768 views

Looking for a basic PostGIS viewer to use as basis for own application

I'm looking for a rather basic PostGIS viewer. It should be possible to pan, zoom and retrieve coordinate information on mouse click. No need to support coordinate transformations. It should introduce ...
7
votes
2answers
522 views

Is it a bad idea to hold references to ArcObjects inside business classes?

According to best practices is it a bad idea to cache features and geometries inside business objects? If it is bad, what is the alternative way? References to features may be replaced with their ...
7
votes
1answer
148 views

Using Google Maps to track work per building and allowing users to manipulate that data

I work part time for a political campaign office, who are going door-to-door for several months at a time, all over a city. We need a system to track where we have been, and how long ago we were last ...
7
votes
1answer
203 views

Phenological event extraction in IDL

I’m doing phenological study using a threshold method in IDL. I have a twelve-band image in 2005 (format is in .tiff not ENVI format). Twelve-band means that monthly images (Jan to Dec) have been ...
6
votes
3answers
726 views

Add map making to java desktop software

In my project (a desktop application) I need to create a map with three layers, basic geographic layer at the bottom, a GSM coverage area layer on top of it, and then a location based services layer ...
6
votes
3answers
246 views

What is the more accepted practice for defining tolerance values?

The Context Due to restrictions, I have an application that requires line features to be selected if they are within a user defined tolerance from a points data set. I can not currently use any third ...
6
votes
3answers
346 views

What types of GIS problems does functional programming address?

After reading @ray vernagus post about using ArcObjects with F#, I have been wondering ... what types of GIS problems are better handled by Functional Programming, as opposed to more traditional forms ...
5
votes
1answer
5k views

ArcMap field calculator VBA question

I am trying to use ArcMap's Field Calculator to populate values in a column based on a value in another column. So, in pseudo-code: if [field1] = 'Foo' set [field2] = 'Bar' endif Something like ...
5
votes
2answers
162 views

Replacement for ArcScripts

Does an equivalent of ArcScripts exist? I know of the the ArcGIS resource center and "Code Galleries" but does something that equates to ArcScripts where users share useful ArcGIS code exist? The new ...
5
votes
2answers
5k views

Basic proj4 conversion UTM grid -> longlat and back

I'm a GIS novice, and am struggling to understand how to drive proj4 to accomplish what seems like a simple thing. I've googled for a couple of days, but everything I find seems to presuppose quite ...
5
votes
1answer
351 views

Combined area of all features within features of another layer

I have a grid shapefile (basically, a half-degree grid of the world, where each cell has a unique id number), and a set of files with features. I want to record for each grid cell, all the areas ...
5
votes
1answer
150 views

Grid Analysis from samples data

I'm trying to analyze set of samples into vector grids in order to generate average data in corresponding grid.I'm working with 50m separated grids but the size of grid may change over time.That's why ...
4
votes
1answer
849 views

How to programatically populate a shapefile field with polygon areas in OGR?

I'm trying to programatically populate a shp field with polygon areas: import sys import ogr ds = ogr.Open( 'tttttttttt.shp', update = 1 ) if ds is None: print "Open failed./n" sys.exit( 1 ...
4
votes
5answers
621 views

Where can I find statistics on software development within the GIS industry?

I am trying to find some information, specifically poll results on platforms and languages used for GIS software solutions. I remember taking one but I cannot find the poll to see the results, it may ...
4
votes
2answers
631 views

How to efficiently determine if a collection of coordinates (polygon) is an ellipse?

I'm attempting to determine a geometry type based on a collection of coordinates and have come across a situation where I'd like to differentiate between what is a "polygon" and what is an "ellipse". ...
4
votes
1answer
821 views

merge selected features and programming

I have a shape file with UK districts and unitary authorities. In the past, using commuting patterns, I worked out a new geography which is close to travel to work areas. I now would like to create a ...
4
votes
1answer
291 views

Finding intersection density for weighted lines connecting points across the continental USA

I'm working on an one-time problem that I'm hoping to solve with a computer program using free GIS libraries (preferably for VB.Net, C#, or Python... Java or C/C++ could work too). Alternatively, I ...
4
votes
0answers
281 views

How to convert a set of points to a solid object?

I have a data generated as the output of some numerical processes. I need them to be converted into 3D solid objects (as CAD solid format) to make them importable for some particular numerical ...
3
votes
1answer
61 views

What's an appropriate solution for displaying points fetched from a table?

I have at hand a common GIS task: The data: I posses 16,000 Excel rows. Each has latitude and longitude and some other attributes. I need to build a program that allows the user to type in a location ...
3
votes
3answers
193 views

programmatically add field to shapefiles and insert shapefile name in every row of field

situation We have a folder containing 1 sub-folder for every participant in a study. The subfolders are named with the participants' ID, e.g., 1000, 1001, 1002, 1003. Every participant folder ...
3
votes
1answer
536 views

Calculate bounding box + buffer for rendering a map tile with mapnik library

Mapnik library has a Projection object (I'm using Python bindings): spherical_mercator = '+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null ...
3
votes
1answer
205 views

Self-Sizing Labels

I have labels now in my application that work fine using the usual ILabelEngineLayerProperties2. When I set them up I set the .Expression property and using the .Symbol property I set the font, style, ...
3
votes
1answer
421 views

Georeferencing multiple rasters to World files

I've got exactly 56 tiffs to georeference. Each raster has its unique TFW world file. I'd like to automate this process. Each raster has it's unique name which is consistent with world file name (eg. ...
3
votes
1answer
109 views

Learning resources for beginning differential topology for a programmer? [closed]

With this question I'm looking for suggestions about how and where to start learning differential topology starting from a good base of linear algebra and geometry, also consider that this know-how is ...
2
votes
2answers
323 views

flex to java trying to get started on the plan

I have as suggested recently on this forum been "playing" with arcgis server. For reasons perhaps not obvious to "real" programmers I have built a fairly extensive series of web mapping applications ...
2
votes
2answers
686 views

What language (or languages) are the next 'big thing'?

Having (mostly) learned how to navigate Python programming in GIS, I've gotten to thinking about where GIS programming is going from here. I know VB used to be the go-to language for ArcGIS, but that ...
2
votes
2answers
1k views

[R]Function to calculate mean for missing or NA values in a dataframe

I am trying to develop a function that will calculate a mean lat/long for my missing or zeros location (lat/long) data in my dataset. I have locations for many SETS within the same TRIP, which tends ...
2
votes
1answer
59 views

Should I use thread lock when implementing Enabled void in ArcGis Command?

I've noticed that that ArcGis Commands are activated asynchronously. So I supposed that there is a chance to corrupt memory without using thread locks when overriding Enabled void of custom ArcGis ...
2
votes
2answers
437 views

Insert a loading message into DataGrid

I'd like to show a loading message (Loading...) that shows while the datagrid is being populated. It would show when the search button is clicked and disappear when the grid results have populated. ...
2
votes
1answer
135 views

Locate DTEDs from one layer that intersect a polygon in another layer

I'm new to the GIS world, and using ArcGIS 10, so please forgive me if this is a simple question. I have DTED files (level 2) that I have placed into a mosaic dataset, and I'm trying to determine ...
2
votes
1answer
196 views

Automatic updates to OpenLayers code

I have my map code in openlayers JS. My input data is in a text file and I am able to render the points on the map. I have to give the user a right to create a layer by entering the data in a form. ...
2
votes
1answer
32 views

Is it better to define object properties or layer properties?

I have a question, but it is difficult to phrase. I am picking up GIS methods as I go, and I have run into this problem frequently. Please excuse me if I am in the wrong place. When organizing ...
2
votes
1answer
24 views

How to read ASTER metadata in IDL?

I'm trying to read many ASTER images (1B mainly) in IDL (I can try in R also). I'm used to work with Landsat, but the aster metadata is complicated. I write a code with a lots of conditional that can ...
2
votes
0answers
86 views

Custom python datasource to QGIS

I'm working on a homebrew spatial feature data format, and using Python to write it's API. It occoured to me that use some tool like QGIS to display my data would be very nice to have, for debug/test ...
1
vote
2answers
422 views

ArcGIS COM API Error

i am using the arcGIS api to make a plugin for arcFM, when i try to run this code Type t = Type.GetTypeFromProgID("esriFramework.AppRef"); System.Object obj = ...
1
vote
1answer
181 views

Undefined reference errors installing GRASS addon

I am trying to install the r.geomorphons GRASS addon (available from http://sil.uc.edu/pdfFiles/jarek/r.geom.zip) in GRASS. I tried on Windows but gave up and decided the best thing to do was to try ...