0
votes
0answers
6 views

VB to Python for Labeling in ArcGIS 10.2.1

I am really new to Python and do not understand VB. I need to convert this VB script to Python. I think it may take me a few weeks to figure out but if someone helps me I would be grateful. The code ...
0
votes
0answers
2 views

gdalwarp hdf problem

I am working with some hdf files. The following command works on my Mac. command = gdalwarp -of GTIFF -tr 1000 1000 -tps -s_srs "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs " -t_srs ...
0
votes
1answer
3 views

fit point with raster data figure out those points belong to, and add column and row to represent it in ArcGIS 10.2.2

I have an X-Y point data file, with which has latitude and longitude. I'd like to be fit it with the raster data, then add column and row data on the X-Y point data file. first i created the attribute ...
2
votes
1answer
10 views

Does GDAL has any substitute function for the ExtractByMask in arcpy

I am now using arcpy: arcpy.sa.ExtractByMask(weight_raster,elev) both weight_raster and elev are raster data in different size. I want to use functions in GDAL to replace this arcpy methods. Does ...
0
votes
0answers
3 views

Troubleshooting a few missing shapefiles on Google Fusion Tables

I downloaded a set of election precinct shapefiles from the Clark County Nevada website and converted them using shpescape.com into KML files for Google maps. Now I'm trying to troubleshoot why a few ...
1
vote
1answer
15 views

Checking whether Spatial Reference is Projected Coordinate System using ArcPy?

I'm modifying CreateFishnet in ArcGIS 10.1 using python.. I want to ask the user to input a projected coordinate as spatial reference. How can I check if the user didn't put geographic coordinate by ...
0
votes
1answer
7 views

Creating new raster based on spatial extent and classes of one raster and average of another using ArcMap?

I have a raster that is split into classes and I wanted to make a new raster with this rasters spatial extent and classes but displays the averages from a different raster. I am not really sure how to ...
1
vote
0answers
4 views

Using statisticdefintion in a querytask

I have a question about using QueryTask to accomplish to jobs: Identify unique value for a county in a graphics layer via mouseover. This unique county value (from a specified field) is used to ...
0
votes
1answer
11 views

Copying the numeric portion of an address to a new field

