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

learn more… | top users | synonyms

3
votes
0answers
31 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 ...
0
votes
1answer
36 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
27 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
64 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
102 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 ...
1
vote
1answer
46 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: ...
1
vote
0answers
45 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 ...
2
votes
1answer
36 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 ...
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 ...
0
votes
0answers
12 views

Saving large volumes of .grd and .dat files automatically on Surfer 8?

Here's our data: we have air sample measurements for every hour for two complete years. All measurements are in one large .csv database. Our task: Each hourly measurement for two years needs to be ...
1
vote
1answer
49 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 ...
1
vote
1answer
38 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 ...
5
votes
2answers
210 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 ...
0
votes
1answer
110 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
57 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 ...
0
votes
1answer
170 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
68 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 ...
0
votes
0answers
119 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
50 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
19 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
23 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
853 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
231 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
81 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
87 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 ...
2
votes
2answers
850 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
3k 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 ...
0
votes
0answers
204 views

What is the easiest way to calculate borehole deviation?

Does anyone know if there was a program or specific method (calculations) in order to create a deviation value based on querying specific geological and drilling variables?
10
votes
2answers
296 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 ...
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
0answers
92 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 ...
5
votes
1answer
160 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 ...
2
votes
1answer
61 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
1answer
33 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 ...
1
vote
1answer
50 views

Prompting Dialogue Box to Have User Enter Information? Without ArcGIS Engine maybe?

Working with the ArcGIS family v10.1 on Windows 7. So, I have this vision for a GIS project that does the following: User opens up ArcGIS Explorer (ideally) or ArcMap (still fine), or I guess even ...
1
vote
1answer
197 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 ...
7
votes
2answers
3k 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 ...
2
votes
2answers
534 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. ...
8
votes
3answers
1k 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 ...
2
votes
2answers
2k 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 ...
4
votes
1answer
981 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 ...
3
votes
1answer
595 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 ...
4
votes
1answer
874 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 ...
1
vote
2answers
3k views

Some Help to select some features from a vector layer

I have a vector layer (kml) that has some point with scientific name of plants and animals, some description of the place where the people saw them and the coordinates. Basically the table associated ...
7
votes
1answer
216 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 ...
4
votes
1answer
327 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 ...
6
votes
3answers
370 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 ...
1
vote
4answers
636 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 ...
7
votes
2answers
589 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 ...
4
votes
0answers
295 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 ...