The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
37 views

What is a simple python code to practice with in arcgis? [closed]

I am trying to familiarize myself with python code. Could someone give me a simple code with an explanation of what it does so I can practice? Or a few codes with explanations if you have the time
-1
votes
0answers
23 views

What is the best technology stack to read in VPF data?

We currently have requirements to read in and display VPF data. My question is does anyone have any great products that they use for reading, and displaying vpf that can be used as an API rather than ...
1
vote
2answers
57 views

Does QGIS support dynamic display?

I'm a new developer of QGIS using C++. I am working on a project which needs to display dynamic maps/layers(just like GPS, but it is not GPS, however it should display data alike GPS data - dynamic ...
1
vote
1answer
21 views

PyQgis Message Bar Woes [closed]

Having a bit of trouble with the basics of getting the (awesomely discreet) new user prompt/warning to properly display. Here is the (troubled) code I am using: self.iface ... ...
1
vote
1answer
65 views

Executing tool comes back with an error arcpy.JoinField_management

I have this script snippet, written by Aaron. import arcpy import os #set workspace arcpy.env.workspace = "C:\\Users\\Documents\\Wetland\\New_Folder" #in the folder "New_Folder" is a geodatabase ...
1
vote
2answers
47 views

Set parameter of field from number to string with python

since I realised python is a very useful tool in ArcMap I dont want to do any workarounds anymore. I have a field with is numeric, but I want to perform this calculation in the field calculator on it ...
2
votes
1answer
82 views

What methods exist for geohash of polygon?

GeoHash is an excellent method to code the latitude and longitude of a point into a string. It's concise, due to the use of numbers + letters, and the precision can be tuned adding characters at the ...
0
votes
0answers
18 views

Shape file generation [duplicate]

Is it possible to generate a shape file with lines and polygons using only the image for which it has to be generated ? I need the lines,polygons feautres of the shape file in an algorithm which i am ...
-1
votes
1answer
154 views

how to calculate area of triangles formed by delaunay triangulation

After applying delaunay triangulation 160 triangles were formed and i need to calculate the area of each triangles. Kindly help us please.
-3
votes
1answer
46 views

Is there a function when using Select by attributes, to select only the continents' annotations?

Annotations beginning with character "C" refers to continents and I want to select only these annotations.
0
votes
0answers
57 views

Moving a Google Map Marker on a Mac

I have exact lat & long coordinates that I will enter and hit return in Google maps. When I do this it displays this point with a green marker on the map but I can not move this marker. I want to ...
2
votes
0answers
129 views

From where can i download WKT files for US zip codes? [duplicate]

From where can i download WKT files for US zip codes ?? i need to plot zip code boundary on a map using open layers
0
votes
0answers
28 views

It is possible to invoke PostGIS internal function within new PostgreSQL user-defined function in C?

I have fuction f() and function ST_Area() for example. Can I invoke ST_Area() in the body of my function f()? Function f() is written in C. The code might look like this: #include "postgres.h" ...
1
vote
1answer
625 views

How to loop through all columns in a table/layer getting all data for a row/feature in MapBasic?

I'm trying to extend this GNU-licensed plugin MI2SVG, which converts MapInfo maps to SVG, so that it writes associated table data into the SVG it creates, so that browser based JS web applications can ...
3
votes
1answer
126 views

How to center the map based on some (x,y) in QGIS?

I want to center and recenter the map loaded on QGIS using constantly changing (x,Y) Point. How should I do this using some code? My GPS device will write (x,y) to a text file. From there I get (x,y) ...
0
votes
0answers
105 views

Why doesn't this simple OpenLayers code work?

The problem is that when I create a new shape and add it to the layer and programmatically select the new shape, I cannot unselect that shape using the mouse unless I either click the shape or click a ...
0
votes
1answer
106 views

Code-Point Polygon Data and Google Maps

I'm currently working with OS Code-point polygons and google maps coordinates. I have google maps point coordinates for a list of houses which are located at the center of each full postcode ...
1
vote
1answer
435 views

Trying to run raster calculator to build an expression for ls factor

I am trying to run a raster calculator, but it failed. I believe that ArcGIS 10 does not understand when I use the variable resolution. What do I need to put in its place? I took the equation from ...
0
votes
0answers
180 views

Issues when importing line shapefiles into NetworkX

Note that although I am using Python Console from within QGIS for this, I don't think it's a QGIS issue. Below is the difference of how NetworkX is dealing with 2 line layers created by the same ...
1
vote
3answers
1k views

ArcGIS Server geoprocessing service examples for shapefile data export

I have a web application client built using ArcGIS Server Manager which is currently showing a single map composed by three data layers. The map data are provided as a map service by my ArcGIS Server ...
4
votes
1answer
356 views

Notepad++ syntax highlighting support for .mapfiles?

I was looking for a language definition for mapserver ".map" files in Notepad++ but could not find anything. Is there anyone who can recommend / has such a file? an already defined one? If not, is ...
2
votes
4answers
2k views

How can you auto-populate field using spatial location of another feature and its attributes?

I want to auto-populate a field based on the spatial location of another feature's attribute. Add a point on top of a building. The point automatically adds the name of the building. This seems like ...
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 ...
0
votes
1answer
78 views

Code for case change in text field

I have a field of street names in all caps. Some of the names begin with numbers i.e. 9TH ST. I need to put the names into proper case. I've tried various versions of code but they haven't worked. I ...
2
votes
1answer
919 views

Problem with layer order in OpenLayers and Google styled maps

I'm using OpenLayers with Google styled maps. My biggest problem is KML polygon layer which needs to be under roads layer but it isn't (see prtscr). What am I doing wrong? This is my coding: ...
8
votes
4answers
258 views

Subset Folder Contents ArcPy

I have about 1500 .txt files within a folder named 3410001ne => 3809962sw. I need to subset about 470 of these files to process with a Python script. Below is the section of code prior to my for ...
1
vote
1answer
2k views

Add Attritube Field to Combo Box on Form

I am trying to create a user box that: When the button on the toolbar is clicked, a user form appears with a combo box filled in with a feature's location (Taken from the attribute table - such as ...
2
votes
1answer
430 views

The minimum bounding circle of geometry that crosses the 180th meridian

Background: I've been given a task where I have to calculate the minimum bounding circle of Alaska (for the purpose of running a Roeck test). I'm using the Census' state level geometries available ...
2
votes
3answers
3k views

Code to convert WGS84 coordinates to British National Grid Easting/Northings

I'm looking for some code, ideally C#, to convert a WGS84 coordinate to British National Grid Easting and Northings. Does anyone have this to hand? I tried converting the Javascript code here: ...
1
vote
1answer
331 views

Shell script commands

I have this shell script: #!/bin/sh r.mapcalc water = 120 d.rast water i=1 while [ $i != 100 ] do n=1 while [ $n != 10 ] do r.mapcalc < water.mapcalc d.rast ...