I'm attempting to copy just the numeric portion of a street address into a new table using the Field Calculator in QGIS. The expression I'm trying to use is: left( "SITE_ADDR", strpos( "SITE_ADDR", ...
0
votes
0answers
7 views

QGIS crash when I try print geometry

I do (It`s work): from osgeo import ogr inputds = ogr.Open(r'c:\temp.shp') inputlyr = inputds .GetLayer() for i,feature in enumerate(inputlyr): print i, feature.GetGeometryRef() but when I try ...
0
votes
0answers
8 views

How to get linestringe from kml into shp or postgis [duplicate]

Im looking into extracting linestrings from a kml file into a shp file or postgis db. Each linestring would be a feature/row. How would I go about it usinge ogr2ogr or python? I'd like to get ...
0
votes
0answers
9 views

How to save geopackage gpkg file with QGIS

I read about the new geopackage file which shall have the potential to be the shapefile of the future. But i can't find a way to save a file in QGIS as gpkg. In ArcGIS it might be possible. I would ...
2
votes
0answers
10 views

How to edit metadata in QGIS

What possibilities exist to edit metadata in QGIS? I did only find the plugin Metatools which is experimental and did not work for me.
0
votes
1answer
10 views

How do I create a local web GIS server using Node.js?

This is a question related to my other question OpenLayers/jQuery without CDN?. I was looking to copy a minimal set of files on js/css files to replace online CDNs, so that I can run a test server on ...
1
vote
2answers
29 views

Create fishnet grid in QGIS

I've been looking around the different plugins for QGIS, but was unable to find one to which would do the equivalent task of Create Fishnet in ArcGIS. Anybody have recommendations for creating a ...
1
vote
0answers
14 views

ArcObjects — How to tell if an event is already wired up

Using Visual Studio 2010 C# and ArcMap 10.1. In a custom ArcObjects extension, a bunch of events are wired up at startup. For example, this simple standard code chunk: IEditEvents_Event ...
0
votes
0answers
12 views

QGIS - Creating a regular grid that follows contours/elevation/altitude?

I am hoping that someone may be able to help please? I am currently using QGIS to try and prepare a series of equally spaced sampling points within various individual NVC vectors in the UK. ...
0
votes
1answer
13 views

leaflet and Dojo

I apologize in advance if this is not the correct forum to ask my question. I have an web map application developed using the Dojo framework. However I would like to create the same web map ...
0
votes
1answer
8 views

How to get the z(elevation) value from a rendered map at webgl(Qgis2threejs plug-in)?

I am interested at getting the z value at any lat and long i want. For example i have made a 3D map using Qgis2threejs plug-in and it showed the map rendered using three.js library. The elevation ...
1
vote
0answers
9 views

Python problem during CADInput installation

I was trying to install CADInput (version 0.60) on 2.4 Chugiak and 2.6 Brighton as well. In both cases I got an eror message during installation. For me the following extract of that message might ...
1
vote
2answers
43 views

Finding the “bad value” in text file row

I have a text file that I am trying to bring into ArcMap to convert to a shapefile. I am familiar with the process of bringing in the text file and then using the "Display XY Data" tool and exporting ...
1
vote
0answers
5 views

Gdal+Geos point in polygon test fails under MinGW64

I have to build a grid of points and remove the points that falls inside a polygon. Polygons are defined in a ESRI shapefile, points are in a list. This is how I make the test: OGRLayer *layer = ...
-1
votes
0answers
18 views

how to create a Grid shp in arcgis 10.2.2 [on hold]

I'm using arcgis 10.2.2 I have a shp road, and I need to create a Grid shp starting my shp road do not know how to do this
0
votes
2answers
28 views

How to ensure lines are closed?

I often use closed lines to cut polygons on another layer. When a line is not closed the cutting operation fails. Is there an out-of-the-box tool that can easily tell me that a line is not closed ...
0
votes
1answer
12 views

Loading data from shapefiles into specific feature classes

I am trying to bulk load a collection of shapefiles into empty feature classes in ArcMap 10.2. The issue here is that the names of the shapefiles and the feature classes need to match up. Is there ...
0
votes
0answers
2 views

OpenLayers.Layer.ArcGIS93Rest in Firefox (openlayers 2)

There appears to be an error when using OpenLayers.Layer.ArcGIS93Rest in firefox (works fine in chrome) where the request is aborted. No explanation of why. If I plug the token directly into the url, ...
1
vote
0answers
11 views

Converting pre-ADF coverages to current shapefiles?

I have a set of old coverage files, published at 1995-1996 in a CDROM by an official mapping authority. They were, therefore, made with ArcView 1.x and don't have the ".adf" extension. The files that ...
-2
votes
0answers
14 views

Need help with Print Task function

I'm submitting my job and get this response.. ...
1
vote
1answer
23 views

QGIS calculates main soil type of polygons from another polygon layer

I've been working with qgis for a while but somehow I never fiured this out, so I thought it's time to ask. I have 2 shapefiles. a polygon layer from nearby fields (SHAPE1 (the red outlines)) a ...
0
votes
1answer
24 views

copy only selected with CopyFeature_management

I am trying to test if each feature of a feature class list intersect each feature of a shapefile (clip layer). I'm working with arcpy in ArcGIS 10.0 The arcgis desktop help says that if the feature ...
1
vote
1answer
16 views

Seeking finer points of slope statistics within set of polygons?

Do not mark as duplicate please.. I have a few questions related to finding slope statistics (min, max, mean, standard deviation) of slopes (1-meter LiDAR DEM derived) within a set of polygons ...
0
votes
0answers
13 views

Delete shapefile object

I have a shapefile layer which comprises of a series of lines which represent archaeological features. I cannot delete individual lines as the delete button is greyed out. Is there a way for me to ...
1
vote
1answer
28 views

How to remove spaces in only the top row in excel?

I want to clean up some data that's having trouble importing into Arc. I want to know a way to clear spaces in only the top row in excel. Sometimes there is one hidden before or after the row name ...
0
votes
0answers
14 views

GML code with two objects

I have two objects to encode in GML: A road (Name: E22, Type: Motorway, Geometry: Line) A municipality (Name: Lund, Inhabitants: 100 000, Geometry: Polygon) My code is writen as below. Can ...
2
votes
1answer
48 views

How to query values from a list in Python?

I have a list like this... list = ['1','2','3','4'] how can I use arcpy.Select_analysis to select features that have the attributes in the list. qry = '"SECDIVNO" IN ' + str(tuple(list)) ...
1
vote
1answer
12 views

How to select a line from a osm shape by osm_id

I'm using TileMill to make a map, but I can't seem to be able to format a specific item with a specific osm_id via mss. I have a shape file added as a layer #line: Then, in the features list of ...
1
vote
1answer
19 views

QGIS Plugin to add point to map without creating a file

I am looking for a QGIS Plugin to add a point to the map by entering it's coordinates. The point should only be there temporarily (as long as the QGIs project is open) and not be saved in a file.
2
votes
1answer
27 views

Determining date or time Feature Class was created in File Geodatabase?

I had a script running at the office over the last 5 days and tried to remote on unsuccessfully since the 3rd day. I got here and it appears there was a power outage. Is there a way to find out the ...
2
votes
2answers
21 views

Creating my own slippy map from GeoTIFF images

I have a Linux server, about 16 Gb of aerial photography files in GeoTIFF format and orders to set up a slippy map web application. This doesn't need to display anything from other data sources at the ...
1
vote
0answers
8 views

How to get bounds coords by center LatLng point, width and height in pixels and zoom?

I have to calculate bounds coordinates to query mongodb box on server side to get data before google maps is loaded. How can I get four LatLng corners by center LatLng point, window width and height ...
0
votes
0answers
14 views

QGIS 2.4.0 Setting raster layer to singlebandpseudocolor using minimum and maximum raster values

I am using QGIS Chugiak 2.4.0, and I have some code in which I want to: Add raster layer to map canvas Look for the minimum and maximum raster value Apply singleband pseudocolor render type for the ...
3
votes
1answer
37 views

Clipping cross-sections by flood area using ArcGIS for Desktop?

I have a problem with clipping cross-sections by flood area. I have source cross-sections that goes beyond the flood area: When I clipped it by "Clip" tool I have this: But I needs this: It ...
2
votes
0answers
51 views

Why do each of my buffer-polygons have different areas

I`m using Qgis 2.2 and 2.4 and loaded a wms-map using the coordinate system ERTS89 UTM 32N. I set 8 points (all in on shp-fileand in UTM 32N) on various locations on the map. After that i created a ...
0
votes
0answers
9 views

Using attributes in the label of print composer

In QGIS 2.6 I have a problem similar to this post How to set field values as labels in QGIS2 Print Composer in that I want a label box in print composer to display the attributes of the first feature ...
0
votes
0answers
3 views

image size has been increased after i.atcorr

i have compiled i.atcorr and run for different data sets. the problem is, it is writing the output 4times of input image. i checked for data types, they are fine. i am not able to catch where exactly ...
1
vote
1answer
26 views

What is the expression for getting a subset of characters in QGIS Field Calculator?

I have a column of 10 character names e.g. L3NAM1988K. How can I delete the first 5 characters and the last 1 character using an expression in the QGis Field Calculator?
6
votes
2answers
102 views

Including labels in map legend and point symbology of ArcGIS for Desktop?

I've been using gis.stackexchange for some time already and time has come for me to ask my first question here. I have point feature class with habitat types. There are two important attribute ...
0
votes
0answers
12 views

Openlayers GetFeatureInfo not working all zoom levels

I am sending GetFeatureInfo request to wms service. My parameter is like this. When I click to map, map click event is firing and I am sending this request to server. var params = { ...
0
votes
0answers
19 views

GeoServer data directory migration is not working?

I have an Ubuntu server with a clean installation of Geoserver 2.5 and would like to migrate the data from an old Fedora server with Geoserver 2.2. I am following the instructions here and my steps ...
1
vote
0answers
20 views

Connecting Oracle Linux database to AcGIS 10 on windows PC

I am wondering if anyone has tried to connect from ArcGIS 10, to an oracle database stored on a Linux server? I have no problems connecting to oracle from Arc when the data is stored on a windows box, ...

15 30 50 per page