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

learn more… | top users | synonyms

22
votes
10answers
8k 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 ...
5
votes
3answers
321 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 ...
6
votes
3answers
2k views

Creating square grid polygon shapefile with Python?

I have the following coordinates minx, maxx, miny ,maxy = 448262.080078, 450360.750122, 6262492.020081, 6262938.950073 I wish to create a square grid of size 1 m using python. import math ...
3
votes
1answer
19 views

Problems with Reclassify and RemapRange in ArcPy?

I'm having a bit of trouble with a script that uses ArcPy. I keep getting the following error: ExecuteError: ERROR 000622: Failed to execute (Reclassify). Parameters are not valid. ERROR 000628: ...
2
votes
1answer
70 views

Using 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 ...
49
votes
14answers
16k 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 ...
4
votes
1answer
227 views

QGIS Standalone C++ Application with Qt: “The program has unexpectedly finished”

I'm trying to develop an Standalone Application with Qt and QGIS API. There are several code examples that should work, but they don't. The Problem is that everytime I use "QgsApplication" the ...
11
votes
8answers
3k 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 ...
1
vote
2answers
224 views

Export Page Layout to PDF using ESRI add-in with vb.net

Note: This message is cross-posted on geonet (https://geonet.esri.com/thread/127249) I have been trying to convert a vba script to vb.net but I have hit a roadblock and I'm hoping someone can help me ...
0
votes
0answers
31 views

Join GeoJson with additional info files

I have a GeoJson-file [1] with multiple polygons exported from OpenStreetMap that will be updated regularly and I want to add additional information (to the properties) from another file [2] (JSON ? ...
0
votes
3answers
152 views

How to remove a feature class or table from the TOC? C#

This seems like a really simple process or snippet of code but the only thing I can find is the ClearLayers() method to clear all of the layers from the TOC. Basically what I want to achieve is to ...
1
vote
1answer
86 views

What extra CS courses should a GIS Developer take? [closed]

I'm a CS major who is minoring in GIS to become a GIS Developer. I was wondering what later CS (or Software Engineering and Computer Engineering) courses would be useful to a GIS Developer? For the ...
19
votes
5answers
2k views

I'm new to GIS and I'm looking for a developer-friendly web GIS [duplicate]

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

ArcObjects: ExportOperationClass causing error and not exporting

I'm trying to export each row in a shapefile, but I get an error I haven't seen before (see below). I feel like it might be the labyrinth of interfaces that I have to cast between that may be causing ...
1
vote
0answers
41 views

JavaScript _.each function not showing correctly [closed]

Can't seem to get this to display the correct way. The correct way would be Day/open/hours. geojson displayed below: hours: { monday: { close: "18:00:00", open: "10:00:00", call: ...
1
vote
1answer
52 views

Keeping dev scripts in sync with projects

How do you keep your development scripts in sync with your source code management (SCM) and your projects? For instance right now I have things like D:\code\reusable-stuff that goes to an SCM (e.g. ...
1
vote
0answers
487 views

Waiting on AJAX result in main JS function

So .... my main init()Javascript function has these 3 lines: sarea = GetArea(Uname,UIDfield,Table, document.getElementById("Source").value); darea = GetArea(Uname,UIDfield,Table, ...
2
votes
0answers
58 views

Is it possible to get coordinates for point from satellite image? [closed]

Is it possible to get coordination for point from satellite image using any programming language? For example, if I clicked on a specific point on a satellite image hosted on a web application, I ...
7
votes
0answers
601 views

Newbie to GIS Development in ArcGIS? [duplicate]

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 around in model ...
1
vote
1answer
202 views

ogr / osr for node.js / javascript

I use a python module I created that does tests for point in polygon. It uses the python osgei/ogr and osr modules. Specifically, I use the following elements of these modules: ...
7
votes
2answers
724 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 ...
0
votes
1answer
76 views

How do I calculate the distance of a segment of line that is inside a polygon?

I would like to calculate the distance of a portion of a line that is inside a polygon, as well as the portion that is outside of the polygon, based on from/to lat/long points on the line, and the ...
1
vote
0answers
49 views

How to find if ArcMap raised error during edit session?

I have a class extended IExtension and inside this class I catch OnCreate, OnDelete and OnChanged and OnStopEditing events of Editor object of ArcMap. However I need to know if ArcMap has raised any ...
2
votes
1answer
127 views

If do not want to use pgRouting then what?

Good evening fellow GISers, I am interested in creating an online routing application. So supposing I have all the data I want into a postGIS database and loaded onto GeoServer and I am willing to ...
4
votes
1answer
245 views

How to check if points are concyclic before solving three point resection

I'm trying to write a function that solves the three point resection problem using Tienstra method. I gathered a lot of papers and books about this problem, and each one of them states: If the ...
2
votes
1answer
34 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
99 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 ...
7
votes
1answer
230 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 ...
1
vote
0answers
83 views

Vector layers without geometry in QGIS?

Using QGIS, I have set up a couple of automated layer additions via the toolbar. After adding geometry in each respective layer (point, lineString, polygon) and saving changes to the layers, the added ...
0
votes
0answers
35 views

Calculate end point Height above the MSL of the target point given a starting point, distance, azimuth and elevation [duplicate]

We need to find the end point height (from the earth surface) given the start point lat, lon, azimuth (270 deg), distance (500 km) and elevation above the horizon of start point (10 deg). The ...
1
vote
1answer
59 views

Extracting z values from shapefile using OGR Api

Is there an example of how we can extract the z value from a shp file given the x,y coordinate value (namely utm) using gdal/ogr c++ lib? alternatively, would it be easier if we convert the shp file ...
1
vote
1answer
70 views

How to modify existing grass gis tools and run them in QGIS?

I would like to take an existing tool of the grass tool box and modify the code to the specific needs of my task. As I´m struggling to start some kick-off would be great. How to access code? What do I ...
9
votes
5answers
4k 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 ...
0
votes
1answer
159 views

Free/Open-Source Archaeological Geophysics Programm?

Does anyone know a free/open source software or a GIS plugin for working with archaeological geophysics data, especially for data from a magnetic survey (magnetic gradiometer map)?
0
votes
0answers
70 views

Programmatically open an excel file when arcmap session is closed

I am looking to build a process where an excel file is opened once a user closes an arcmap session. here is my pseudocode. user makes map user closes map using Graphic User Interface 'X' button ...
17
votes
12answers
542 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 ...
0
votes
1answer
255 views

Efficient algorithms for recovering watershed boundaries?

This is somewhat related to a previous question I asked: What Algorithm is used by ArcGIS Watershed tool? I was wondering if there is a more efficient way to calculate catchment areas if you are ...
3
votes
1answer
79 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 ...
1
vote
4answers
771 views

GIS learning resources for a .NET developer

There are couple of questions which are related to learning GIS or GIS skill sets here but I would like to ask very specific question. My current skills: I don't claim that I am a good programmer ...
0
votes
0answers
157 views

Building real-time point/polyline connection in GIS

In the first instance I need to create the network by constructing the basic elements, the nodes and links. This is relatively easy work as SharpMap has provided geometry tools that allow users to ...
1
vote
1answer
67 views

problem with arcgis Sample : Custom vertex editing commands

please i downloaded this sample : http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Sample_Custom_vertex_editing_commands/0001000002pz000000/ it's a Dynamic Link Library. ...
0
votes
0answers
20 views

Programmatically download NED, Landcover, etc. data from USGS [duplicate]

What are my current options for downloading geodata (NED, landcover, etc.) from the USGS programmatically?
1
vote
1answer
27 views

Link two Google Earth frames to mirror each other

I have a webpage with two Google Earth Frames side by side. Is there a way to link the two together so when I zoom or pan in one frame, it is mirrored in the other? Thanks.
5
votes
2answers
1k 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". ...
3
votes
3answers
301 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 ...
0
votes
1answer
89 views

Openlayers selection

Is it possible to select a polygon from a predefined Lat & Lon programmatically? eg location point: x='1234' y='5678' intersects polygon '1234', therefore SELECT POLYGON '1234' So far I have ...
0
votes
1answer
109 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 ...
10
votes
2answers
324 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 ...
2
votes
2answers
978 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 ...
10
votes
8answers
4k 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 ...