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

learn more… | top users | synonyms

9
votes
4answers
2k 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 ...
43
votes
13answers
9k views

What are the best resources for learning GIS programming with Python?

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)
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 ...
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 ...
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 ...
0
votes
1answer
70 views

Finding points in extent using VBA

Is there a way to select a point from my map's current extent? I want to use ArcObjects to tell me if there is at least one point visible in my extent. I'd like to do this entirely in VBA, and without ...
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 ...
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 ...
7
votes
2answers
508 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 ...
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 ...
4
votes
1answer
825 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 ...