1
vote
1answer
116 views

'setExtent' on vector layer not working?

As pre my requirement I want to set layer extent after drawing all the features. May some feature not visible after applying setExtent() function(this is my requirement). But it's not working. It's ...
1
vote
1answer
296 views

How to add multiple cartodb layers in viz.json to a leaflet layer control

I have create a visualisation in cartodb with 4 layers. The resulting viz.json is added to a leaflet map as follows: cartodb.createLayer(cartomap, [url], {https:true}) ...
0
votes
0answers
7 views

Using layer file to apply symbology to shapefile with ArcPy?

I have code that doesn't work at the moment: # Import arcpy module import arcpy # Script arguments Input = arcpy.GetParameterAsText(0) if Input == '#' or not Input: Input = "frame" # provide a ...
0
votes
1answer
260 views

How to edit feature in sqlserver geodatabase

I am using arcmap 10.2.1 and arcobject 10.2.1,I just want to conncet to a geodatabase and edit,add,delete a feature from a feature class using arcobject,I tried to connect to database and it works ...
0
votes
0answers
6 views

Lat/Long not projecting with shape file in qgis

For reference I am new (as in a few hours of messing around) to GIS. I have a shape file/accompany projection files ect: CURRENT.prj CURRENT.shx CURRENT.shp CURRENT.dbf CURRENT.sbx CURRENT.sbn I ...
0
votes
0answers
8 views

Error 999999 “The table already exists” “No spatial reference exists” when using “import arcserver”

