The act or process of planning or writing a computer program.
8
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 ...
16
votes
9answers
2k 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 ...
29
votes
11answers
4k 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)
18
votes
5answers
823 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 ...
7
votes
2answers
301 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 ...
6
votes
4answers
2k 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 ...
5
votes
2answers
592 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 ...
4
votes
2answers
3k 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 ...
3
votes
1answer
351 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 ...