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

learn more… | top users | synonyms

-3
votes
0answers
25 views

Debugging error message fet mb:64 “unrecognized command”?

I use the below example to compile , it occurs error message fet mb:64 "unrecognized command" it seem have problem as following sentence oSite2 = OffSet(oSite, Bearing1, Dist1, "m") What ...
0
votes
0answers
3 views

vector histogram tool creates crash dump

every time i try to use the vector histogram tool the whole qgis program crashes. I was usiing 2.8 64 bit then deinstalled and installed 32 bit that didnt work so i reinstalled 2.14 64 bit and the ...
0
votes
0answers
35 views

Starting with GIS For Developers? [duplicate]

I'm a programmer, and I'll probably have to write code for some kind of a Geoserver based platform. (probably will have to maintain the server too). My knowledge in geography is (shamefully) quite ...
1
vote
0answers
30 views

GDAL compilation to .NET (C#) use

I want compile GDAL library for use in C# program. I use Microsoft Visual Studio 2013. First, I compiled GDAL C++. As a result I have DLLs and libraries (No problems) . Next, I tried to compile with ...
0
votes
1answer
14 views

Update Multiple Records with Unique Values [closed]

I'm looking for a way to programmatically update multiple records in attribute tables. The information to be updated for each record is unique. History of Problem: Datafile names were truncated at ...
1
vote
0answers
27 views

Best way to get max distance between a pair of nodes in a static set

I need to find the maximum distance between a set of nodes (given Lon/Lat coords). Currently, I'm looping through every combination of node and if the distance between those two nodes is greater than ...
2
votes
1answer
103 views

Remove features inside a feature in shapefile using python (UNION, CONTAINS methods)

I have created a shape file from raster. The shapefile was generated using contours detection. I am in the process of automating feature detection using python and open source libraries such as ...
4
votes
1answer
127 views

Implementing NNJoin in Python

I am curious to know on how to implement NNJoin into the python code. I have created a point shapefile using shapely. I have another shapefile which is a centerline and is used as a reference line. ...
1
vote
0answers
19 views

Local Maxima (or Pour Point) Pixel Value extract in Raster

I am doing watershed & pourpoint using python GDAL. I have calculated Fill, Flow-Direction & Flow-Accumulation using Python & GDAL. The next is to get Pour Point in certain window ...
1
vote
1answer
365 views

Where I can find API for Countries, States, Cities and airports

I'm looking for an API or data source (or multiple sources) that provide the following information: Countries Information: ISO code, Region, Capital, population, languages, currencies and climate. ...
1
vote
0answers
58 views

How to rearrange FID numeration programmatically

I've got a feature class Now, I delete the selected features programmatically using pFeature.Delete : Is there any command or function in VBA which rearranges the FID field and makes the ...
1
vote
1answer
51 views

Can't fill the attribute table programmatically

I've got a shp-file, here is it's attribute table: It's easy to fill the attribute table of some pFeature programmatically if I get the feature from cursor: For example, "RECNO" Field(3) has a ...
0
votes
1answer
53 views

OS Web GIS for a travel blog [duplicate]

I have had this idea for years now and would finally like to fulfil it! I was always bothered by text-heavy travel blogs. Therefore, I aim to have a Web-GIS based travel blog in two years time. The ...
1
vote
0answers
43 views

Dividing points into Polygons based on an Attribute of that point and its relative distance to other points and a facility

I have random point data (school locations) that I need to divide into 'n' polygons (regions) based on: their distance to a facility, their relative distance to each other, and an attribute of that ...
0
votes
0answers
26 views

Connecting 1 point to many points following a route

I am using ArcGIS 10.2 Basic. Is there a way of connecting 1 point (A end point) to many other points (B end points) but following an existing line/route. The B end points all have a field that ...
0
votes
2answers
126 views

How to fill combo box of a form with the map layers name

While writing the code for adding all the layers in arcmap into combobox of a form, I am getting the error: 'Bestaurents.frmRestaurentviewer' does not contain a definition for cmblayer and no ...
1
vote
0answers
75 views

Disable right click “Open attribute Table” in ArcMap using arcObjects

I have a requirement on the ongoing project to allow the tables to be accessed by only the users with right privileges. So I am looking for methods to disable adding tables to view programmatically. I ...
2
votes
1answer
108 views

How to correctly use ArcObjects to search or to obtain a count (IQueryFilter) from a selection set?

This only appears to be an issue with Personal Geodatabases (MS Access back end)... I need to search within an existing selection set to populate an ICursor. My main objective is to test whether my ...
1
vote
3answers
1k views

Getting all vertex lat, long coordinates every 1 meter between two known points using PHP?

I am currently using php to try and write code that will take a start point and end point latitude and longitude coordinate pair in decimal degrees and calculate the latitude and longitude of every ...
0
votes
0answers
25 views

How to make coincident a vector layer and a bitmap constructed from Google map tiles using programming

I can make a bitmap file from tiles that I receive from Google map using X_Tile,Y_Tile and Google map zoom parameters successfully.First I use a vector layer to find map extent in UTM,so I have ...
0
votes
0answers
43 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 ? I'...
1
vote
1answer
180 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 ...
0
votes
3answers
712 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 ...
2
votes
2answers
664 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 ...
1
vote
0answers
63 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: ...
2
votes
2answers
252 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
1answer
57 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
3k 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, document....
2
votes
0answers
78 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 ...
4
votes
1answer
640 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
168 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 lat/...
1
vote
0answers
84 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 ...
3
votes
1answer
251 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
413 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 ...
5
votes
1answer
613 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: osr....
1
vote
0answers
156 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
213 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
36 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
164 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
131 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
3answers
587 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
284 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
77 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
358 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
108 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
223 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
79 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
21 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
30 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
2k 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". ...