I'm hoping someone can help me understand why I'm getting this error. I have a python script tool that throws this error when it is run through the task scheduler: Traceback (most recent call ...
0
votes
0answers
2 views

send attribute from 75,000 object polygon to 20Mil point database

I have sql server 2008 r2. I have two tables: PropertyParameters and REF_GEOID. Property Parameters has four columns: PropertyID, ParcelID, Lat, Long. REF_GEOID has two: GEOID and GEOM. GEOM is a ...
2
votes
2answers
386 views

From OSM to shape. Parsing problem

I'm working at OpenStreetMap project for android at the moment. I want to retrieve OSM data from my app(nodes, markers and paths) and convert it to shape file (.shp, .dbf and .shx). Later, I'll load ...
0
votes
1answer
233 views

OpenLayers3: How to reload a layer from GeoServer when underlying data change?

I have a webpage that displays a GeoTIFF served via GeoServer as an OpenLayers3 ImageWMS layer. What I need is to (via a button) reload the OL3 layer after the underlying GeoTIFF changes. I searched ...
3
votes
0answers
27 views

Remote sensing for Nepal Earthquake

Greetings from a tent in kathmandu. To any experts who can provide remote sensing data that can help assess impact and damage of nepal earthquake we really need your help to ensure aid is well ...
0
votes
2answers
727 views

Explode clusters of overlapping points in ArcGIS Javascript API

In my map application built on ESRI's javascript API there are a number of points that share a lat/long. I need a way to allow the user to see all of the points at a specific location by exploding ...
4
votes
2answers
672 views

Point clustering only works for part of an area?

I am using the 3rd party scripts for point clustering as published by Globoserve, http://globoserve.posterous.com/ . I followed the instructions to the letter - and just replaced the queryTask ...
1
vote
0answers
4 views

Network Analsyis Closest facility ArcGIS 10.3 where incidents and facilities are the same points

I have about 3800 facilities nationwide and am trying to determine the nearest facility to each one by driving distance. This is similar to a near analysis but using a road network to determine ...
0
votes
1answer
19 views

How Does Ogr2Ogr Simplify Work?

Can someone explain how the ogr2ogr simplify works? I am trying to use raster data which has a spectral resolution of 30m. The vector file that I am trying to import into Google Fusion is large in ...
1
vote
1answer
23 views

How to convert from .shp to .csv using python and either gdal_translate of ogr2ogr

I am trying to convert .shp files to csv using either gdal_translate or ogr2ogr and python but its not work. if i run the following from qgis its not giving an error but at the same time its not ...
1
vote
1answer
806 views

GPS Coordinates to WKID 102100

I'm currently creating a project for ios and I'm using the latest ArcGIS IOS api. I have a mapView that is using the spatial reference skid 102100 and i am receiving lat long coordinates from an ...
1
vote
0answers
49 views

Add Rasters to a new GDB/Mosaic Dataset in ArcGIS ModelBuilder

I'm attempting to add rasters to a new mosaic dataset in a new file geodatabase, all in the same model. However, the Add Rasters To Mosaic Dataset tool does not recognize the NewMosaicDataset or the ...
2
votes
2answers
46 views

Extract from raster by tightest rectangle mask without Nodata

I'm using ArcMap 10.2.2 and I have a raster that has Nodata around the edges. How can I extract the tightest rectangle from this raster that does not include Nodata? The screenshot may help ...
1
vote
0answers
7 views

Creating a Network Dataset

I need some basic instructions on how to create a network dataset in ArcMap 10.1. I do realize there are esri tutorials out there but I'm having difficulty understanding everything. I'm just looking ...
0
votes
0answers
3 views

Shapefile imports appears without error until saved as map then disappears

I imported shapefile for 1942 European Borders obtained from Geocommons. After adding missing .prj, import was successful. Dataset looks clean in both table and map, but when I save the dataset as a ...
0
votes
1answer
11 views

Select Elements tool not working in ArcGIS for Desktop?

I recently installed a copy of ArcGIS 10.2 on my personal laptop at home. I'm a bit of a novice user. I've connected the right folder on my desktop and been able to add shapefiles to my map. ...
1
vote
1answer
192 views

Problem executing Mean Shift Segmentation

I have a problem executing the Mean Shift Segmentation in QGIS with Orfeo Toolbox. I put all the parameter to execute and then, nearly 5s after appear the message that SEXTANTE could not open the ...
3
votes
0answers
20 views

Project location on a (great circle) path

I've been searching this SE site for quite a few hours now, and I'm still struggling to find a solution to my question. My goal is that given a way in OSM and my location (lat/lon coordinates), I want ...
2
votes
0answers
13 views

open custom property page on double click on the drawn line ArcObjects?

I am able to open a custom property page with the mouseup event of graphic line. but when I again double click the line, it obviously opens the default property page. which i dont want. I am using ...
0
votes
0answers
6 views

Creating KMZ files from QGis using GarminCustomMap plugin

I am new to GIS and QGIS, and really lost with some basic QGIS concepts. I have installed the GarminCustomMaps plugin, and by usign the default plug-in settings I am able to generate a single tile of ...
4
votes
1answer
819 views

GeoTools WFS Feature retrieval

I am trying to use geotools to retrieve the list of features served by a WFS. I am following the tutorial provided at http://docs.geotools.org/latest/userguide/library/data/wfs.html. The code that I ...
0
votes
1answer
128 views

Problem with adding placemark from kml file with specific id

I have a problem with adding a vector layer from kml file. I am trying to make XMLHttpRequest and add only a placemark with specific id. Nothing is displaying on the map. Request is successful and ...
3
votes
1answer
32 views

Reading and plotting shapefiles with a custom function in R?

I have this piece of code that want to turn into a function r<-readShapeSpatial("roads") b<-readShapeSpatial("buildings") lc<-readShapeSpatial("landcover.shp") here is the preparation ...
4
votes
1answer
4k views

How to add field in attribute table using ArcPy?

I have researched How to add attribute field to existing Shapefile via Python without ArcGIS? but could not implement it. Can give me examples of how to add field name in attribute table? I have ...
15
votes
4answers
8k views

How to add attribute field to existing Shapefile via Python without ArcGIS?

I have a Python script that adds an attribute field to a Shapefile if doesn't exist. This is easy to do with ArcGIS (graphically or via Python), but I'm looking for something that doesn't depend on ...
8
votes
3answers
10k views

How to create shapefile from lat/long values using ArcPy?

How can I create a shapefile using Python in ArcGIS 10? I have lat & long. From this I need Python code which will create a shapefile in ArcGIS Desktop 10.
1
vote
0answers
13 views

Action on group of features from layer in QGIS?

I need to implement a rename action on a selected group of features in a certain order. The idea is that I would rename one feature and then select the features that are 'next in line' and execute a ...
0
votes
0answers
3 views

Viewshed and Raster Value

I'm doing a research project on some petroglyph sites in the United States and am having issues with trying to represent viewshed data on ArcMap 10.3 for desktop. I ran the visibility from the toolbox ...
1
vote
1answer
304 views

gdal2tiles doesn't use resampling method correct?

I'm using gdal2tiles to create tiles from MODIS satellite imagery (250 m resolution) and I have noticed that I get the same bad result if I use -r near or -r bilinear (or lanczos for that matter). See ...
0
votes
0answers
16 views

How to create dissolved buffers in QGIS with PostgreSQL/PostGIS?

Creating a dynamic buffer in QGIS I use the following query: CREATE VIEW buffer40units AS SELECT gid, st_buffer(geom,40)::geometry(polygon, 31492) AS geom FROM point; Now I want to dissolve ...
0
votes
1answer
11 views

How to setup GDAL setting for python using OSGEO4W?

I have installed OSGEO4W installer. In that I have installed Express Desktop install option. QGIS GDAL uDig and GRASS GIS were installed in C:/OSGEO4W64. I have added 'C:/OSGEO4W64/bin' in the path. ...
4
votes
1answer
936 views

How to calculate stream order from vector data in ArcGIS 10

I know that NVision Solutions has a tool for calculating stream order from vector hydrography data for ArcGIS 9.3.1. Is there something similar that works with ArcGIS 10?
1
vote
0answers
7 views

How to fit Google Earth satellite image to UK OS 50 DEM

I have extracted a DEM tile from the UK Ordnance Survey's free OS Terrain 50 dataset The tile contains spot heights for a grid comprising 51 nodes (West to East) by 51 nodes (North to South) with ...
3
votes
1answer
45 views

System of units for latitude, longitude

Let us say that I would like to store latitudes and longitudes like this: lat 35 degree long 80 degree Which system of units does the unit 'degree' belong to? It is not really a SI unit nor a ...
2
votes
1answer
499 views

Using osm2pgsql data with pgrouting 2.0

I have successfully manage to make the workshop from of pgrouting (wrote for v1) with pgrouting v2. Now I want to use pgrouting 2 on my postgis database created with osm2pgsql. The problem is first ...
1
vote
2answers
13 views

How to transfer large amount of OSM data to postgis using osm2pgsql?

I am new to using Openstreetmap data and PostGIS database. I learned how to use osm2pgsql and transferred osm data for a small city to PostGIS database and worked fine. The problem is that when I try ...
3
votes
2answers
3k views

How to convert a bing maps quadkey to mercator coordinates

How do you convert a bing maps quad key, such as "03200320023" to coordinates in mercator virtual earth (epsg 3857) coordinate system? I've got an algorithm to convert to coordinates in latitude ...
1
vote
1answer
122 views

GeoDjango error: Only numeric values of degree units are allowed on geographic DWithin queries

I'm trying to get N points within 5000 meters of a certain point. My database is Postgres(PostGIS). I have a model like this: class Theatre(models.Model): geom = models.PointField(srid=4326, ...
3
votes
1answer
47 views

LiDAR GUI tool for selecting and saving groups of points?

I'm working in a small group that is processing LiDAR data with some custom code. We need to see how well our stuff is working so we need samples of "truth" data that we can compare our output ...
1
vote
0answers
7 views

How to catch mouse-over event on dynamic service layer

I need to fetch as IMAGE, the results of querying/filtering the data of a layer. So, I decided to use the dynamic service layer. I can use the identify task to so as to show an infobox containing ...
0
votes
2answers
400 views

Measure average distance between two lines with common endpoints

I have two shapefiles, each with a set of lines generated from start and end points. One shapefile has the straight lines generated from the XY To Line tool, while the other has lines generated from a ...
4
votes
1answer
429 views

How can I make a Postgres/PostGIS ST_Distance_sphere query more efficient?

Within Postgres/PostGIS I have written an SQL query to get the closest distance for each element within a point coordinate table from a polyline table. The query comes back and works correctly, but ...
0
votes
1answer
27 views

Calculate area intersected areas, problem

(I'm working in QuantamGIS) I intersected two layers creating a new layer. Within the attibute table of this new intersect layer i would like to calculate the new areas. However, it just doesn't ...
1
vote
1answer
28 views

assigning random points to unique values

I have generated random points in qgis and would like to assign the value of their geometry to a unique column in another table. I would like to do this in qgis or postgres or spatialite. Table A ...
6
votes
1answer
392 views

How To Do OpenLayers.Mobile Popup

It seems that the OpenLayers.mobile.js library (v 2.12) doesn't have a popup class. Does anyone know how to do a popup with the mobile version? I'm using some code that i ported over form normal OL ...

15 30 50 per page