All Questions
156,380
questions
16
votes
4
answers
13k
views
Calculating the distance between a point and a virtual line of two lat/lngs
Please refer to the example and corresponding image.
I would like to achieve the following: provide two locations (lat/lng), which are shown below as A and B. From this, a virtual line would be drawn ...
1
vote
1
answer
2k
views
removeAllFeatures + destroyFeatures too much?
I'm doing the following in my code and am wondering if it's too much or is there any benefit?
myLayer.removeAllFeatures();
myLayer.destroyFeatures();
Reference:
http://dev....
3
votes
1
answer
164
views
Refreshing ArcIMS service with ArcObjects
Does anyone know if it is possible to refresh an ArcIMS service with ArcObjects and if so do you have a nice code snippet? :)
I think it might have something to do with interface IIMSAxlRequest - but ...
32
votes
6
answers
74k
views
Spatial resolution of Google Earth Imagery
What is the spatial resolution of imagery used in Google Earth? At various places on the web, I have been reading it varies from place to place - 60 cm, 2.5 m, 15 m and so on. I was wondering if there ...
4
votes
0
answers
997
views
How to use Route Task in Network analysis tools [closed]
I am using esri network analysis tool and I just want to draw the path between two clicked point on the map (by using route task)
I use the example code block in the following link
http://help....
7
votes
3
answers
10k
views
Seeking books for learning ArcGIS Desktop?
I was wondering what book(s) is/are available for learning ArcGIS Desktop functionality.
I would like to use one in conjunction with books on the theory of GIS since even though I can understand the ...
-2
votes
1
answer
717
views
Geonames query for Alabama Cities does not bring two biggest cities
I have this query:
http://api.geonames.org/search?featureCode=PPL&username=genadinik&country=US&style=full&adminCode1=AL&maxRows=100
Which brings back the most populated cities ...
1
vote
1
answer
4k
views
How do I download tracks from the GARMIN GPSMAP 78 usin DNRGarmin?
I have been able to download waypoints to DNRGarmin by accessing the GPX file. However, I have only been able to view waypoints.
How can I download tracks?
5
votes
2
answers
5k
views
In the Symbology Properties of an ArcGIS layer, why is the count sometimes not shown?
Sometimes the count column does populate for me, but most times it does not seem to. I haven't been able to figure out a rhyme or reason to it. There is no definition query or anything out of the ...
2
votes
2
answers
160
views
Can't get correct number of populated places for a place
I am trying to get a number of populated places for example for Andorra since it is a small number. Here is a geonames site with 10 places:
http://www.geonames.org/AD/largest-cities-in-andorra.html
...
3
votes
1
answer
887
views
Understanding why ArcSDE FeatureLayer is read only and FeatureTypes property is null?
I have a WPF FeatureLayer backed by an ArcSDE 10 feature class that I hope to use for editing. After the layer is done initializing its readOnly property is true, I think that this points to some ...
4
votes
1
answer
6k
views
Casting a Geography type in PostGIS
I have the following table defined, which uses PostGIS geography.
CREATE TABLE test_geog (
id SERIAL PRIMARY KEY,
boundary GEOGRAPHY(Polygon)
);
I added the following test polygon to the ...
40
votes
5
answers
28k
views
Joining attributes from nearest point in QGIS?
I have two layers with points, call them A and B, each with different attributes.
For each point in A I want to join all the attributes from the nearest point in B.
Ideally this would also include a ...
6
votes
2
answers
1k
views
matplotlib does not work in ArcGIS 10 and Eclipse (Python)
I have installed matplotlib (v. 1.0.1) which works with iPython quite good.
But if I insert the same script in ArcGIS 10 or Eclipse 3.7.0 (with PyDev) I get always errors. As I consider to use ...
6
votes
1
answer
1k
views
Toggle Identify with Button
I am attempting to set up an Identify button that will only allow the identify functionality to be performed when the button is pressed. I have gotten to the point that the identify only works when ...
7
votes
6
answers
8k
views
Is there a way to disable code autocomplete in the Python window in ArcGIS 10.0
Autocomplete slows down my workflow in the Python window, especially if I am remoted into a machine.
Is there a way to disable this?
Alternatively, a way to disable this and then invoke as needed (...
7
votes
1
answer
3k
views
ArcMap Field Calculator syntax (again)
I'm trying to string together a field calculator script that will populate all the records of a field at once based upon values in a number of fields. I can't even get the first part of the command ...
9
votes
1
answer
202
views
How to get the contributors on OpenStreetMap
I have put my osm file in base thanks to osm2pgsql and I am looking for a way to get the contributor list. I have searched in my database and haven't found so much... and the osm wiki about the ...
4
votes
3
answers
3k
views
Change the size of an OpenLayers.Control.OverviewMap
I create my OpenLayers.Control.OverviewMap with a given size but I would like to change it when certain conditions are met. I have tried two approaches with no luck...
My first try was just changing ...
7
votes
1
answer
3k
views
Determine the UTM zone/hemisphere in a particular datum
I'm using GDAL to convert coordinates from one system (geographic or projected) to another.
Assume I want to convert geographic coordinates (latitude and longitude) in the WGS84 datum, to UTM ...
36
votes
5
answers
19k
views
Identifying clusters in vector point data using QGIS?
I have a vector dataset of rural broadband data-points (how fast, etc.) and I'd like to explore if there are clusters of points with similar characteristics, and to plot polygons encompassing them.
...
1
vote
1
answer
414
views
Defining custom projection for moving all objects on X and Y coordinates
I have a map project wih layers in WGS1984 UTM projection. I also have a bunch of layers without .prj files. When I add it on top of my layers, it's placed with a huge offset on X and Y coordinates ...
24
votes
4
answers
38k
views
Running Python scripts (with parameters) within another Python script with ArcPy?
A common coding pattern used in AML was to run an AML (with parameters) inside another AML.
An application that I'm currently developing would benefit from being able to run a Python script (with ...
3
votes
2
answers
157
views
earthquake effects on total station surveys
What I have been wondering is whether an earthquake can affect a closed system survey. We are using Leica TCR 307s and TCR 407s and I was wondering if an earthquake can throw off your fixed points if ...
2
votes
3
answers
2k
views
Restricting zoom levels based on Bing Map availability?
My site is built on ArcGIS Server 10 with the JavaScript API 2.3, and uses Bing Maps as the background mapping. Although the site is aimed at NSW, Australia we allow the user to zoom anywhere in the ...
3
votes
4
answers
13k
views
Avoiding Raster to Shapefile (Polygon) errors 000863 and 000308?
Have you experienced converting a polygon from raster? The raster dataset is a satellite image created from zonal statistics? The problem is when I was converting the raster to polygon errors came out ...
4
votes
1
answer
4k
views
Stream Gradient - two types - using NHD high resolution data
I need to calculate slope, or stream gradient, two different ways:
Main channel slope from the pour point to the head/source point along the vector stream network
a local slope consisting of 100 ...
7
votes
3
answers
373
views
Changing a coded Domain to no codes
If we have coded domains in the geodatabase model, what are any disadvantages to changing the codes to the Description. For example:
Existing Coded Domain:
Code, Description
1, Single Family ...
2
votes
1
answer
255
views
Display LiDAR data in E00 (interchange file) on maps
I have Lidar data in E00 files (interchange files). Can I overlay them on some maps like say Bing maps or Geoserver with OpenLayers?
If yes, what is the right way of doing it?
5
votes
3
answers
2k
views
How can I have ArcGIS not automatically add raster clip output from Python window to the current map
I have a collection of rasters that I'm writing code to automate clipping based on a user defined shapefile. I am currently doing this in the Python window using the following as the main processing ...
4
votes
1
answer
354
views
Selecting points within 2 buffers?
I have 2 huge files of points (hundreds of thousands of points). I need to determine a way to loop through all the points in one file and find all the points in the second file that are only a ...
0
votes
0
answers
245
views
Seeking list of web mapping programs [duplicate]
Can someone give me some links with some list of web mapping programs?
5
votes
2
answers
3k
views
dwg from ArcGIS to Autocad 2012
I haven't used CAD in years and am quite rusty about its features. But a client who uses CAD has been experiencing difficulty lining up *dwg files exported from ArcGIS in their CAD workspace. How can ...
3
votes
2
answers
1k
views
App using ArcGis Engine throws error at customers
I developed a program using the ArcGIS Engine 10.0. On my development computer it runs nicely, but when I deploy the binary to the customer computer the program throws an exception when trying to ...
3
votes
2
answers
886
views
Count the number of segments of a polygon based on the angles
I wish to count the number of segments of a polygon that has a length less than 25 meters when the angle between two vertices is not close to 180 degrees i.e. if the angle is between 178 to 182 ...
10
votes
1
answer
6k
views
Help with PostGIS polygon geometry - non-closed rings
I've picked up a copy of the super-wicked book 'Python Geospatial Development' by Erik Westra (Amazon link), and I'm working through it. Currently, it's teaching me to load GSHHS coastline data from a ...
0
votes
1
answer
553
views
NDVI image value
In order to get monthly NDVI image with max value from two 16 day-images, I used mosaick tool in ERDAS8.7 by choosing max function from "set overlap function" tool. But after doing this, when I see ...
3
votes
1
answer
650
views
How to get first, most current coordinate in GeoCoordinateWatcher?
It seems like when I have an app that uses a GeoCoordinateWatcher and I attempt to get the first coordinate, it always pulls the last coordinate that the GPS used first when raising the ...
3
votes
1
answer
130
views
Incorrect GeoCoordinate at Random
Sometimes when the device is pulling coordinates with the GeoPositionAccuracy set to High and the MovementThreshold set to 0, the GeoCoordinate that is captured is further away and not inline with the ...
2
votes
2
answers
1k
views
Zoom to see entire MapLayer in Bing Maps
If I have a MapLayer that I'm applying to Bing Maps where I have a list of coordinates, how can I zoom to see the full MapLayer (dynamically zoom to the proper size) and toggle between seeing the ...
11
votes
7
answers
9k
views
Register SDE view and Layer
I'm building simple views against an ArcSDE Oracle RAC 10g. My SHAPE columns are of SDO_GEOMETRY datatype. ArcSDE 9.3.1.
I have several point tables, with the following outline:
ID (Guid)
Name (...
1
vote
2
answers
807
views
FeatureLayer Scale Settings in ArcGIS Silverlight API
Is there a way to translating between resolution and scale in the ArcGIS Silverlight API?
I am dynamically adding a Feature Layer to my map which should have a Min Scale value of 10,000. The feature ...
2
votes
1
answer
163
views
Using ESRI Python's Geoprocessor Via mod_python
I am working on a number of geoprocessing services to be accessed solely by web clients. The traditional method of encapsulating this type of stuff in toolboxes and then publishing the toolbox just ...
4
votes
2
answers
1k
views
Stylized map workflow: Illustrator to Google Maps / OpenLayers
The aim My current aim is to create a series of (heavily) stylized diagrams and maps. I'm not very familiar with any GIS software, so my weapon of choice would be to use illustrator for creating the ...
5
votes
1
answer
298
views
Does Google Earth Builder support server-side geoprocessing?
Is there a feature in Google Earth Builder that supports server-side geoprocessing?
For example, say I upload two large geo datasets to Google's cloud: one with lots of points and another with lots ...
3
votes
1
answer
918
views
Why won't this simple raster layer in my mapfile show up?
I am trying to get a simple raster layer to work on MapServer. I am not exactly going to be using geographic data, but I want to "georeference" multiple rasters together to create a map-like interface....
12
votes
4
answers
1k
views
Open Street Map and PostgreSQL what do I exactly need?
I make my first steps in the GIS world and everything is very new for me even if I work on a "huge" project (ie: for a single programmer) very related to maps.
My project needs to know informations ...
6
votes
1
answer
5k
views
Is there an event fired when a kml layer has finished loading in google maps?
Is there an event fired when a kml layer has finished loading in google maps?
Google maps api version 3
To add a layer I have code like:
var layer = new google.maps.KmlLayer(layerUrl, { map: map, ...
2
votes
1
answer
857
views
Web Browser ActiveX control error [duplicate]
I am getting this message (attached) that says:
An ActiveX control on this page is not safe. Your current security
settings prohibit running unsafe controls on this page. As a result
this page ...
4
votes
2
answers
1k
views
What alternatives to Orfeo are out there and what are the pros and cons of each?
I'm interested in using a library for abstracting the common, repeatable tasks that entail the usage of GDAL (like registiring a driver, getting bands.. etc). In general, GDAL is "low-level" and most ...